Reading Time: < 1 minute

The following one-liner PowerShell cmdlets will allow you to Transfer the FSMO Roles or Seize them in case of a faulty and permanently offline Domain Controller.

Execute the following cmdlets using from an elevated PowerShell Prompt.

#Transfer a single FSMO Role (PDCEmulator in this example)
Move-ADDirectoryServerOperationMasterRole -Identity "Target-DC" -OperationMasterRole PDCEmulator

#Transfer all FSMO Roles
Move-ADDirectoryServerOperationMasterRole -Identity "Target-DC" -OperationMasterRole SchemaMaster, DomainNamingMaster, InfrastructureMaster, PDCEmulator, RIDMaster

#Seizing all FSMO Roles from a Faulty or Permanently Offline Domain Controller
Move-ADDirectoryServerOperationMasterRole -Identity "Target-DC" -OperationMasterRole SchemaMaster, DomainNamingMaster, InfrastructureMaster, PDCEmulator, RIDMaster -Force

Thanks for reading!