Transfer FSMO Roles using PowerShell

The Flexible single-master operations (FSMO) roles are assigned to the first domain controller in an Active Directory role. To transfer the FSMO roles to another domain controller you can use the PowerShell command below.

Latest posts by Jay Phillips (see all)

    The names of the FSMO roles may be typed out as well.

    Move-ADDirectoryServerOperationMasterRole –Identity "Target_DC_Name" –OperationMasterRole 0,1,2,3,4

    0 = PDC Emulator

    1 = RID Master

    2 = Infrastructure Master

    3 = Schema Master

    4 = Domain Naming Master

    Press Y for each or A for all.

    To verify that the roles have transferred, type the following command:

    Get-ADDomainController -Filter * | Select Name, OperationMasterRoles

    The result shows the name of domain controllers and FSMO roles assigned to them as shown in the image.

    Subscribe to 4sysops newsletter!

    View FSMO roles using PowerShell

    View FSMO roles using PowerShell


    Discussion (5)

    Leave a Reply

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

    © 4sysops 2006 - 2023


    Please ask IT administration questions in the forums. Any other messages are welcome.


    Log in with your credentials


    Forgot your details?

    Create Account