ESXi and SSH, what’s next
I get a lot of questions about ESXi and SSH. Most people manage to connect to their ESXi but don’t know what to do next because there’s no actual Service Console there. Well the answer is short and simple: vim-cmd.
A couple examples of stuff you can do with vim-cmd:
enter maintenance mode: vim-cmd /hostsvc/maintenance_mode_enter
List all registered vm’s: vim-cmd /vmsvc/getallvms
Install VMware Tools for VM with ID: vim-cmd /vmsvc/tools.install [vmid]
Power on a specific VM: vim-cmd /vmsvc/power.on [vmid]
So check out the link above and start trying out this poweful command
br>




August 25th, 2008 at 11:54
Does ESxi take vim-cmd? ESX 3.5 takes only vmware-vim-cmd.
August 25th, 2008 at 15:09
yeah it’s vim-cmd on ESXi.
November 13th, 2008 at 12:27
[...] http://www.yellow-bricks.com/2008/08/21/esxi-and-ssh-whats-next/ [...]