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

Re: Script to create multiple groups by Meinolf

Meinolf
Tue Aug 05 14:42:29 PDT 2008

Hello Duncan,

Have a look here:
http://www.enterpriseitplanet.com/resources/scripts_win/article.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
>



Re: Script to create multiple groups by Duncan

Duncan
Thu Aug 07 09:44:02 PDT 2008

Meinolf,

Thanks for the assist.

"Meinolf Weber" wrote:

> Hello Duncan,
>
> Have a look here:
> http://www.enterpriseitplanet.com/resources/scripts_win/article.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
> >
>
>
>

Re: Script to create multiple groups by Jorge

Jorge
Mon Aug 18 11:21:25 PDT 2008

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