Populating group membership from csv file
I need to create a new Distribution Group with ~400 members. (User accounts already exist.) I have a csv file with all the users' DN's. Can anyone tell me the best way to add the 400 users? dsmod group -addmbr? csvde? ldifde? Thank you in advance - Eric.
April 25th, 2008 6:40pm
Try this one, Powershell and Quest AD CMDLets combination...
$File ="UsersDN.csv"$Group = Get-QADGroup -Identity "Your Group Name"
Import-Csv -Path $File | ForEach-Object {
Add-QADGroupMember -Identity $Group.DN -Member $_.DN }
Free Windows Admin Tool Kit Click here and download it now
April 25th, 2008 7:43pm