Hello Technet Gallery,

 

Over the time detecting and moving FSMO roles sometimes can be boring and even a risky scenario.

Because of that I have found a script and just edited somewhere from the script above. Which you can just define your DCs and then run script in order to move FSMO roles.

After running the script and got Okey from the message box you can check your FSMO roles by running netdom get query on each DC to make sure all Roles are transfered.

 

Hope you enjoy it.