SQL Clone 5

Purge old images which don't have clones

If you are regularly creating images on a schedule, you may wish to clear out the older ones. This script will remove images older than a given date, as long as they don't have clone databases dependent on them (in which case warn in the output).

This script will remove images without any further warning. You will need to test this and add protections appropriate to your environment before live use.

View "Purge old images which don't have clones.ps1" on GitHub


Didn't find what you were looking for?