http://windowstricks.in/

We've moved from ganesh-windowstricks.blogspot.in to windowstricks.in,please update your feeds & links!

How to add all members of one group to the other group

19 June 2009

Command to add members of one group to the other group (Group migration)

If you want to add all the members from group1 to the group2 user the below command

syntex:

dsget group "Source group DN" -members | dsmod group "Destination group DN" -addmbr

Example:

dsget group "CN=Group1,OU=Test,DC=test,DC=com" -members |
dsmod group "CN=Group2,OU=Test,DC=Test,DC=com"
-addmbr

Related Articles

Check the below link to find the group DN

how to find the ldap path

Related Articles

List active directory group members

Health check active directory

Force the Active Directory replication between two domain controllers in low bandwidth sites

Force replication with all of its replication partners

How to check Active directory replication for multiple Domain Controllers

ldap path

Force active directory replication

Share this . . .

0 comments:

Post a Comment

Copyright   © 2014 - www.Windowstricks.in - all rights reserved | Powered by Blogger | Blogger template The Beach by Ourblogtemplates.com

Back to TOP