Moving FSMO roles via PS


Move-ADDirectoryServerOperationMasterRole -Identity "DESTINATION DC" -OperationMasterRole 0,1,2,3,4

You have the option here to specify a numerical value or specifying the role itself. See below for the number assoicated to each roles. You could input each role, or as I did, just input the number(s).

To verify the FSMO roles have been transferred, run the netdom query fsmo command.

netdom query fsmo

https://social.technet.microsoft.com/wiki/contents/articles/6736.move-transfering-or-seizing-fsmo-roles-with-ad-powershell-command-to-another-domain-controller.aspx

https://technet.microsoft.com/en-us/library/ee617229.aspx

Seizing and transfer FSMO roles:

Transferring or Seizing PDC Emulator role

Transferring Command syntax:

Move-ADDirectoryServerOperationMasterRole -Identity “Target-DC” -OperationMasterRole PDCEmulator

(OR)
Move-ADDirectoryServerOperationMasterRole -Identity “Target-DC” -OperationMasterRole 0

Seizing Command syntax:

Move-ADDirectoryServerOperationMasterRole -Identity “Target-DC” -OperationMasterRole PDCEmulator -Force

(OR)
Move-ADDirectoryServerOperationMasterRole -Identity “Target-DC” -OperationMasterRole 0 -Force

 

Role Name Number
PDCEmulator 0
RIDMaster 1
InfrastructureMaster 2
SchemaMaster 3
DomainNamingMaster 4
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: