Please add a feature to filter objects by their categories, so we can use Prune to delete only unused objects within a specified category.
We move objects (policies, profiles, etc.) into specific categories to flag them for deletion. Prune does not support filtering objects by their category, and therefore when we want to delete only objects that belong to a category we have to use other scripts/solutions.
Please add a feature to filter objects by their categories, so we can use Prune to delete only unused objects within a specified category.
We move objects (policies, profiles, etc.) into specific categories to flag them for deletion. Prune does not support filtering objects by their category, and therefore when we want to delete only objects that belong to a category we have to use other scripts/solutions.
It would be appreciated to add filtering based on categories. Rich Trouton has developed some scripts that do something similar and may be helpful: https://github.com/rtrouton/rtrouton_scripts/tree/main/rtrouton_scripts/Casper_Scripts