Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Add users to AD Group

Posted on 2014-12-10
3
Medium Priority
?
181 Views
Last Modified: 2014-12-11
How can I add many users to an AD Security group? I can use their login id or email address.Thanks.
0
Comment
Question by:tolinrome
3 Comments
 
LVL 1

Expert Comment

by:Jason Lafayette
ID: 40492330
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
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 2000 total points
ID: 40492356
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
 
LVL 7

Author Comment

by:tolinrome
ID: 40494165
Import-Module ActiveDirectory
Get-content filepath | Add-ADGroupMember groupname -Member $_Username
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question