Please refer the below script for delete the restore point except the latest or new restore point.
This script will display the list of restore points(SYSTEMDRIVE) which are present in your system, if there are an older restore pointS then it will delete all older restore point except the new/latest one which is processed according to date and time.
If there is only one restore point presnt in your system - then it will display "ONLY ONE RESTORE POINT (and) NO OLD RESTORE POINTS PRESENT IN YOUR SYSTEM"
Finally, it will display output as latest/new restore point which is present in your system.
Please run the script as "SYSTEM ADMINISTRATOR".
Refer the JSON file for execution.
Run as System User.