VMware Commands and Tricks

Commands

(Double TAB in console will display full list of VMware Commands)

  • VMKPing
  • VMware bootable CPUID utility
  • cp (Unix Copy command for VM files)
  • vmkfstools -i *.vmdk *.vmdk (copy VM Disk files)
  • esxcfg -firewall -o 456,tcp,out,out-smtps
  • vm-support –X (Kill VM)
  • vmkdump–l <core_dump_file>
  • service firewall restart
  • esxcfg-firewall -r (reset firewall)
  • service
  • ps -ef | grep hostd
  • excfg -info
  • excfg -vswitch
  • esxupdate
  • esxcli
  • tcpdump
  • cpuid
  • esxtop/resxtop
  • service mgmt-vmware status
  • vmkload_mod -u nfsclient
  • vmkload_mod -u vmfs2
  • /bin/vim-cmd vmsvc/getallvm
    /bin/vim-cmd vmsvc/power.on <vmid> — or you could use power.off / power.reset / power.getstat

    /bin/vim-cmd vmsvc/getallvm/bin/vim-cmd vmsvc/power.on <vmid> — or you could use power.off / power.reset / power.getstat

  • Boot edit *.vmx file and add bios.bootDelay = “boot delay in milliseconds”
Advertisements