Wednesday, 8 October 2014

Migrating and Seizing Active Directory Flexible Single Master Operation (FSMO) Roles with PowerShell in WIndows Server 2012 R2

I know that there another hundred blogs with this information on them, I have posted it here so that I do not need to scramble about looking for the correct syntax the next time I need to do this.

Move-ADDirectoryServerOperationMasterRole -Identity "NewDCName" -OperationMasterRole SchemaMaster,RIDMaster,InfrastructureMaster,DomainNamingMaster,PDCEmulator

Move-ADDirectoryServerOperationMasterRole -Identity "NewDCName" -OperationMasterRole SchemaMaster,RIDMaster,InfrastructureMaster,DomainNamingMaster,PDCEmulator -Force

Netdom query fsmo