Banner
Get Guest Machine Process ID
This is my site 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 -auto
No tags for this post.
Posted in  

Comments are closed.