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


3 Responses to “ ESXi and SSH, what’s next ”

  1. Does ESxi take vim-cmd? ESX 3.5 takes only vmware-vim-cmd.

  2. yeah it’s vim-cmd on ESXi.

Leave a Reply