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:

You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.

Powered by WordPress and Bootstrap4