BIG-RAT / Prune

Remove unused items from your Jamf server
MIT License
167 stars 10 forks source link

Feature Request - List policies that are still scoped but disabled #27

Closed drtaru closed 1 year ago

drtaru commented 2 years ago

We are in the process of cleaning up our Jamf Pro server and have about 40 policies that were never unscoped, they were simply disabled. It would be super handy for the policy scan to also list disabled policies that may still have a scope (under a separate heading).

BIG-RAT commented 1 year ago

Check v2.3.0, hope it meets your needs. [disabled] is appended to the policy name rather than a separate heading.

drtaru commented 1 year ago

This still doesn't quite do what I want it to. I would like it to list EVERY disabled policy regardless of if it is scoped still or not. For example I have an old policy to install Zoom that is scoped to all computers, but it has been disabled. Since the scope is still set to "All Computers" Prune does not show it as it only lists "Unused Policies"

BIG-RAT commented 1 year ago

Thanks for the quick test. My intent was to list such policies, clearly missed. See if v2.3.1 provides the needed results.