cmd
netdom query FSMO
PowerShell
Get-ADForest domain.com| ft DomainNamingMaster, SchemaMaster
Get-ADDomain domain.com | ft InfrastructureMaster, PDCEmulator, RIDMaster
Move FSMO Roles
Move-ADDirectoryServerOperationMasterRole -Identity NewDC -OperationMasterRole 0,1,2,3,4
If the current role holder is permanently offline
Move-ADDirectoryServerOperationMasterRole -Identity NewDC -OperationMasterRole 0,1,2,3,4 -Force