joec212000 Posted January 16, 2015 Report post Posted January 16, 2015 Hello All, I'm looking for a way to take a list of users from a csv file and add them to a user collection in SCCM 2012 R2. I have large application deployment and we use User Device Affinity, so adding users to a user collection ensures they will always have the application on their primary device. I'm sure this can be done with powershell, but I'm not that good with powershell... yet. Any help or thoughts would be appreciated. Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted January 16, 2015 Report post Posted January 16, 2015 Yes, PowerShell would be the way. Three things you need to do and they are relatively easy to find online, read the CSV, loop through the users, add the user to a collection via Add-CMUserCollectionDirectMembershipRule. Quote Share this post Link to post Share on other sites More sharing options...
Jorgen Nilsson Posted January 16, 2015 Report post Posted January 16, 2015 Hi, Most of the right-click tools out there have a feater where yopu can simply paste the computernames from a csv file for instance and then add them to a collection. The ones from NowMicro is really good. http://www.nowmicro.com/rct/ Regards,Jörgen Quote Share this post Link to post Share on other sites More sharing options...