Vimsh: Difference between revisions

533 bytes added ,  13 December 2008
no edit summary
m (more markup and info)
No 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, there's also a command line non interactive version of vimsh that can be used from within a script which is called [[vmware-vim-cmd]]
In recent versions of ESX, there's also a command line non interactive 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>


==== List of commands ====
==== List of commands ====
Line 61: Line 62:
As there's no official documentation, here's the link to the current authorative documentation:
As there's no official documentation, here's the link to the current authorative documentation:
* [http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]
* [http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]
Example usage (article in dutch)
* [http://www.l4l.be/docs/virt/vimsh.php Voorbeelden gebruik VIMSH]
* [http://effectief.blogspot.com/2007/09/vimsh-handy-vmware-esx-command-line.html Koen Warsons blog: handy Vmware ESX Command line tool]
* [http://vmwaretips.com/wp/2008/09/12/netapp-snapshots-in-esx/#more-20 NetApp Snapshots in ESX]
* [http://malaysiavm.com/blog/how-to-update-vmware-esx-patch-using-cli/ How-to update vmware ESX using CLI]
1,274

edits