Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

Listar, Transferir e efetuar o "Seize" dos FSMO Role Holders através do PowerShell

$
0
0

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 - http://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


Viewing all articles
Browse latest Browse all 36188

Trending Articles