Add Exclusion to a List of Collections

Add Exclusion to a List of Collections
robertser's picture

Have an object in NS that you need to add as an exclusion or even an inclusion to a big list of Collections?

We had the need to add the collection All Windows Servers as an exclusion to all of the collections we were using for software delivery. That was going to be a terribly long task since we have hundreds of them.

This simple script will enumerate through all of the collections in a given folder and add your collection into the exclusion list in all of them.

Change the ServerName in the script to the name of your NS and then run it. It will prompt for the folder to enumerate and the GUID of the item to exclude.

It can easily be modified to add items to the inclusions or even remove from either one.

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.
AttachmentSize
Add Exclusion to Collection.zip732 bytes
3.608695
Average: 3.6 (23 votes)