Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would I go about determining the guest's name given its GUID or vice-versa, preferably with only the Hyper-V/Server Core stock install at hands?


I am in favor of having a repository of dirty tricks to revert to when in great need. To immediately quiesce all (storage) operations of a VM guest without losing the state, I used to run kill 17 <all VM's virtual processes> (signaling SIGSTOP) and resumed afterwards using kill 19 <all VM's virtual processes> (signaling SIGCONT) in ESXi/vSphere shell.

I tried the same technique with Hyper-V using Process Explorer's "Suspend" functionality on the vmwp.exe processes and it seemed to work. I have yet to find a way for easily identifying the processes to suspend, though - the vmwp command line is only listing a GUID.

share|improve this question
Which version of Hyper-V? – Peter Hahndorf Nov 15 '12 at 9:52
@PeterHahndorf 3 (2012), although prior versions would be of interest as well (you never know what's around the corner). – the-wabbit Nov 15 '12 at 10:09
up vote 2 down vote accepted

In PowerShell type:

get-vm | ft VMName, VMId

This gives you a list of all existing VMs with their name and ID.

You can then use all the other PowerShell goodness to do something with that information.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.