|
| |||||||||
| Tags: create, groups, script |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Script to create multiple groups
I have to create some 50-60 groups in AD. I found a script in the repository that I could make work for only one group. How can I change to work for multiple groups? I am also adding SAM Account and Description field. Thanks |
|
#2
| |||
| |||
| Re: Script to create multiple groups
Hello Duncan, Have a look here: http://www.enterpriseitplanet.com/re...le.php/3365201 Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. ** Please do NOT email, only reply to Newsgroups ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm > I have to create some 50-60 groups in AD. > I found a script in the repository that I could make work for only one > group. > How can I change to work for multiple groups? > I am also adding SAM Account and Description field. > > Thanks > |
|
#3
| |||
| |||
| Re: Script to create multiple groups
Meinolf, Thanks for the assist. "Meinolf Weber" wrote: > Hello Duncan, > > Have a look here: > http://www.enterpriseitplanet.com/re...le.php/3365201 > > Best regards > > Meinolf Weber > Disclaimer: This posting is provided "AS IS" with no warranties, and confers > no rights. > ** Please do NOT email, only reply to Newsgroups > ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm > > > I have to create some 50-60 groups in AD. > > I found a script in the repository that I could make work for only one > > group. > > How can I change to work for multiple groups? > > I am also adding SAM Account and Description field. > > > > Thanks > > > > > |
|
#4
| |||
| |||
| Re: Script to create multiple groups
IMPORT admod -csv -add -import < GROUPS.CSV make sure to add the correct attributes to GROUPS.CSV like: objectclass dn sAMAccountName description and everything else you need -- Cheers, (HOPEFULLY THIS INFORMATION HELPS YOU!) # Jorge de Almeida Pinto # MVP Identity & Access - Directory Services # BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx ------------------------------------------------------------------------------------------ * How to ask a question --> http://support.microsoft.com/?id=555375 ------------------------------------------------------------------------------------------ * This posting is provided "AS IS" with no warranties and confers no rights! * Always test ANY suggestion in a test environment before implementing! ------------------------------------------------------------------------------------------ ################################################# ################################################# ------------------------------------------------------------------------------------------ "Duncan" <Duncan@discussions.microsoft.com> wrote in message news:9A3BCC77-D6AB-46F5-AA9A-3FD91B372B7C@microsoft.com... >I have to create some 50-60 groups in AD. > I found a script in the repository that I could make work for only one > group. > How can I change to work for multiple groups? > > I am also adding SAM Account and Description field. > > Thanks |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Script to create multiple groups" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VB Script for all group memberships for a user Including nested groups | Pauliegaultieri | Active Directory | 1 | 24-09-2010 08:12 PM |
| Create a php script to replace a string in multiple files | KADEEM | Software Development | 4 | 23-11-2009 05:09 PM |
| Script to create multiple groups from Excel file | Cezar Wilk | Active Directory | 2 | 15-10-2009 01:56 AM |
| msn messenger multiple groups contacts | Kwee | Windows Software | 2 | 05-06-2009 11:20 PM |
| VB script - List all user groups Help | Daljeet | Software Development | 4 | 18-12-2008 07:51 PM |