Solved

Adding  300+ users to a collection in sccm

Posted on 2014-02-04
3
513 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

I was asked if I could set up a fax machine so that incoming faxes were delivered to people's Exchange inboxes and so that they could send faxes from their desktops without needing to print the document first.  I knew it was possible but I had no id…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now