Transfer FSMO roles via PowerShell

Login to Current FSMO master To view current master in powershell Get-ADDomainController -Filter * | Select-Object Name, Domain, Forest, OperationMasterRoles | Where-Object {$_.OperationMasterRoles} To Move FSMO Roles Move-ADDirectoryServerOperationMasterRole -Identity -OperationMasterRole pdcemulator, ridmaster, infrastructuremaster, schemamaster, domainnamingmaster Verify Move Get-ADDomainController -Filter * | Select-Object Name, Domain, Forest, OperationMasterRoles | Where-Object {$_.OperationMasterRoles}