Solved

Adding  300+ users to a collection in sccm

Posted on 2014-02-04
3
525 Views
Last Modified: 2014-02-04
devices can be added but users not so much..
What is the best way to add users to a sccm user collection when you have hundreds.

There are no query parameters.. the users were selcted by an HR database outside of sccm.

If an AD group has to be used.. is there a powershell script i can use to load an ad group up from a source list.txt of user names?
0
Comment
Question by:dadiehl04
  • 2
3 Comments
 
LVL 22

Expert Comment

by:yo_bee
ID: 39833405
Do you have the CSV file format
Userid, Fullname , etc?
0
 
LVL 22

Accepted Solution

by:
yo_bee earned 500 total points
ID: 39833408
If you have the Userame SmithJ then you can use a script like this.

Import-module ActiveDirectory  
Import-CSV "C:\Scripts\Users.csv" | % {  
Add-ADGroupMember -Identity TestGroup1 -Member $_.UserName  
} 

Open in new window


Do you have a collection that queries that group yet?
0
 

Author Comment

by:dadiehl04
ID: 39833545
that will work, thanks!
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

820 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