Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Script to add existing AD users to a group

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 22-12-2009
Member
 
Join Date: Jun 2008
Location: Nairobi, Kenya
Posts: 17
Script to add existing AD users to a group

I am working in a environment with 4500 AD users.
we have 2K3 and 2K8 DCs. I would like to craete two groups, one comprising 1500 users and the other with 1900 users. The users are currently existing in AD but I have to assign them to these new groups.
I kindly request for a script that will assist me populate these groups with users.
I have the lists of the users in two separate excel lists.
Kindly assist
Reply With Quote
  #2  
Old 26-05-2011
Member
 
Join Date: Jun 2009
Posts: 1,208
Re: Script to add existing AD users to a group

Uou can not do it directly in batch, it must pass through the vbs or another language that can handle WMI. There are some sample scripts on internet that you can try on. And if you are looking for some kind of very easy job then there are ready to use tools that can help you out for that. You can use them to add users to the existing group and make your work done. Scripting sometime can cause bugs in the working.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Script to add existing AD users to a group"
Thread Thread Starter Forum Replies Last Post
Script to add existing AD users to a group tnai9 Active Directory 5 28-12-2009 01:48 PM
copying users form one group to a new group Johan deheugden Active Directory 4 28-10-2009 06:05 PM
ADMT 3.0 Users Migration: Fix Users' Group Memberships stopped working Jason Windows Server Help 11 05-12-2008 01:14 PM
script to add multple users to local admin group on servers tdubb Windows Server Help 1 21-03-2008 06:16 AM
Add users to Group via Script - [WP] WILDPACKET Active Directory 9 30-01-2008 12:30 AM


All times are GMT +5.5. The time now is 11:02 PM.