Find VM worker process for 2012 R2 and above Hyper-V

Find the worker process for a specific VM with Hyper-V 2102 R2 and above

John Savill

April 26, 2017

1 Min Read
Find VM worker process for 2012 R2 and above Hyper-V

Q. How can I find the VM worker process for a VM on 2012 R2 Hyper-V or above?

A. To check for the process ID for the worker process of a particular VM use the following PowerShell query:

PS C:> (Get-WmiObject -q "SELECT * FROM Msvm_ComputerSystem WHERE ElementName = 'savdaldda01'" -n rootvirtualizationv2).ProcessID10368PS C:> get-process -Id 10368Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName                                                                                  -------  ------    -----      -----     ------     --  -- -----------                                                                                      477      25    11476      25940     679.31  10368   0 vmwp    

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like