Freigeben über


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

Preview - https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-87/1512.PowerShell_5F00_FSMO_5F00_Roles_5F00_Setup.png

PowerShell_FSMO_Roles_Setup.mp4