Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Active Directory Administration Cookbook - Second Edition

You're reading from  Active Directory Administration Cookbook - Second Edition

Product type Book
Published in Jul 2022
Publisher Packt
ISBN-13 9781803242507
Pages 696 pages
Edition 2nd Edition
Languages
Author (1):
Sander Berkouwer Sander Berkouwer
Profile icon Sander Berkouwer

Table of Contents (18) Chapters

Preface Chapter 1: Optimizing Forests, Domains, and Trusts Chapter 2: Managing Domain Controllers Chapter 3: Managing Active Directory Roles and Features Chapter 4: Managing Containers and Organizational Units Chapter 5: Managing Active Directory Sites and Troubleshooting Replication Chapter 6: Managing Active Directory Users Chapter 7: Managing Active Directory Groups Chapter 8: Managing Active Directory Computers Chapter 9: Managing DNS Chapter 10: Getting the Most Out of Group Policy Chapter 11: Securing Active Directory Chapter 12: Managing Certificates Chapter 13: Managing Federation Chapter 14: Handling Authentication in a Hybrid World (AD FS, PHS, PTA, and DSSO) Chapter 15: Handling Synchronization in a Hybrid World (Azure AD Connect) Chapter 16: Hardening Azure AD Other Books You May Enjoy

Querying FSMO role placement

Follow this recipe to find out which domain controllers run which FSMO roles.

Getting ready

To query FSMO roles, sign in with a domain account.

How to do it...

To locate the domain controllers running the FSMO roles, run the following command on any domain-joined device, member server, or domain controller:

netdom.exe query fsmo

Or use the following lines of Windows PowerShell on a domain-joined system that has the Active Directory Module for Windows PowerShell installed:

Get-ADForest | Format-List DomainNamingMaster,SchemaMaster
Get-ADDomain | Format-List InfrastructureMaster,PDCEmulator,RIDMaster

You can insert the last line in a foreach loop when you have multiple domains in the forest.

How it works...

Domain controllers hold FSMO roles. Each FSMO role is automatically assigned to one domain controller. This information is stored in the Active Directory database. The information for the domain controller holding the Schema...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}