Solved

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

Posted on 2011-03-25
6
918 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
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 tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

734 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