Easily Check your FSMO Role Holders

Easily Check your FSMO Role Holders

In my experience the quickest way to check on which domain controllers your FSMO roles are hosted on is by using PowerShell. Without getting too elaborate and trying to create any sort of fancy report, there's just two simple cmdlets you need to know, and they're pretty easy to remember.

To run these commands you need to have the Active Directory module installed.

Get-ADForest


PS > Import-Module ActiveDirectory
PS > Get-ADForest tenit.us |FT SchemaMaster,DomainNamingMaster

SchemaMaster        DomainNamingMaster

------------        ------------------
dc02.tenit.us       dc01.tenit.us


Save $10 on the new Quicken 2015 Home & Business + Free Shipping!

Get-ADDomain

Since there is a PDC Emulator, Infrastructure Master and RID Master located in each domain, you'll use the Get-ADDomain cmdlet, to see which servers hold those FSMO roles.

PS > Get-ADDomain tenit.us |FT PDCEmulator,InfrastructureMaster,RIDMaster


PDCEmulator InfrastructureMaster RIDMaster

----------- -------------------- ---------

dc01.tenit.us dc01.tenit.us dc01.tenit.us

So you can see how this can be useful in a small environment. You don't have to try to remember NTDSUTIL commands, or launch Sites & Services and Active Directory Users & Computers.


PowerShell, Windows, Active Directory, Administration

No comments :

Post a Comment