TagFSMO

Transfer or seize FSMO roles with powershell

To transfer all FSMO roles from one DC to another you can use the following line in powershell: 

Move-ADDirectoryServerOperationMasterRole -Identity “Target-DC” -OperationMasterRole SchemaMaster,RIDMaster,InfrastructureMaster,DomainNamingMaster,PDCEmulator

Replace “Target-DC” with the name of the domain controll (case sensitive)

To seize the roles, add “-Force” in the end of the command

How to find your FSMO Roles?

There are several ways to find out who has your FSMO roles in your Active Directory environment, but the easyest way is to run this:

“NetDOM /query FSMO”

Run the command from CMD or PowerShell.

If you want to user more time to find the FSMO roles use this guides 🙂

http://blogs.technet.com/b/mempson/archive/2007/11/08/how-to-find-out-who-has-your-fsmo-roles.aspx

© 2019 IdefixWiki

Theme by Anders NorénUp ↑