Solved

Group Members

Posted on 2011-09-22
5
169 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 500 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

773 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