Solved

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

Posted on 2011-03-25
6
911 Views
Last Modified: 2012-05-11
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
Comment
Question by:siber1
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:azeempatel
ID: 35220828
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
 

Author Comment

by:siber1
ID: 35222375
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
 
LVL 4

Accepted Solution

by:
azeempatel earned 500 total points
ID: 35222634
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:siber1
ID: 35222646
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
 
LVL 4

Expert Comment

by:azeempatel
ID: 35222667
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
 

Author Closing Comment

by:siber1
ID: 35222908
thanks. I'll research the ds commands in more detail
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
A procedure for exporting installed hotfix details of remote computers using powershell
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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