Solved

Adding  300+ users to a collection in sccm

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

Suggested Solutions

Title # Comments Views Activity
SBS2008 c:\ drive toosmall 64 82
Set up secondary Domain Controller 4 71
Inactive computer in domain 7 64
Unable to add new user to AD 2 24
I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

777 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