[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Group Members

Posted on 2011-09-22
5
Medium Priority
?
176 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

650 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