How to move fsmo roles using server 2012 active directory powershell module

With server 2008/2003 we have used ntdsutil or adds gui for manage the fsmo roles, now with server 2012 we can easily manage the fsmo roles using ad power shellpowershell module.

 

1.Using netdom query fsmo command we can find out the stored location of fsmo roles in adds(also this can be done with Get-ADDomain command also)

image

 

2.In my case i have three roles in one server and two in another.now my plan is to move all the servers in to one server for second server maintenance purpose

image

i have used below mentioned power shell command for move the roles.(refer the above snap).

 

Move-ADDirectoryServerOperationMasterRole xxxdc01 –OperationMasterRole pdcemulator,ridmaster,infrastructuremaster

 

(if we are moving all five servers roles we have to add  schemamaster,domainnamingmaster to this command)

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: