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.
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.