How to find FSMO Roles Holder Active Directory
In this post, I will look at two ways you can find out which Domain Controller holds the FSMO Roles.
The first option is to use CMD and run it as Administrator, then run the following cmdlet.
1 |
NETDOM /Query FSMO |
Now let’s go ahead and get the same information using PowerShell by running the following cmdlet.
The first cmdlet will get all the role related to the Active Directory Domain
1 |
Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulator |
The Second cmdlet will get all the roles related to Active Directory Forest
1 |
Get-ADForest | Select-Object DomainNamingMaster, SchemaMaster |
In a next post, I will look at how you can transfer these roles to a different domain controller.
#ThatLazyAdmin
Be First to Comment