Get Hyper-V Virtual Machine Process ID and GUID

There are times when you may need to manipulate a virtual machine and it could be valuable to know the VM’s process ID. If, for example, the VM has become unresponsive, knowing the process ID could help in closing the VM without interrupting another VM on the same host machine. This brief article will show you how to obtain a VM’s process ID and GUID.