Link to home
Create AccountLog in
Avatar of passion420
passion420

asked on

Find roles for each domain controller

Hello Experts,

Any commands or way to find these five roles for a Domain Controller mentioned in the article below?
http://www.petri.co.il/understanding_fsmo_roles_in_ad.htm#

Roles:
1. Schema Master
2. Domain Naming Master
3. Infracstructure Master
4. Relative Id Master
5. PDC Emulator

Thanks for your help.
ASKER CERTIFIED SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
netdom /query fsmo /d sms.edu will query the entire domain for the roles

To retrieve the FSMO roles from the command line we can use dsquery command:
dsquery server –hasfsmo Schema  
dsquery server –hasfsmo Name
dsquery server –hasfsmo Infr
dsquery server –hasfsmo PDC
dsquery server –hasfsmo RID

OR use below command
netdom query fsmo

OR refer below link  five  methods are given to check the FSMO role.
http://www.petri.co.il/determining_fsmo_role_holders.htm





Avatar of passion420
passion420

ASKER

Used this artciel to find fsmo roles. will assign points to this acrticle