?
Solved

Group Members

Posted on 2011-09-22
5
Medium Priority
?
177 Views
Last Modified: 2012-05-12
Hi,

We are using Windows server 2003 domain controllers. I have a group named GLGUKUsers with Distinguished name CN=GLGUKUsers,OU=LGUK,OU=GL,OU=Groups,DC=domain name. I have another group GLGUKGpoULogonLGUKUsers with Distinguished name CN=GLGUKGpoULogonLGUKUsers,OU=LGUK,OU=GL,OU=Groups,DC=domain 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.
0
Comment
Question by:gaddam01
  • 2
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Stelian Stan
ID: 36580042
0
 
LVL 27

Expert Comment

by:KenMcF
ID: 36580050
You can use powershell and the Quest AD cmdlets.

get-qadgroupmember GLGUKUsers -sizelimit 0 | Foreach { add-qadgroupmember GLGUKGpoULogonLGUKUsers $_}
0
 

Author Comment

by:gaddam01
ID: 36581004
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.
0
 
LVL 23

Accepted Solution

by:
Stelian Stan earned 2000 total points
ID: 36581023
0
 
LVL 27

Expert Comment

by:KenMcF
ID: 36581026
Take a look at what clonyxlro posted. that uses the DS commands. But I would suggest you start looking at powershell.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question