Q. I have a VM snapshot in Hyper-V that I cannot delete using Hyper-V Manager, how can I delete it?
A. If you run the command Get-VMSnapshot -VMName <VM> you may see a snapshot that is of type Recovery and in Hyper-V Manager there is no option to delete it. Additionally if you try and manually run Remove-VMSnapshot -VMName <VM> no error is returned but the snapshot is not removed. The solution is to run the following:
Get-VMSnapshot -VMName <VM> | Remove-VMSnapshot
If there are multiple snapshots you can add the -Name <snapshot name> parameter to the Get-VMSnapshot.
0 comments
Hide comments