Active Directory: Move FSMO roles with PowerShell

When moving FSMO roles the old fashioned way, you use MMC and move the roles each individually, it takes a little time, but it’s somewhat troublesome.

BUT, this can be achieved much quicker with Powershell đŸ™‚

Here is how to transfer all 5 FSMO roles:

Move-ADDirectoryServerOperationMasterRole -Identity DC01 –OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMaster

Where “DC01” above is the TARGET DC.

Check with netdom command afterwards:



2 thoughts on “Active Directory: Move FSMO roles with PowerShell

  1. Can this Powershell be run for target DC in the event the current FSMO DC server is down due to a disaster ?

    Nice article nevertheless.

    Thank You.

    1. Thanks for writing đŸ˜‰

      It’s a little complicated, but it can be done, try searching for “seize fsmo roles” on Google đŸ˜‰

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.