We recently built a new Configuration Manager system for a client who wanted user collections for all departments and companies within their corporate group.

We were going to set these up manually which is a fairly simple, but time consuming, job to do. But this was a time restricted installation so we had a quick Google and found an awesome Powershell script written by Timmy Andersson over at CTGlobal which would create all the department collections we required.

Full instructions and all the Powershell scripts you would need to carry this out is available from here.

We used this script and it worked perfectly, especially as their AD was all up to date with department and company data and we had already setup the discovery for these attributes for other parts of reporting that they wanted.

We also then amended this script slightly to carry out company collection creations as well. This saved us a few days work and were able to hand over way before the deadline.

Click to rate this post!
[Total: 0 Average: 0]

Discover more from TechyGeeksHome

Subscribe to get the latest posts to your email.

Avatar of Andrew Armstrong

By Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.