Hostsvc/autostartmanager/get autostartseq

From VI-Toolkit
Jump to: navigation, search

vimsh hostsvc/autostartmanager/get_autostartseq

Usage: Get the current VM Autostart sequence.

example output

Example output with one virtual machine set to autostart

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/autostartmanager/get_autostart
(vim.host.AutoStartManager.AutoPowerInfo) [
   (vim.host.AutoStartManager.AutoPowerInfo) {
      dynamicType = <unset>,
      key = 'vim.VirtualMachine:96',
      startOrder = 1,
      startDelay = -1,
      waitForHeartbeat = "systemDefault",
      startAction = "PowerOn",
      stopDelay = -1,
      stopAction = "SystemDefault",
   }
]