How to Remove ‘Ghost’ VMs with Status ‘Off-Critical’ or ‘Saved-Critical’

Issue:

Resolution:

get-vm|?{$_.State -in @('OffCritical','SavedCritical')}|remove-vm -force

Leave a Reply

Your email address will not be published. Required fields are marked *