I know that there another hundred blogs with this information on them, I have posted it here so that I do not need to scramble about looking for the correct syntax the next time I need to do this.
Move-ADDirectoryServerOperationMasterRole
-Identity "NewDCName" -OperationMasterRole
SchemaMaster,RIDMaster,InfrastructureMaster,DomainNamingMaster,PDCEmulator
|
Move-ADDirectoryServerOperationMasterRole
-Identity "NewDCName" -OperationMasterRole
SchemaMaster,RIDMaster,InfrastructureMaster,DomainNamingMaster,PDCEmulator
-Force
|
Netdom
query fsmo
|