Creating collections based on boundary groups

Full disclosure, the script below is based on the script by Jonathan Lefebvre at System Center Dudes.

The script below will create a folder structure “Operational\Boundary Groups based collection”. If a collection already exists, a message is disabled on the screen, otherwise, the collection is created and move to the folder.

The goal of the changes is to make it so the script can be scheduled to run nightly or weekly. This makes the creation of collections based on boundaries no longer manual.

Results from the first run of the script.
New folder and collections created.
Results after running the script a second time.

Leave a Comment