Solved

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

Posted on 2011-03-25
6
903 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
Comment Utility
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
Comment Utility
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
Comment Utility
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:siber1
Comment Utility
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
Comment Utility
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
Comment Utility
thanks. I'll research the ds commands in more detail
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scripting 6 52
PCI scan - CIFS NULL Session Permitted 10 28
Folder NTFS Permissions 14 66
How to make an ADE file by code? 11 35
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now