Remove computer from Static Collection on successful deployment
I have a scheduled package in Deploy that runs on a Static Collection from Inventory. If the deployment is successful on a computer in the Static Collection, I have been manually removing the computer from the Static Collection because it doesn't need to run again. Is there a way in Deploy to edit the Static Collection by removing the target computer on success?
David
-
No, Deploy cannot edit Collections. I recommend finding a way to scan for whatever you are deploying so you can use a Dynamic Collection.
Another option is to enable "Stop deploying to targets once they succeed" on the Options tab of your Schedule. It won't remove the targets from your Collection, but it will prevent Deploy from re-deploying to them until you clear the Target History of that Schedule.
Please sign in to leave a comment.
Comments
2 comments