Get Guest Machine Process ID
Written by Frank Contreras on January 6, 2012 – 7:44 am
Ever wanted to know the Process ID of a particular guest VM so you could kill the process or elevate it? Here’s the powershell script to do it.
Get-WmiObject -Namespace root\virtualization -class msvm_computersystem | select elementname, operationalstatus, processid, name| ft -autoNo tags for this post.