Solved

Adding  300+ users to a collection in sccm

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

Expert Comment

by:yo_bee
Comment Utility
Do you have the CSV file format
Userid, Fullname , etc?
0
 
LVL 21

Accepted Solution

by:
yo_bee earned 500 total points
Comment Utility
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
Comment Utility
that will work, thanks!
0

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Suggested Solutions

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
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…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

771 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

13 Experts available now in Live!

Get 1:1 Help Now