Results 1 to 2 of 2

Thread: Script to create multiple groups

  1. #1
    Join Date
    Oct 2004
    Posts
    65

    Script to create multiple groups

    Hi, I’m running a server where I need to create about 50 to 60 groups in my Active Directory. During workout I found a script in the repository that I could make work for only one group. That fine but I wanted to know how can I change it to work for multiple groups if possible? I have also added SAM Account and Description field. Any help would be appreciated.

  2. #2
    Join Date
    Sep 2004
    Posts
    73

    Re: Script to create multiple groups

    Hello Saphire, just try out the following:

    IMPORT
    admod -csv -add -import < GROUPS.CSV

    Here ensure to add the correct attributes to GROUPS.CSV. For example:
    objectclass
    dn
    sAMAccountName
    description

    Or whatever you need.

Similar Threads

  1. Users in multiple groups different permission levels
    By imagecko2 in forum Active Directory
    Replies: 1
    Last Post: 20-06-2012, 04:15 PM
  2. Replies: 6
    Last Post: 01-02-2011, 04:56 PM
  3. Create a php script to replace a string in multiple files
    By KADEEM in forum Software Development
    Replies: 4
    Last Post: 23-11-2009, 05:39 PM
  4. msn messenger multiple groups contacts
    By Kwee in forum Windows Software
    Replies: 2
    Last Post: 05-06-2009, 10:50 PM
  5. VB script - List all user groups Help
    By Daljeet in forum Software Development
    Replies: 4
    Last Post: 18-12-2008, 08:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,638,405,704.01350 seconds with 17 queries