VM remains visible in SCVMM after deletion in Hyper-V

When a virtual machine has been removed, for example by using Hyper-V Manager or Cluster Administrator, it remains visible in the SCVMM Console.
When youright-click on the VM, the options “Delete” or “Repair” do not work.

Haven’t got a clue… Sounds like some sort of bug?

Yes, you can do it in a GUI… just look up the *.xml file for the virtual machine and delete it.
However, I prefer to use the SCVMM PowerShell module:

Get-VMMServer -ComputerName “SCVMM”
$VM = Get-VM -Name “VirtualMachineName”
Remove-VM -VM $VM -Force


Leave a Reply

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