Vimsh: Difference between revisions
Jump to navigation
Jump to search
(Added tip from lamw on using vim-cmd on ESXi) |
mNo edit summary |
||
Line 20: | Line 20: | ||
An advantage of vimsh over normal esx-cfg commands is that the changes are immediate, so you do not need to restart the vmware management services. | An advantage of vimsh over normal esx-cfg commands is that the changes are immediate, so you do not need to restart the vmware management services. | ||
In recent versions of ESX (ESX3.5+), there's also a command line | In recent versions of ESX (ESX3.5+), there's also a non interactive command line version of vimsh that can be used from within a script which is called [[vmware-vim-cmd]] and is much easier to read in your scripts as the alternative: | ||
vimsh -n -e <command> | vimsh -n -e <command> | ||
When using ESX embedded (ESXi3.5+) the command is [[vim-cmd]] instead. | When using ESX embedded (ESXi3.5+) the command is [[vim-cmd]] instead. |