?
Solved

Group Members

Posted on 2011-09-22
5
Medium Priority
?
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Let's recap what we learned from yesterday's Skyport Systems webinar.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

765 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