Link to home
Start Free TrialLog in
Avatar of Michael Leonard
Michael LeonardFlag for United States of America

asked on

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.
Avatar of Azeem Patel
Azeem Patel
Flag of Canada image

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.)

Avatar of Michael Leonard

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Azeem Patel
Azeem Patel
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
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

thanks. I'll research the ds commands in more detail