Watch DISKSHADOW and purge oldest N number after exceeding Y number of shadow copies

John Rutkowski
John Rutkowski Member CHOCOLATE MILK
edited January 2022 in Request
Run DISKSHADOW and return the count of shadowcopies, and then purge the oldest ones out prior to today's date minus 5 days.
0 votes

Shipped · Last Updated

solution provided by KAT

0 votes

Needs Review · Last Updated


  • Kaseya Automation Team
    Kaseya Automation Team Member, Kaseya Certified CHOCOLATE MILK
    edited September 2020

    Hello John,

    You can use vssadmin delete shadows /for=<<drive>>: /oldest  but we do not recommend this as it can potentially corrupt your windows restores. It is best to use a backup program for this.

This discussion has been closed.