PS C:\Users\administrator> Move-ADDirectoryServerOperationMasterRole -Identity NBDC01 -OperationMasterRole SchemaMaster
Move Operation Master Role
Do you want to move role 'SchemaMaster' to server 'NBDC01.test.local' ?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
PS C:\Users\edert> netdom query fsmo
Schema master NBDC01.test.local
Domain naming master FRDC02.test.local
PDC FRDC02.test.local
RID pool manager FRDC02.test.local
Infrastructure master FRDC02.test.local
The command completed successfully.