Add users to AD Group

How can I add many users to an AD Security group? I can use their login id or email address.Thanks.
LVL 7
tolinromeAsked:
Who is Participating?
 
Rajitha ChimmaniConnect With a Mentor Commented:
You can do it through ADUC (dsa.msc - copy and paste the list of loginIDs) or If you have Windows server 2008 or later use the following commands in Windows powershell (list of users in txt file)

Import-Module ActiveDirectory
Get-content filepath | Add-ADGroupMember groupname -Member $_

Open in new window

0
 
Jason LafayetteCommented:
Use a 2003 server with AD Tools and you can still do comma separated adding of employees.  Use notepad to create your master list.
0
 
tolinromeAuthor Commented:
Import-Module ActiveDirectory
Get-content filepath | Add-ADGroupMember groupname -Member $_Username
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.