Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 6689

How to delete policy targets with count of 0?

$
0
0
I need a solution

We use the Software Portal to allow our service desk to request software.  When a policy is requested, a target is created under Applied To.  As you can imagine, this creates a lot of clutter so someone before me implemented a script that purges all targets more than 120 hours old.

This works fine, but leaves us with a Target list full of targets with a count of 0.  Is there any way to script the removal of targets with a count of 0?

Here is a screenshot:

Untitled.png

 


Viewing all articles
Browse latest Browse all 6689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>