How To Move FSMO Roles via PowerShell

  • Post author:
  • Post category:Microsoft

Run the following from a command prompt to see which DCs hold the FSMO roles.

netdom query fsmo

Run the following from PowerShell to migrate all FSMO roles to the domain controller named DC1. Change the name to fit your situation. There is no downtime.

Move-ADDirectoryServerOperationMasterRole “DC1” –OperationMasterRole 0,1,2,3,4

Jason

Jason works as a project specialist at an IT MSP in Pennsylvania, USA. He's an IT/security professional with 20 years experience.