I want to know the number of Vm's running over ESXi. What is the command for it.. ??
'vim-cmd vmsvc/getallvms'
This command list out the vm's running oover the ESXi server, but i want the number (whole number)
Please help..
Thank You,
M@rk!V
Hi
You can use this PowerCLI command to get a VM count:
Connect-VIServer -Server "ESXi host or vCenter server"
(Get-VM -Location "ESXi host").count
Pavit
Hi
You can use this PowerCLI command to get a VM count:
Connect-VIServer -Server "ESXi host or vCenter server"
(Get-VM -Location "ESXi host").count
Pavit
Can you please tell me using the esxcli ??
Hello,
if you like to query over putty > try:
esxcli network vm list |wc -l
Best regards
Max
Thanks Max..
were you able to get this to work?
The "lwc -l" switch is not recognized for my version.