Change FSMO roles with Powershell

I just added new domain controllers (2012 R2) to my domain.

And was looking for powershell options to migrate my FSMO roles.
Well here it is!


Perhaps you will receive the following error:
Move-ADDirectoryServerOperationMasterRole : Access is denied
At line:1 char:42
+ Move-ADDirectoryServerOperationMasterRole <<<<  -Identity “DC02” -OperationMa
sterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMa
    + CategoryInfo          : NotSpecified: (Microsoft.Activ…DirectoryServer
   :ADDirectoryServer) [Move-ADDirector…ationMasterRole], ADException
    + FullyQualifiedErrorId : Access is denied,Microsoft.ActiveDirectory.Manag

Your user does not have the correct permissions. Your user must be Enterprise Admin of be a member of the Schema admin group.

About the Author


No Comments

Comments are closed.