Here we have a vm with 2 snapshots
You can hit delete all in snapshot manager but if you have many vms with snaps you would like to remove automation with powercli is better.
Here is the command I used:
Get-vm VMNAME | get-snapshot | remove-snapshot -confirm:$false
After the command is run then here is the snapshot manger, with no more snaps
Ask you can see the file I made before deleting the snaps are still there
It should be since we didn’t revert to a snap but instead committed/deleted them.
When you delete a snapshot the snap disk gets written to the base disk, committing changes.
Another good resource: http://terenceluk.blogspot.com/2012/03/remove-all-snapshots-for-virtual.html
0 comments:
Post a Comment