Listar, Transferir e efetuar o "Seize" dos FSMO Role Holders através do PowerShell
Comandos de PowerShell que devem ser executados de modo a listar, transferir ou efectuar o "Seize" dos FSMO Role Holders (Exemplo para o domínio contoso.com).
Listar:
> Get-ADForest contoso.com | Format-Table SchemaMaster,DomainNamingMaster
> Get-ADDomain contoso.com | Format-Table RIDMaster,InfrastructureMaster,PDCEmulator
Transferir:
> Move-ADDirectoryServerOperationMasterRole -Identity ADRESLAB3 -OperationMasterRole SchemaMaster,DomainNamingMaster,RIDMaster,InfrastructureMaster,PDCEmulator (Neste exemplo o DC de destino é o ADRESLAB3)
"Seize":
> Move-ADDirectoryServerOperationMasterRole -Identity ADRESLAB3 -OperationMasterRole SchemaMaster,DomainNamingMaster,RIDMaster,InfrastructureMaster,PDCEmulator -Force