Purge old images which don't have clones
Published 27 February 2017
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
This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved