Hostsvc/autostartmanager/get defaults

From VI-Toolkit
Jump to navigation Jump to search

hostsvc/autostartmanager/get_defaults

Usage: Get the AutoStart system defaults.

example output

Default output on a ESX3.5i machine when autostart is disabled:

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/autostartmanager/get_defaults
(vim.host.AutoStartManager.SystemDefaults) {
   dynamicType = <unset>,
   enabled = false,
   startDelay = 120,
   stopDelay = 120,
   waitForHeartbeat = false,
   stopAction = "PowerOff",
}

The output after enabling the autostart functionality:

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/autostartmanager/get_defaults
(vim.host.AutoStartManager.SystemDefaults) {
   dynamicType = <unset>,
   enabled = true,
   startDelay = 120,
   stopDelay = 120,
   waitForHeartbeat = false,
   stopAction = "PowerOff",
}