VMware Cloud Community
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

Reply
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.

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

Reply
0 Kudos
ramboca
Contributor
Contributor

Well thanks but looking for VMA cmd for that ..

Reply
0 Kudos
treelo1998
Contributor
Contributor

for esx 4.1:

vmware-cmd -l

ESXi 5.1:

vim-cmd vmsvc/getallvms |more

Reply
0 Kudos