Solved

Adding  300+ users to a collection in sccm

Posted on 2014-02-04
3
539 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Expert Comment

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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 walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

617 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