Q. How can I quickly get the status of all the virtual machines (VMs) System Center Virtual Machine Manager (VMM) is managing from PowerShell?

John Savill

January 17, 2010

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. VMM contains a number of PowerShell cmdlets, including the Get-VM cmdlet, which gathers a huge amount of information about each VM, including its status. You can use the format-table cmdlet to show only specific information, such as VMs' names and status, as shown below.

The command

get-vm | format-table ComputerNameString, Status -auto

gives me

ComputerNameString Status------------------ ------SAVDALDC11.savilltech.net Runningsavdalclient.savilltech.net Runningsavdaldc10.savilltech.net Runningsavdalwss10.savilltech.net Runningsavdalscvmm.savilltech.net Runningsavdalts01.savilltech.net RunningSAVDALRODC01.savilltech.net Runningsavdalex01.savilltech.net Running

Related Reading:



Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

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