Found a redundant VM on your Hyper-V host? This typically only happens in test environments but rarely in production and caused by a VM folder being deleted or moved.
In the screenshot below you can see the VM ‘Mindex’ in an off-critial state. You cant remove this server from the host using the GUI.
Open a Powershell windows as admin and type ‘Get-VM’ and press enter. This will list all of the VM’s on the host.
Next type ‘Remove-VM -name <name of vm> -force’
Replace <name of vm> with the actual name of the VM you are trying to remove.
Hay presto! the VM has been removed!