I was given a mess that had over 2K VM with 7K+ snapshots with 300 of them over a year old. I ran the following on a single host of clean up some of the snaps
Get-VM | Get-Snapshot | Where-Object {$_.Created -lt (Get-Date 01/Jun/2020)} | Remove-Snapshot -RunAsync -RemoveChildren -Confirm:$false
now I have a few dozen vms with the status "vm needs to be consolidated" consolidation fails due to a lock error.
Where did I go wrong and how do I fix this?