gaddam01
asked on
Group Members
Hi,
We are using Windows server 2003 domain controllers. I have a group named GLGUKUsers with Distinguished name CN=GLGUKUsers,OU=LGUK,OU=G L,OU=Group s,DC=domai n name. I have another group GLGUKGpoULogonLGUKUsers with Distinguished name CN=GLGUKGpoULogonLGUKUsers ,OU=LGUK,O U=GL,OU=Gr oups,DC=do main name.
I need copy all the users form the group GLGUKUsers to GLGUKGpoULogonLGUKUsers. Is there any script or command to this for me?
Becuase the group contains around 1500 users and I need copy all the users to the new group.
Please suggest me how to do this.
Thanks in Advance.
We are using Windows server 2003 domain controllers. I have a group named GLGUKUsers with Distinguished name CN=GLGUKUsers,OU=LGUK,OU=G
I need copy all the users form the group GLGUKUsers to GLGUKGpoULogonLGUKUsers. Is there any script or command to this for me?
Becuase the group contains around 1500 users and I need copy all the users to the new group.
Please suggest me how to do this.
Thanks in Advance.
Take a look on this: https://www.experts-exchange.com/questions/24413096/Copy-users-from-one-group-to-another-in-Active-Directory.html
You can use powershell and the Quest AD cmdlets.
get-qadgroupmember GLGUKUsers -sizelimit 0 | Foreach { add-qadgroupmember GLGUKGpoULogonLGUKUsers $_}
get-qadgroupmember GLGUKUsers -sizelimit 0 | Foreach { add-qadgroupmember GLGUKGpoULogonLGUKUsers $_}
ASKER
Thanks for the reply. But I don't have any knowledge on Power shell. Please provide any VB Script or any Built in Commands in AD itself.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Take a look at what clonyxlro posted. that uses the DS commands. But I would suggest you start looking at powershell.