ramboca
Contributor
Contributor

Command to find vm,host the vm running on, cluster name & data center name the VM is part of

Hi

Can anyone pls share vma command if any to to find vm,host the vm running on, cluster name & data center name the VM is part of

Thanks in advance

0 Kudos
3 Replies
abhilashhb
VMware Employee
VMware Employee

Use RVTools instead.

Gives you all the info you need and the report can be exported to excel.

------------------------------------------------------------------------------------------------------------------------------------ If you find this or any other answer useful please mark the answer as correct or helpful. Abhilash B | Blog : http://vpirate.in | Twitter : @abhilashhb | LinkedIn : https://www.linkedin.com/in/abhilashhb/ |
0 Kudos
ramboca
Contributor
Contributor

Well thanks but looking for VMA cmd for that ..

0 Kudos
treelo1998
Contributor
Contributor

for esx 4.1:

vmware-cmd -l

ESXi 5.1:

vim-cmd vmsvc/getallvms |more

0 Kudos