MsExchange Blog Spot Telnet25

March 19, 2014

PowerShell to Discover the Holders of Active Directory FSMO Roles

Filed under: General — telnet25 @ 10:05 pm

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


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: