API Reference
Command
Move-ADXFSMORole
Moves FSMO roles to a different domain controller.
Examples
Example 1: Preview moving RID and PDC roles to a new primary domain controller
Move-ADXFSMORole -Role RidRole, PdcRole -Target 'dc-02.contoso.com' -WhatIf
Example 2: Seize the infrastructure role during a recovery operation
Move-ADXFSMORole -Role InfrastructureRole -Target 'dc-dr-01.contoso.com' -Seize -Confirm:$false
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Move-ADXFSMORole -Role <SchemaRole|NamingRole|PdcRole|RidRole|InfrastructureRole> -Target <string> [-Mover <FsmoRoleMover>] [-Seize] [<CommonParameters>]#Parameters
- Role ActiveDirectoryRole[]
- FSMO roles to move. Possible values: SchemaRole, NamingRole, PdcRole, RidRole, InfrastructureRole
- Possible values:
SchemaRole,NamingRole,PdcRole,RidRole,InfrastructureRole - Target string
- Target domain controller.
- Mover FsmoRoleMover
- Custom FSMO mover used for testing.
- Seize SwitchParameter
- Force seizure of the role if transfer fails.
Outputs
ADPlayground.PowerShell.FsmoRoleMoveResult