Get Hyper-V Virtual Machine Process ID and GUID

Copy the following command and enter it in a PowerShell window with elevated credentials:

Get-WmiObject -Namespace root\virtualization -class msvm_computersystem | select elementname, operationalstatus, processid, name| ft -auto

For example:

Leave a Reply

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

Are you human? Please solve:Captcha