This is another command of how to kill a Hung VM by identify the Process ID using PowerShell command :
For Windows 2012
Get-WmiObject -Namespace root\virtualization -class msvm_computersystem | select elementname, operationalstatus, processid, name| ft –auto
For Window 2012 R2
Get-WmiObject -Namespace root\virtualization\v2 -class msvm_computersystem | select elementname, operationalstatus, processid, name| ft –auto
Once the Process ID is obtain, launch the Task Manager and kill the VMWP.exe process with the correspondence Process ID to that particular VM.
Hope this helps.
keywords : hang VM, hung VM, stuck VM, Hyper-V virtualization stuck Server 2012 R2, vmwp.exe, killing vwmp.exe
No comments:
Post a Comment