Quantcast
Channel: VMware Communities: Message List - vSphere Management SDK
Viewing all articles
Browse latest Browse all 2052

Re: How to get VirtualMachine moid

$
0
0

Assuming ssh access is enabled you can ssh into your esx server from a bash terminal i.e...

 

ssh {ESX IP Address}

 

Once logged you can run the following command...

 

vim-cmd vmsvc/getallvms

 

Which will produce a list of virtual machines on the server. The moid is in the first column.


Viewing all articles
Browse latest Browse all 2052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>