Link to home
Start Free TrialLog 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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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