Difference between revisions of "ESXi command line"

From MyWiki
Jump to: navigation, search
(Created page with "<source lang="text"> List all VMs registered to this host (This reveals the Vmid needed for other commands) vim-cmd /vmsvc/getallvms Unregister a VM vim-cmd...")
 
(No difference)

Latest revision as of 23:01, 30 September 2014

    List all VMs registered to this host (This reveals the Vmid needed for other commands)
    vim-cmd /vmsvc/getallvms
    Unregister a VM
    vim-cmd /vmsvc/unregister <Vmid>
    Register a VM
    vim-cmd /solo/register /path/to/file.vmx
    Get power state of a VM
    vim-cmd /vmsvc/power.getstate <Vimid>
    Power off a VM
    vim-cmd /vmsvc/power.off <Vmid>
    Power on a VM
    vim-cmd /vmsvc/power.on <Vmid>