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:

Done!

2 Comments

  1. Kashef

    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.

    Reply
    1. Martin (Post author)

      Thanks for writing đŸ˜‰

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

      Reply

Leave a Comment

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.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close