Cannot remove VM in Stopping state from VMM2012R2

I came across a problem with deleting Virtual Machine and Service instance from VMM console where my VM was already deleted on Hyper-V host, but still showing in Stopping State in VMM.

VMM delete VM job failed with following error:

Then I tried powershell command

Get-SCVirtualMachine | where { $_.Name -EQ “VM NAME HERE“} | Remove-SCVirtualMachine –Force

Again no success.

Action that helped was stopping my VMM cluster and restarting VMM service. After VMM restart, I logged in back and found my VM in Missing state.

Next „Delete VM“ job was successful.

 

Pridaj komentár

Vaša e-mailová adresa nebude zverejnená. Vyžadované polia sú označené *