VMware/vSphere/vimcmd
Jump to navigation
Jump to search
Managing ESXi without the VI client
List VMs and VMIDs:
vimcmd vmsvc/getallvms
Manage Power:
vim-cmd vmsvc/power.getstat [VMID] vim-cmd vmsvc/power.shutdown [VMID] vim-cmd vmsvc/power.off [VMID] vim-cmd vmsvc/power.on [VMID]
VM Registration:
vim-cmd solo/registervm /vmfs/volumes/datastore2/DC05/DC05.vmx vim-cmd vmsvc/unregister [VMID]
VM Messages:
vim-cmd vmsvc/message [VID]
Create VMDK:
mkfstools -i ../../datastore1/DC05/DC05.vmdk ../DC05/DC05.vmdk
Resources:
- Managing ESXi without the VI client - http://www.vm-help.com/esx40i/manage_without_VI_client_5.php
- Managing ESXi without the VI client - http://www.vm-help.com/esx40i/manage_without_VI_client_1.php
- ESXi 4.1 command line awesomeness - http://benincosa.org/blog/?p=266