Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 935
  • Last Modified:

looking for an easy way to bulk create 100+ Active directory groups and populate with members

hi, does anyone know of an easy way to bulk create over 100 active directory security and distribution groups and add members to each group via script?

thanks in advance!

S.
0
siber1
Asked:
siber1
  • 3
  • 3
1 Solution
 
azeempatelCommented:
You will have to use powershell, below is the link.

http://exchangepedia.com/2006/11/exchange-server-2007-bulk-creation-of-mailboxes-using-exchange-management-shell.html

just create excel with the 1st cell as the parameters in the script and below will be the value like
-alias $_.alias  (in this case script will take the cell alias as the alias of the account created.)

0
 
siber1Author Commented:
thanks but my question was: [creating groups and populating membership] via script:

does anyone know of an easy way to bulk create over 100 active directory security and distribution groups and add members to each group via script?
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
siber1Author Commented:
thanks, but creating bulk accounts is not a problem. there are many ways to do this. what i am looking for  is a scripted way to bulk create 100's of groups and populate with members.
0
 
azeempatelCommented:
Dude these are scriptable tools use accordingly to create your script. you will have to put some efforts to create script as per your requirement. Thats all you can get

0
 
siber1Author Commented:
thanks. I'll research the ds commands in more detail
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now