Hello,
I have a 4 node Hyper-V 2019 cluster running a decent number of VMs.
When trying to remove some snapshots that Hyper-V left behind from a backup I get the following error:
Deleting 'SNAPSHOTNAME - (M/D/YYYY - 8:18:20 PM)' failed. The operation cannot be performed while the object is in its current state. + CategoryInfo : InvalidOperation: (:) [Remove-VMSnapshot], VirtualizationException + FullyQualifiedErrorId : InvalidState,Microsoft.HyperV.PowerShell.Commands.RemoveVMSnapshot + PSComputerName : HOST
Searching online the only help I found was to create a new snapshot and then export the VM from that. Then delete the original and import the exported copy. I would prefer to avoid that if possible as some of these VMs are quite large. They are still operational just cannot clean up these specific snapshots. I was able to remove a bunch of standard non-recovery snapshots without any issues.