Wednesday, March 19, 2014

PowerShell to Discover the Holders of Active Directory FSMO Roles

FSMO roles always been one of the most hot topics of every interview I have ever been. Even for Exchange Server interviews. Knowing the FSMO roles makes your job easy and understanding Active Directory for sure keeps your place in Exchange world safer.

If you need refresher for the FSMO Just take a look at this question. Considering having single FOREST if you have 12 domains, how many FSMO roles in total exist ? Id your answer is not 38 then you need the refresher (-: and here id nice summary Why do We Need FSMO Roles

You can quickly Fire up CMD and type

NetDom Query FSMO


Or you can open PowerShell

$Domain = Get-ADDomain | select -ExpandProperty Name


Get-ADDomain $Domain | fl PDCEmulator,RIDMaster,InfrastructureMaster


Or here is the simple script can show you the FSMO roles for your Domain Name Space


Stay tuned until next time.

Best regards,
Oz Casey , Dedeal
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
Http:// (Blog)
Http:// (Blog

No comments: