<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vi-toolkit.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lamw</id>
	<title>VI-Toolkit - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vi-toolkit.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lamw"/>
	<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Special:Contributions/Lamw"/>
	<updated>2026-04-28T21:23:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=APC/APCUPSD_ESX/ESXi_Host_shutdown_script&amp;diff=834</id>
		<title>APC/APCUPSD ESX/ESXi Host shutdown script</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=APC/APCUPSD_ESX/ESXi_Host_shutdown_script&amp;diff=834"/>
		<updated>2009-02-20T03:07:12Z</updated>

		<summary type="html">&lt;p&gt;Lamw: New page: &amp;#039;&amp;#039;&amp;#039;Download script&amp;#039;&amp;#039;&amp;#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoShutdown.pl ghettoShutdown.pl]  &amp;#039;&amp;#039;&amp;#039;Download script&amp;#039;&amp;#039;&amp;#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/upsVIShutdown.pl ups...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoShutdown.pl ghettoShutdown.pl]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/upsVIShutdown.pl upsVIShutdown.pl]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatible with&#039;&#039;&#039;: ESX/ESXi 3.5+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9531&lt;br /&gt;
&lt;br /&gt;
This script is similar to Joseph’s work [http://viops.vmware.com/home/docs/DOC-1341 How to configure ESXi to shutdown using an APC SmartUPS] although it will not necessitate enabling the unsupported SSH console on the ESXi hosts. This is made possible by utilizing the VI Perl Toolkit to communicate with the ESXi hosts. The only possible drawback however is that next revision of ESXi may disallow write operations and require that the user purchase ESXi license(s) to make full use of the VI API (read/write).&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=833</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=833"/>
		<updated>2009-02-20T03:04:53Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
[http://download3.vmware.com/vmworld/2006/tac9685.pdf Command Line Interface Tips and Tricks for VMware ESX Server 2 and 3]&lt;br /&gt;
&lt;br /&gt;
[http://www.vmreference.com/vi3-card/ VI3 reference card]&lt;br /&gt;
&lt;br /&gt;
[[ESX CLI Commands]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== VMware RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware [[RCLI]]?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VI Perl Toolkit =====&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html VI Perl Toolkit command documentation]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html &lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI &amp;amp; VI Perl Toolkit scripts ====&lt;br /&gt;
&lt;br /&gt;
[[Free VM Clone utility for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[&amp;quot;Quick&amp;quot; migration utility for VM(s) on ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[VMware Health Check Report]]&lt;br /&gt;
&lt;br /&gt;
[[APC/APCUPSD ESX/ESXi Host shutdown script]]&lt;br /&gt;
&lt;br /&gt;
==== Perl scripts ====&lt;br /&gt;
[[Recover vmx from log file]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=VMware_Health_Check_Report&amp;diff=798</id>
		<title>VMware Health Check Report</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=VMware_Health_Check_Report&amp;diff=798"/>
		<updated>2009-02-01T00:44:19Z</updated>

		<summary type="html">&lt;p&gt;Lamw: New page: &amp;#039;&amp;#039;&amp;#039;Download script&amp;#039;&amp;#039;&amp;#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/vmwareHealthCheck.pl vmwareHealthCheck.pl]  &amp;#039;&amp;#039;&amp;#039;Compatible with&amp;#039;&amp;#039;&amp;#039;: ESX/ESXi 3.5+ and vCenter 2.5+  Please find more details...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/vmwareHealthCheck.pl vmwareHealthCheck.pl]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatible with&#039;&#039;&#039;: ESX/ESXi 3.5+ and vCenter 2.5+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9420&lt;br /&gt;
&lt;br /&gt;
This script generates a health check report of all attributes pertaining to a single ESX/ESXi 3.x+ host or VMware vCenter and its managed entities (i.e. clusters and individual ESX/ESXi 3.x+ hosts). The generated report is based off of some earlier Powershell script work created by Ivo Beerens/Duncan Eppping.&lt;br /&gt;
&lt;br /&gt;
The script reports on the following and more:&lt;br /&gt;
&lt;br /&gt;
    * vCenter Build/Release&lt;br /&gt;
    * ESX/ESXi Build/Release&lt;br /&gt;
    * Cluster(s) Name/Statistics (Hosts,CPU and MEM availabity, HA,DRS and DPM enabled)&lt;br /&gt;
    * ESX/ESXi Hardware configuration (NICs/HBAs)&lt;br /&gt;
    * ESX/ESXi State&lt;br /&gt;
    * ESX/ESXi Config (WIP)&lt;br /&gt;
    * ESX/ESXi Datastore summary&lt;br /&gt;
    * Virtual Machines summary&lt;br /&gt;
    * VM Storage summary&lt;br /&gt;
    * VM Network summary&lt;br /&gt;
    * VM w/Snapshots&lt;br /&gt;
    * VM w/RDMs&lt;br /&gt;
    * VM w/NPIV enabled&lt;br /&gt;
    * VM w/connected CD-ROMs&lt;br /&gt;
    * VM w/connected Floppys&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=797</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=797"/>
		<updated>2009-02-01T00:41:35Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
[http://download3.vmware.com/vmworld/2006/tac9685.pdf Command Line Interface Tips and Tricks for VMware ESX Server 2 and 3]&lt;br /&gt;
&lt;br /&gt;
[http://www.vmreference.com/vi3-card/ VI3 reference card]&lt;br /&gt;
&lt;br /&gt;
[[ESX CLI Commands]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== VMware RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware [[RCLI]]?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VI Perl Toolkit =====&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html VI Perl Toolkit command documentation]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html &lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI &amp;amp; VI Perl Toolkit scripts ====&lt;br /&gt;
&lt;br /&gt;
[[Free VM Clone utility for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[&amp;quot;Quick&amp;quot; migration utility for VM(s) on ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[VMware Health Check Report]]&lt;br /&gt;
&lt;br /&gt;
==== Perl scripts ====&lt;br /&gt;
[[Recover vmx from log file]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=%22Quick%22_migration_utility_for_VM(s)_on_ESX_and_ESXi&amp;diff=784</id>
		<title>&quot;Quick&quot; migration utility for VM(s) on ESX and ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=%22Quick%22_migration_utility_for_VM(s)_on_ESX_and_ESXi&amp;diff=784"/>
		<updated>2009-01-26T17:01:21Z</updated>

		<summary type="html">&lt;p&gt;Lamw: New page: &amp;#039;&amp;#039;&amp;#039;Download script&amp;#039;&amp;#039;&amp;#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoQuickMigrate.sh ghettoQuickMigrate.sh]  &amp;#039;&amp;#039;&amp;#039;Compatible with&amp;#039;&amp;#039;&amp;#039;: ESX/ESXi 3.5u2+  Please find more details located at: ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoQuickMigrate.sh ghettoQuickMigrate.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatible with&#039;&#039;&#039;: ESX/ESXi 3.5u2+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9400&lt;br /&gt;
&lt;br /&gt;
This script provides administrators running the free version of ESXi on several hosts with the capability to perform Hyper-V-like &amp;quot;&#039;&#039;&#039;quick&#039;&#039;&#039;&amp;quot; migrations of virtual machines residing on shared storage between the hosts. [http://www.vmware.com/support/developer/vima/ VMware&#039;s VIMA] virtual appliance was chosen as the central launch point for the quick migration process. &#039;&#039;&#039;ghettoQuickMigration.sh&#039;&#039;&#039; is executed from within VIMA and is compatible with ESXi 3.5u2+.&lt;br /&gt;
&lt;br /&gt;
This script follows similarly to the Hyper-V Quick Migration process with the exception of replacing the disk resource swap with a virtual machine unregister/register command on the source and target hosts respectively. The state (powered ON/Suspended/OFF) of the virtual machine designated for migration is preserved through the entire process. Online virtual machines undergoing this migration will experience a temporary pause due to the suspend and resume steps.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=783</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=783"/>
		<updated>2009-01-26T16:59:31Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
[http://download3.vmware.com/vmworld/2006/tac9685.pdf Command Line Interface Tips and Tricks for VMware ESX Server 2 and 3]&lt;br /&gt;
&lt;br /&gt;
[http://www.vmreference.com/vi3-card/ VI3 reference card]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== VMware RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware [[RCLI]]?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VI Perl Toolkit =====&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html VI Perl Toolkit command documentation]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html &lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI &amp;amp; VI Perl Toolkit scripts ====&lt;br /&gt;
&lt;br /&gt;
[[Free VM Clone utility for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[&amp;quot;Quick&amp;quot; migration utility for VM(s) on ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
==== Perl scripts ====&lt;br /&gt;
[[Recover vmx from log file]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Free_VM_Clone_utility_for_ESX_and_ESXi&amp;diff=776</id>
		<title>Free VM Clone utility for ESX and ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Free_VM_Clone_utility_for_ESX_and_ESXi&amp;diff=776"/>
		<updated>2009-01-13T16:54:59Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoClone.sh ghettoClone.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Requires&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/my-vmregister.pl my-vmregister.pl]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatible with&#039;&#039;&#039;: ESX/ESXi 3.5u2+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9321&lt;br /&gt;
&lt;br /&gt;
This script provide administrators with a means to automatically clone and deploy a large subset of virtual machines into a virtual environment without requiring tedious Service Console work or Virtual Center. Furthermore, for ease of accessibility, the free [http://www.vmware.com/support/developer/vima/ VMware VIMA] appliance was chosen as the central launch point for the cloning process. &#039;&#039;&#039;ghettoClone.sh&#039;&#039;&#039; is executed from within VIMA and is compatible with both ESX and ESXi 3.5u2+. It accepts a single source virtual machine along with inputted configuration parameters to tailor cloned virtual machines.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Free_VM_Clone_utility_for_ESX_and_ESXi&amp;diff=775</id>
		<title>Free VM Clone utility for ESX and ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Free_VM_Clone_utility_for_ESX_and_ESXi&amp;diff=775"/>
		<updated>2009-01-13T16:54:38Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoClone.sh ghettoClone.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Requires&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/my-vmregister.pl my-vmregister.pl]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatible with&#039;&#039;&#039;: ESX/ESXi 3.5u2+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9321&lt;br /&gt;
&lt;br /&gt;
This script provide administrators with a means to automatically clone and deploy a large subset of virtual machines into a virtual environment without requiring tedious Service Console work or Virtual Center. Furthermore, for ease of accessibility, the free VMware VIMA appliance was chosen as the central launch point for the cloning process. &#039;&#039;&#039;ghettoClone.sh&#039;&#039;&#039; is executed from within VIMA and is compatible with both ESX and ESXi 3.5u2+. It accepts a single source virtual machine along with inputted configuration parameters to tailor cloned virtual machines.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Free_VM_Clone_utility_for_ESX_and_ESXi&amp;diff=774</id>
		<title>Free VM Clone utility for ESX and ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Free_VM_Clone_utility_for_ESX_and_ESXi&amp;diff=774"/>
		<updated>2009-01-13T16:54:26Z</updated>

		<summary type="html">&lt;p&gt;Lamw: New page: &amp;#039;&amp;#039;&amp;#039;Download script&amp;#039;&amp;#039;&amp;#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoClone.sh ghettoClone.sh]  &amp;#039;&amp;#039;&amp;#039;Requires&amp;#039;&amp;#039;&amp;#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/my-vmregister.pl my-vmregister.pl...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoClone.sh ghettoClone.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Requires&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/my-vmregister.pl my-vmregister.pl]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatible with&#039;&#039;&#039;: ESX/ESXi 3.5u2+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9321&lt;br /&gt;
&lt;br /&gt;
This script provide administrators with a means to automatically clone and deploy a large subset of virtual machines into a virtual environment without requiring tedious Service Console work or Virtual Center. Furthermore, for ease of accessibility, the free VMware VIMA appliance was chosen as the central launch point for the cloning process. ghettoClone.sh is executed from within VIMA and is compatible with both ESX and ESXi 3.5u2+. It accepts a single source virtual machine along with inputted configuration parameters to tailor cloned virtual machines.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=773</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=773"/>
		<updated>2009-01-13T16:51:15Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== VMware RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware RCLI?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VI Perl Toolkit =====&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html VI Perl Toolkit command documentation]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html &lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI &amp;amp; VI Perl Toolkit scripts ====&lt;br /&gt;
&lt;br /&gt;
[[Free VM Clone utility for ESX and ESXi]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=VI-Toolkit:Community_Portal&amp;diff=772</id>
		<title>VI-Toolkit:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=VI-Toolkit:Community_Portal&amp;diff=772"/>
		<updated>2009-01-10T00:22:41Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Main Index ====&lt;br /&gt;
The starting point for any developer is http://www.vmware.com/developer but as there is a overwhelming amount of information available, we are trying to make it easier accessible on this site.&lt;br /&gt;
&lt;br /&gt;
Hopefully we&#039;ll succeed at that over time, it is a pretty high goal. It certainly isn&#039;t the case yet, but time will tell.&lt;br /&gt;
&lt;br /&gt;
[[SDK]]&lt;br /&gt;
&lt;br /&gt;
[[Java]]&lt;br /&gt;
&lt;br /&gt;
[[Perl]]&lt;br /&gt;
&lt;br /&gt;
[[PowerShell]]&lt;br /&gt;
&lt;br /&gt;
[[VI Plugin]]&lt;br /&gt;
&lt;br /&gt;
[[scripts]]&lt;br /&gt;
&lt;br /&gt;
[[Projects]]&lt;br /&gt;
&lt;br /&gt;
[[Virtualisation technical articles]]&lt;br /&gt;
&lt;br /&gt;
==== Management Virtual Machines  ====&lt;br /&gt;
VMware ESX 3.5 and earlier had the management Service Console, a stripped down RHEL console which was could be used for automating and managing your virtual machines. As of ESXi 3.5 this is no longer available and the future is to move away from this &amp;quot;fat hypervisor&amp;quot;. In order to manage your virtual machines in a similar way as before, we now have special virtual machine that come with management software pre-installed. VMware delivers this as a virtual appliances called VMware [[VIMA]] containing [[RCLI]] (Remote CLI) and VMware [[VI Perl Toolkit]] to aide in managing your VI infrastructure.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=771</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=771"/>
		<updated>2009-01-10T00:22:03Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== VMware RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware RCLI?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VI Perl Toolkit =====&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html VI Perl Toolkit command documentation]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html &lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI &amp;amp; VI Perl Toolkit scripts ====&lt;br /&gt;
&lt;br /&gt;
COMING SOON&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=VI-Toolkit:Community_Portal&amp;diff=770</id>
		<title>VI-Toolkit:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=VI-Toolkit:Community_Portal&amp;diff=770"/>
		<updated>2009-01-10T00:21:39Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Main Index ====&lt;br /&gt;
The starting point for any developer is http://www.vmware.com/developer but as there is a overwhelming amount of information available, we are trying to make it easier accessible on this site.&lt;br /&gt;
&lt;br /&gt;
Hopefully we&#039;ll succeed at that over time, it is a pretty high goal. It certainly isn&#039;t the case yet, but time will tell.&lt;br /&gt;
&lt;br /&gt;
[[SDK]]&lt;br /&gt;
&lt;br /&gt;
[[Java]]&lt;br /&gt;
&lt;br /&gt;
[[Perl]]&lt;br /&gt;
&lt;br /&gt;
[[PowerShell]]&lt;br /&gt;
&lt;br /&gt;
[[VI Plugin]]&lt;br /&gt;
&lt;br /&gt;
[[scripts]]&lt;br /&gt;
&lt;br /&gt;
[[Projects]]&lt;br /&gt;
&lt;br /&gt;
[[Virtualisation technical articles]]&lt;br /&gt;
&lt;br /&gt;
==== Management Virtual Machines  ====&lt;br /&gt;
VMware ESX 3.5 and earlier had the management Service Console, a stripped down RHEL console which was could be used for automating and managing your virtual machines. As of ESXi 3.5 this is no longer available and the future is to move away from this &amp;quot;fat hypervisor&amp;quot;. In order to manage your virtual machines in a similar way as before, we now have special virtual machine that come with management software pre-installed. VMware delivers this as a virtual appliances called VMware [[VIMA]] containing [[RCLI]] (Remote CLI) and [[VI Perl Toolkit]] to aide in managing your VI infrastructure.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=VI-Toolkit:Community_Portal&amp;diff=769</id>
		<title>VI-Toolkit:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=VI-Toolkit:Community_Portal&amp;diff=769"/>
		<updated>2009-01-10T00:21:20Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Main Index ====&lt;br /&gt;
The starting point for any developer is http://www.vmware.com/developer but as there is a overwhelming amount of information available, we are trying to make it easier accessible on this site.&lt;br /&gt;
&lt;br /&gt;
Hopefully we&#039;ll succeed at that over time, it is a pretty high goal. It certainly isn&#039;t the case yet, but time will tell.&lt;br /&gt;
&lt;br /&gt;
[[SDK]]&lt;br /&gt;
&lt;br /&gt;
[[Java]]&lt;br /&gt;
&lt;br /&gt;
[[Perl]]&lt;br /&gt;
&lt;br /&gt;
[[PowerShell]]&lt;br /&gt;
&lt;br /&gt;
[[VI Plugin]]&lt;br /&gt;
&lt;br /&gt;
[[scripts]]&lt;br /&gt;
&lt;br /&gt;
[[Projects]]&lt;br /&gt;
&lt;br /&gt;
[[Virtualisation technical articles]]&lt;br /&gt;
&lt;br /&gt;
==== Management Virtual Machines  ====&lt;br /&gt;
VMware ESX 3.5 and earlier had the management Service Console, a stripped down RHEL console which was could be used for automating and managing your virtual machines. As of ESXi 3.5 this is no longer available and the future is to move away from this &amp;quot;fat hypervisor&amp;quot;. In order to manage your virtual machines in a similar way as before, we now have special virtual machine that come with management software pre-installed. VMware delivers this as a virtual appliances called VMware [[VIMA]] containing [[RCLI]] (Remote CLI) and VI Perl Toolkit to aide in managing your VI infrastructure.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=766</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=766"/>
		<updated>2009-01-06T00:38:46Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== VMware RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware RCLI?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VI Perl Toolkit =====&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html VI Perl Toolkit command documentation]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html &lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== VI Perl Toolkit scripts ====&lt;br /&gt;
&lt;br /&gt;
COMING SOON&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI scripts ====&lt;br /&gt;
&lt;br /&gt;
COMING SOON&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vimsh&amp;diff=765</id>
		<title>Vimsh</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vimsh&amp;diff=765"/>
		<updated>2009-01-05T23:47:01Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== The VI metashell ====&lt;br /&gt;
&lt;br /&gt;
The Virtual Infrastructure metashell is an undocumented and unsupported shell accessible from within the console on an ESX server.&lt;br /&gt;
It can be invoked from the shell when logged in as root user as an interactive shell.&lt;br /&gt;
You can do almost anything from it what you can do from the Virtual Infrastructure client and is more powerful as the normal [[RCLI]] console commands.&lt;br /&gt;
&lt;br /&gt;
Below is some output of the shell that you get to see and the output of the &amp;quot;?&amp;quot; command:&lt;br /&gt;
&lt;br /&gt;
 [/]$ ?&lt;br /&gt;
 hostsvc/      vmsvc/        csinfo        help          puload&lt;br /&gt;
 internalsvc/  ?             csls          pinfo         puse&lt;br /&gt;
 proxysvc/     argtype       csuimport     pload         quit&lt;br /&gt;
 solo/         cls           echo          ploadpath     sleep&lt;br /&gt;
 vimsvc/       csimport      exit          pls           source&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There&#039;s a separation between plugins and direct commands. The items from the list above that end in a &amp;quot;/&amp;quot; are plugins. (is this true or are they just idicating that there&#039;s a submenu?) You can use tab-completion in order to find the available parameters for any of the commands.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
In recent versions of ESX (ESX3.5+), there&#039;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 &amp;quot;command&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ESX 3.0.x+&#039;&#039;&#039;&lt;br /&gt;
  /usr/bin/vimsh -n -e &amp;quot;command&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ESX 3.5+&#039;&#039;&#039; &lt;br /&gt;
 /usr/bin/vimsh -n -e &amp;quot;command&amp;quot;&lt;br /&gt;
 /usr/bin/vmware-vimsh &amp;quot;command&amp;quot;&lt;br /&gt;
 /usr/bin/vmware-vim-cmd &amp;quot;command&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ESXi 3.5+&#039;&#039;&#039;&lt;br /&gt;
 /bin/vim-cmd &amp;quot;command&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== List of commands ====&lt;br /&gt;
&lt;br /&gt;
Following is a list of the available commands (the vimsh: prefix is only included as a namespace, so that it won&#039;t clash with other parts in the wiki)&lt;br /&gt;
&lt;br /&gt;
Over time I will try to add the info found about this in here (help would be EXTREMELY appreciated) right now it just lists what is available in the online help and in many cases some example output of the commands.&lt;br /&gt;
&lt;br /&gt;
 [[vimsh: hostsvc/]]&lt;br /&gt;
 [[vimsh: internalsvc/]]&lt;br /&gt;
 [[vimsh: proxysvc/]]&lt;br /&gt;
 [[vimsh: solo/]]&lt;br /&gt;
 [[vimsh: vimsvc/]]&lt;br /&gt;
 [[vimsh: vmsvc/]]        &lt;br /&gt;
 [[vimsh: ?]]&lt;br /&gt;
 [[vimsh: argtype]]&lt;br /&gt;
 [[vimsh: cls]]&lt;br /&gt;
 [[vimsh: csimport]]&lt;br /&gt;
 [[vimsh: csinfo]]&lt;br /&gt;
 [[vimsh: csls]]&lt;br /&gt;
 [[vimsh: csuimport]]&lt;br /&gt;
 [[vimsh: echo]]&lt;br /&gt;
 [[vimsh: exit]]&lt;br /&gt;
 [[vimsh: help]]&lt;br /&gt;
 [[vimsh: puload]]&lt;br /&gt;
 [[vimsh: pinfo]]&lt;br /&gt;
 [[vimsh: pload]]&lt;br /&gt;
 [[vimsh: ploadpath]]&lt;br /&gt;
 [[vimsh: pls]]&lt;br /&gt;
 [[vimsh: puse]]          &lt;br /&gt;
 [[vimsh: quit]]          &lt;br /&gt;
 [[vimsh: sleep]]         &lt;br /&gt;
 [[vimsh: source]]&lt;br /&gt;
&lt;br /&gt;
==== Background info ====&lt;br /&gt;
&lt;br /&gt;
This command has its origin as a support shell only. &lt;br /&gt;
It is rumored about that vimsh will be supported in one of the upcoming versions of ESX &lt;br /&gt;
&lt;br /&gt;
==== External links ====&lt;br /&gt;
&lt;br /&gt;
As there&#039;s no official documentation, here&#039;s the link to the current authorative documentation:&lt;br /&gt;
* [http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
Example usage (article in dutch)&lt;br /&gt;
* [http://www.l4l.be/docs/virt/vimsh.php Voorbeelden gebruik VIMSH]&lt;br /&gt;
&lt;br /&gt;
Other articles with examples:&lt;br /&gt;
* [http://www.rtfm-ed.co.uk/?p=372 Updated: Enabling VMotion from the CLI/Kickstart Script]&lt;br /&gt;
&lt;br /&gt;
* [http://effectief.blogspot.com/2007/09/vimsh-handy-vmware-esx-command-line.html Koen Warsons blog: handy Vmware ESX Command line tool]&lt;br /&gt;
&lt;br /&gt;
* [http://vmwaretips.com/wp/2008/09/12/netapp-snapshots-in-esx/#more-20 NetApp Snapshots in ESX]&lt;br /&gt;
&lt;br /&gt;
* [http://malaysiavm.com/blog/how-to-update-vmware-esx-patch-using-cli/ How-to update vmware ESX using CLI]&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]][[Category: SDK]][[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vimsh:_argtype&amp;diff=764</id>
		<title>Vimsh: argtype</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vimsh:_argtype&amp;diff=764"/>
		<updated>2009-01-05T23:44:14Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh argtype command ====&lt;br /&gt;
&lt;br /&gt;
Usage: argtype&lt;br /&gt;
&lt;br /&gt;
Lists the registered argument types.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vimsh -n -e &amp;quot;argtype&amp;quot;&lt;br /&gt;
 [2009-01-05 15:43:00.039 &#039;App&#039; 3076460672 info] Current working directory: /usr/lib/vmware/hostd&lt;br /&gt;
 [2009-01-05 15:43:00.040 &#039;BaseLibs&#039; 3076460672 info] HOSTINFO: Seeing Intel CPU, numCoresPerCPU 4 numThreadsPerCore 1.&lt;br /&gt;
 [2009-01-05 15:43:00.041 &#039;BaseLibs&#039; 3076460672 info] HOSTINFO: hyperthreading disabled, setting number of threads per core to 1.&lt;br /&gt;
 [2009-01-05 15:43:00.042 &#039;BaseLibs&#039; 3076460672 info] HOSTINFO: This machine has 2 physical CPUS, 8 total cores, and 8 logical CPUs.&lt;br /&gt;
 [2009-01-05 15:43:00.043 &#039;BaseLibs&#039; 3076460672 info] System libcrypto.so.0.9.7 library is older than our library (90701F &amp;lt; 90709F)&lt;br /&gt;
 [2009-01-05 15:43:00.044 &#039;App&#039; 3076460672 info] Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000&lt;br /&gt;
 [2009-01-05 15:43:00.065 &#039;BaseLibs&#039; 9333680 warning] [Vmdb_Unset] Unsetting unknown path: /vmomi/&lt;br /&gt;
 account_user              host_mode_lock_type       scsi_disk_device&lt;br /&gt;
 advanced_option_key       lic_addons                scsi_lun&lt;br /&gt;
 argtype                   lic_editions              scsi_lun_type&lt;br /&gt;
 auth_privilege_id         lic_source                scsi_lun_vmhba&lt;br /&gt;
 auth_role_name            local_file_path           scsi_lun_vmtype&lt;br /&gt;
 bool                      managed_entity_moid       task_id&lt;br /&gt;
 console_virtual_nic       multipath_lun_policy      virtual_nic&lt;br /&gt;
 datastore                 multipath_path            virtual_switch&lt;br /&gt;
 debug_exception_variable  pci_device                vm_id&lt;br /&gt;
 diagnostic_storage_type   perfcount_query_moid      vm_message_choice_key&lt;br /&gt;
 diagnostic_type           perfcount_registry_path   vm_message_id&lt;br /&gt;
 fs_volume_label           physical_nic              vmfs_blocksize&lt;br /&gt;
 host_bus_adapter          physical_nic_mb           vmfs_majorversion&lt;br /&gt;
 host_bus_adapter_type     portgroup                 vmotion_vnic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.snapshotinfo&amp;diff=763</id>
		<title>Vmsvc/get.snapshotinfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.snapshotinfo&amp;diff=763"/>
		<updated>2009-01-05T23:41:48Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh vmsvc/get.snapshotinfo ====&lt;br /&gt;
Usage: get.snapshotinfo vmid&lt;br /&gt;
&lt;br /&gt;
Show the snapshot information for this virtual machine.&lt;br /&gt;
&lt;br /&gt;
==== Example output =====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd vmsvc/get.snapshotinfo 60064&lt;br /&gt;
 (vim.vm.SnapshotInfo) {&lt;br /&gt;
   dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   currentSnapshot = &#039;vim.vm.Snapshot:/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/WILLIAM-LC-18/WILLIAM-LC-18.vmx-snapshot-1&#039;,&lt;br /&gt;
   rootSnapshotList = (vim.vm.SnapshotTree) [&lt;br /&gt;
      (vim.vm.SnapshotTree) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         snapshot = &#039;vim.vm.Snapshot:/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/WILLIAM-LC-18/WILLIAM-LC-18.vmx-snapshot-1&#039;,&lt;br /&gt;
         vm = &#039;vim.VirtualMachine:60064&#039;,&lt;br /&gt;
         name = &amp;quot;Linked_Cloned&amp;quot;,&lt;br /&gt;
         description = &amp;quot;WILLIAM-LC-18_Cloned_from_UCSB-GAUCHOS&amp;quot;,&lt;br /&gt;
         createTime = &amp;quot;2009-01-03T15:03:44.288377-08:00&amp;quot;,&lt;br /&gt;
         state = &amp;quot;poweredOff&amp;quot;,&lt;br /&gt;
         quiesced = false,&lt;br /&gt;
      }&lt;br /&gt;
   ],&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.disabledmethods&amp;diff=762</id>
		<title>Vmsvc/get.disabledmethods</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.disabledmethods&amp;diff=762"/>
		<updated>2009-01-05T23:38:41Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh vmsvc/get.disabledmethods ====&lt;br /&gt;
Usage: get.disabledmethods vmid&lt;br /&gt;
&lt;br /&gt;
Show the list of disabled methods on the virtual machine.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd vmsvc/get.disabledmethods 31168&lt;br /&gt;
 Disabled methods:&lt;br /&gt;
 (vmodl.MethodName) [&lt;br /&gt;
   &amp;quot;vim.ExtensibleManagedObject.setCustomValue&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.ManagedEntity.destroy&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.revertToCurrentSnapshot&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.removeAllSnapshots&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.upgradeVirtualHardware&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.powerOn&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.answer&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.customize&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.checkCustomizationSpec&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.migrate&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.relocate&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.clone&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.markAsTemplate&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.markAsVirtualMachine&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.unregister&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.resetGuestInformation&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.unmountToolsInstaller&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.upgradeTools&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.setScreenResolution&amp;quot;,&lt;br /&gt;
   &amp;quot;vim.VirtualMachine.defragmentAllDisks&amp;quot;&lt;br /&gt;
 ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.datastores&amp;diff=761</id>
		<title>Vmsvc/get.datastores</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.datastores&amp;diff=761"/>
		<updated>2009-01-05T23:37:18Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh vmsvc/get.datastore ====&lt;br /&gt;
Usage: get.datastores vmid&lt;br /&gt;
&lt;br /&gt;
Show the list of datastores for this virtual machine.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd vmsvc/get.datastore 31168&lt;br /&gt;
 name                 himalaya-local-SAS.VMStorage&lt;br /&gt;
 url                  /vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886&lt;br /&gt;
 capacity             293131517952&lt;br /&gt;
 freeSpace            60166242304&lt;br /&gt;
 accessible           1&lt;br /&gt;
 type                 VMFS &lt;br /&gt;
 multipleHostAccess   &amp;lt;unset&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.config.cpuidmask&amp;diff=760</id>
		<title>Vmsvc/get.config.cpuidmask</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.config.cpuidmask&amp;diff=760"/>
		<updated>2009-01-05T23:35:28Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh vmsvc/get.config.cpuidmask ====&lt;br /&gt;
Usage: get.config.cpuidmask vmid&lt;br /&gt;
&lt;br /&gt;
Retrieves and displays the cpu id masks for this virtual machine&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd vmsvc/get.config.cpuidmask 31168&lt;br /&gt;
 (vim.host.CpuIdInfo) [&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = 0,&lt;br /&gt;
      vendor = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = 0,&lt;br /&gt;
      vendor = &amp;quot;amd&amp;quot;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = 1,&lt;br /&gt;
      vendor = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = 1,&lt;br /&gt;
      vendor = &amp;quot;amd&amp;quot;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = -2147483648,&lt;br /&gt;
      vendor = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = -2147483648,&lt;br /&gt;
      vendor = &amp;quot;amd&amp;quot;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = -2147483647,&lt;br /&gt;
      vendor = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = -2147483647,&lt;br /&gt;
      vendor = &amp;quot;amd&amp;quot;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = -2147483640,&lt;br /&gt;
      vendor = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.host.CpuIdInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      level = -2147483640,&lt;br /&gt;
      vendor = &amp;quot;amd&amp;quot;,&lt;br /&gt;
      eax = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ebx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      ecx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      edx = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   }&lt;br /&gt;
 ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.config&amp;diff=759</id>
		<title>Vmsvc/get.config</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vmsvc/get.config&amp;diff=759"/>
		<updated>2009-01-05T23:34:02Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh vmsvc/get.config ====&lt;br /&gt;
Usage: get.config vmid&lt;br /&gt;
&lt;br /&gt;
Retrieves and displays the configuration object for the vm.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd vmsvc/get.config 31168&lt;br /&gt;
 Configuration:&lt;br /&gt;
 (vim.vm.ConfigInfo) {&lt;br /&gt;
   dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   changeVersion = &amp;quot;2009-01-01T01:13:08.765224Z&amp;quot;,&lt;br /&gt;
   modified = &amp;quot;1970-01-01T00:00:00Z&amp;quot;,&lt;br /&gt;
   name = &amp;quot;VIMA&amp;quot;,&lt;br /&gt;
   guestFullName = &amp;quot;Red Hat Enterprise Linux 3 (64-bit)&amp;quot;,&lt;br /&gt;
   version = &amp;quot;vmx-04&amp;quot;,&lt;br /&gt;
   uuid = &amp;quot;5034d5e6-3add-6386-7d1e-01449596f169&amp;quot;,&lt;br /&gt;
   npivWorldWideNameType = &amp;quot;&amp;quot;,&lt;br /&gt;
   locationId = &amp;quot;564ded5c-9488-f275-fbd5-cecb5e9a482f&amp;quot;,&lt;br /&gt;
   template = false,&lt;br /&gt;
   guestId = &amp;quot;rhel3_64Guest&amp;quot;,&lt;br /&gt;
   alternateGuestName = &amp;quot;Red Hat Enterprise Linux 3 (64-bit)&amp;quot;,&lt;br /&gt;
   annotation = &amp;quot;This OVF file contains the VMware Infrastructure Management Assistant (VIMA) virtual machine.&amp;quot;,&lt;br /&gt;
   files = (vim.vm.FileInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      vmPathName = &amp;quot;[himalaya-local-SAS.VMStorage] VIMA/VIMA.vmx&amp;quot;,&lt;br /&gt;
      snapshotDirectory = &amp;quot;[himalaya-local-SAS.VMStorage] VIMA&amp;quot;,&lt;br /&gt;
      suspendDirectory = &amp;quot;[himalaya-local-SAS.VMStorage] VIMA&amp;quot;,&lt;br /&gt;
      logDirectory = &amp;quot;[himalaya-local-SAS.VMStorage] VIMA&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   tools = (vim.vm.ToolsConfigInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      toolsVersion = 119584,&lt;br /&gt;
      afterPowerOn = true,&lt;br /&gt;
      afterResume = true,&lt;br /&gt;
      beforeGuestStandby = true,&lt;br /&gt;
      beforeGuestShutdown = true,&lt;br /&gt;
      beforeGuestReboot = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      toolsUpgradePolicy = &amp;quot;manual&amp;quot;,&lt;br /&gt;
      pendingCustomization = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      syncTimeWithHost = false,&lt;br /&gt;
   },&lt;br /&gt;
   flags = (vim.vm.FlagInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      disableAcceleration = false,&lt;br /&gt;
      enableLogging = true,&lt;br /&gt;
      useToe = false,&lt;br /&gt;
      runWithDebugInfo = false,&lt;br /&gt;
      monitorType = &amp;quot;release&amp;quot;,&lt;br /&gt;
      htSharing = &amp;quot;any&amp;quot;,&lt;br /&gt;
      snapshotDisabled = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      snapshotLocked = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      diskUuidEnabled = false,&lt;br /&gt;
      virtualMmuUsage = &amp;quot;automatic&amp;quot;,&lt;br /&gt;
      snapshotPowerOffBehavior = &amp;quot;powerOff&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   consolePreferences = (vim.vm.ConsolePreferences) null,&lt;br /&gt;
   defaultPowerOps = (vim.vm.DefaultPowerOpInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      powerOffType = &amp;quot;preset&amp;quot;,&lt;br /&gt;
      suspendType = &amp;quot;preset&amp;quot;,&lt;br /&gt;
      resetType = &amp;quot;preset&amp;quot;,&lt;br /&gt;
      defaultPowerOffType = &amp;quot;hard&amp;quot;,&lt;br /&gt;
      defaultSuspendType = &amp;quot;hard&amp;quot;,&lt;br /&gt;
      defaultResetType = &amp;quot;hard&amp;quot;,&lt;br /&gt;
      standbyAction = &amp;quot;checkpoint&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   hardware = (vim.vm.VirtualHardware) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      numCPU = -1257091211,&lt;br /&gt;
      memoryMB = 286660,&lt;br /&gt;
   },&lt;br /&gt;
   cpuAllocation = (vim.ResourceAllocationInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      reservation = 0,&lt;br /&gt;
      expandableReservation = false,&lt;br /&gt;
      limit = 18080,&lt;br /&gt;
      shares = (vim.SharesInfo) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         shares = 1000,&lt;br /&gt;
         level = &amp;quot;normal&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      overheadLimit = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   memoryAllocation = (vim.ResourceAllocationInfo) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      reservation = 0,&lt;br /&gt;
      expandableReservation = false,&lt;br /&gt;
      limit = -1,&lt;br /&gt;
      shares = (vim.SharesInfo) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         shares = 5120,&lt;br /&gt;
         level = &amp;quot;normal&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      overheadLimit = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   },&lt;br /&gt;
   cpuAffinity = (vim.vm.AffinityInfo) null,&lt;br /&gt;
   memoryAffinity = (vim.vm.AffinityInfo) null,&lt;br /&gt;
   networkShaper = (vim.vm.NetworkShaperInfo) null,&lt;br /&gt;
   extraConfig = (vim.option.OptionValue) [&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;deploymentPlatform&amp;quot;,&lt;br /&gt;
         value = &amp;quot;windows&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;ethernet1.features&amp;quot;,&lt;br /&gt;
         value = &amp;quot;15&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;evcCompatibilityMode&amp;quot;,&lt;br /&gt;
         value = &amp;quot;false&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;guestCPUID.0&amp;quot;,&lt;br /&gt;
         value = &amp;quot;0000000a756e65476c65746e49656e69&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;guestCPUID.1&amp;quot;,&lt;br /&gt;
         value = &amp;quot;0001067800010800000822010febfbff&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;guestCPUID.80000001&amp;quot;,&lt;br /&gt;
         value = &amp;quot;00000000000000000000000120100000&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;hostCPUID.0&amp;quot;,&lt;br /&gt;
         value = &amp;quot;0000000a756e65476c65746e49656e69&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;hostCPUID.1&amp;quot;,&lt;br /&gt;
         value = &amp;quot;0001067600040800000ce3bdbfebfbff&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;hostCPUID.80000001&amp;quot;,&lt;br /&gt;
         value = &amp;quot;00000000000000000000000120100000&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;nvram&amp;quot;,&lt;br /&gt;
         value = &amp;quot;VIMA.nvram&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;sched.swap.derivedName&amp;quot;,&lt;br /&gt;
         value = &amp;quot;/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/VIMA/VIMA-6561511b.vswp&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;scsi0:0.redo&amp;quot;,&lt;br /&gt;
         value = &amp;quot;&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;userCPUID.0&amp;quot;,&lt;br /&gt;
         value = &amp;quot;0000000a756e65476c65746e49656e69&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;userCPUID.1&amp;quot;,&lt;br /&gt;
         value = &amp;quot;0001067600040800000822010febfbff&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;userCPUID.80000001&amp;quot;,&lt;br /&gt;
         value = &amp;quot;00000000000000000000000120100000&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;virtualHW.productCompatibility&amp;quot;,&lt;br /&gt;
         value = &amp;quot;hosted&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;vmware.tools.internalversion&amp;quot;,&lt;br /&gt;
         value = &amp;quot;7302&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;vmware.tools.requiredversion&amp;quot;,&lt;br /&gt;
         value = &amp;quot;7302&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;vmware.tools.installstate&amp;quot;,&lt;br /&gt;
         value = &amp;quot;none&amp;quot;,&lt;br /&gt;
      },&lt;br /&gt;
      (vim.option.OptionValue) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         key = &amp;quot;vmware.tools.lastInstallStatus.result&amp;quot;,&lt;br /&gt;
         value = &amp;quot;unknown&amp;quot;,&lt;br /&gt;
      }&lt;br /&gt;
   ],&lt;br /&gt;
   datastoreUrl = (vim.vm.ConfigInfo.DatastoreUrlPair) [&lt;br /&gt;
      (vim.vm.ConfigInfo.DatastoreUrlPair) {&lt;br /&gt;
         dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
         name = &amp;quot;himalaya-local-SAS.VMStorage&amp;quot;,&lt;br /&gt;
         url = &amp;quot;/vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/&amp;quot;,&lt;br /&gt;
      }&lt;br /&gt;
   ],&lt;br /&gt;
   swapPlacement = &amp;quot;inherit&amp;quot;,&lt;br /&gt;
   bootOptions = (vim.vm.BootOptions) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      bootDelay = 0,&lt;br /&gt;
      enterBIOSSetup = false,&lt;br /&gt;
   },&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Vimsvc/task_list&amp;diff=758</id>
		<title>Vimsvc/task list</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Vimsvc/task_list&amp;diff=758"/>
		<updated>2009-01-05T23:31:17Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh vimsvc/task_list ====&lt;br /&gt;
Usage: task_list&lt;br /&gt;
&lt;br /&gt;
Get list of recent tasks.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd vimsvc/task_list&lt;br /&gt;
 (ManagedObjectReference) [&lt;br /&gt;
   &#039;vim.Task:haTask-ha-root-pool-vim.ResourcePool.updateConfig-51467&#039;,&lt;br /&gt;
   &#039;vim.Task:haTask-ha-root-pool-vim.ResourcePool.updateConfig-51468&#039;,&lt;br /&gt;
   &#039;vim.Task:haTask-ha-root-pool-vim.ResourcePool.updateConfig-51491&#039;,&lt;br /&gt;
   &#039;vim.Task:haTask-ha-root-pool-vim.ResourcePool.updateConfig-51492&#039;&lt;br /&gt;
 ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Proxysvc/service_list&amp;diff=757</id>
		<title>Proxysvc/service list</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Proxysvc/service_list&amp;diff=757"/>
		<updated>2009-01-05T23:30:00Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh proxysvc/service_list ====&lt;br /&gt;
Usage: service_list&lt;br /&gt;
&lt;br /&gt;
Get the list of services being proxied.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd proxysvc/service_list&lt;br /&gt;
 (vim.ProxyService.EndpointSpec) [&lt;br /&gt;
   (vim.ProxyService.NamedPipeServiceSpec) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      serverNamespace = &amp;quot;/&amp;quot;,&lt;br /&gt;
      accessMode = &amp;quot;httpsWithRedirect&amp;quot;,&lt;br /&gt;
      pipeName = &amp;quot;/var/run/vmware/proxy-webserver&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.ProxyService.NamedPipeServiceSpec) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      serverNamespace = &amp;quot;/client/clients.xml&amp;quot;,&lt;br /&gt;
      accessMode = &amp;quot;httpAndHttps&amp;quot;,&lt;br /&gt;
      pipeName = &amp;quot;/var/run/vmware/proxy-webserver&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.ProxyService.NamedPipeServiceSpec) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      serverNamespace = &amp;quot;/mob&amp;quot;,&lt;br /&gt;
      accessMode = &amp;quot;httpsWithRedirect&amp;quot;,&lt;br /&gt;
      pipeName = &amp;quot;/var/run/vmware/proxy-mob&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.ProxyService.NamedPipeServiceSpec) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      serverNamespace = &amp;quot;/sdk&amp;quot;,&lt;br /&gt;
      accessMode = &amp;quot;httpsWithRedirect&amp;quot;,&lt;br /&gt;
      pipeName = &amp;quot;/var/run/vmware/proxy-sdk&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.ProxyService.LocalServiceSpec) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      serverNamespace = &amp;quot;/ui&amp;quot;,&lt;br /&gt;
      accessMode = &amp;quot;httpsWithRedirect&amp;quot;,&lt;br /&gt;
      port = 8080,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.ProxyService.NamedPipeServiceSpec) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      serverNamespace = &amp;quot;/vpxa&amp;quot;,&lt;br /&gt;
      accessMode = &amp;quot;httpsOnly&amp;quot;,&lt;br /&gt;
      pipeName = &amp;quot;/var/run/vmware/proxy-vpxa&amp;quot;,&lt;br /&gt;
   },&lt;br /&gt;
   (vim.ProxyService.LocalServiceSpec) {&lt;br /&gt;
      dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
      serverNamespace = &amp;quot;/wsman&amp;quot;,&lt;br /&gt;
      accessMode = &amp;quot;httpsWithRedirect&amp;quot;,&lt;br /&gt;
      port = 8889,&lt;br /&gt;
   }&lt;br /&gt;
 ]&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Hostsvc/memoryinfo&amp;diff=756</id>
		<title>Hostsvc/memoryinfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Hostsvc/memoryinfo&amp;diff=756"/>
		<updated>2009-01-05T23:26:41Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Vimsh hostsvc/memoryinfo ====&lt;br /&gt;
Usage: memoryinfo [memoryCfg]&lt;br /&gt;
&lt;br /&gt;
Get the memory information.  If memoryCfg is specified, sets configured memory.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd hostsvc/memoryinfo&lt;br /&gt;
 (vim.host.MemoryManagerSystem.ServiceConsoleReservationInfo) {&lt;br /&gt;
   dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   serviceConsoleReservedCfg = 838860800,&lt;br /&gt;
   serviceConsoleReserved = 838860800,&lt;br /&gt;
   unreserved = 12045254656,&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Solo/registervm&amp;diff=755</id>
		<title>Solo/registervm</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Solo/registervm&amp;diff=755"/>
		<updated>2009-01-05T23:22:56Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh solo/registervm ====&lt;br /&gt;
Usage: registervm vm path [name] [resourcepool]&lt;br /&gt;
&lt;br /&gt;
registervm [cfg path] [name(optional)] [resourcepool(optional)]&lt;br /&gt;
&lt;br /&gt;
Register the vm&lt;br /&gt;
&lt;br /&gt;
==== Example ==== &lt;br /&gt;
&lt;br /&gt;
To register a VM and assign it to a given resource pool, you can do the following (Assuming you have a VM named *UCSB-GAUCHOS* and Resource Pool named *UCSB-DEV-RP*:&lt;br /&gt;
&lt;br /&gt;
  vmware-vim-cmd solo/registervm /vmfs/volumes/olga-local-SAS.Storage/UCSB-GAUCHOS/UCSB-GAUCHOS.vmx UCSB-GAUCHOS `cat /etc/vmware/hostd/pools.xml | grep &amp;quot;UCSB-DEV-RP&amp;quot; -A1 | grep &amp;quot;&amp;lt;objID&amp;gt;&amp;quot; | sed &#039;s/&amp;lt;objID&amp;gt;//;s/&amp;lt;\/objID&amp;gt;//g&#039; | sed -e &#039;s/^[[:blank:]]*//;s/[[:blank:]]*$//&#039;`&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Hostsvc/rsrc/pools_get&amp;diff=754</id>
		<title>Hostsvc/rsrc/pools get</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Hostsvc/rsrc/pools_get&amp;diff=754"/>
		<updated>2009-01-05T23:22:03Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh hostsvc/rsrc/pools_get ====&lt;br /&gt;
Usage: pools_get poolId&lt;br /&gt;
&lt;br /&gt;
Get the list of pools nested within the specified pool.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To extract the poolId, you actually have to look in the following file:&lt;br /&gt;
&lt;br /&gt;
  /etc/vmware/hostd/pools.xml&lt;br /&gt;
&lt;br /&gt;
Here is a quick snippet of code to extract the poolId based on a VM Name:&lt;br /&gt;
&lt;br /&gt;
  cat /etc/vmware/hostd/pools.xml | grep &amp;quot;RESOURCE_POOL_NAME&amp;quot; -A1 | grep &amp;quot;&amp;lt;objID&amp;gt;&amp;quot; | sed &#039;s/&amp;lt;objID&amp;gt;//;s/&amp;lt;\/objID&amp;gt;//g&#039; | sed -e &#039;s/^[[:blank:]]*//;s/[[:blank:]]*$//&#039;  &lt;br /&gt;
&lt;br /&gt;
To register a VM and assign it to a given resource pool, you can do the following (Assuming you have a VM named *UCSB-GAUCHOS* and Resource Pool named *UCSB-DEV-RP*:&lt;br /&gt;
&lt;br /&gt;
  vmware-vim-cmd solo/registervm /vmfs/volumes/olga-local-SAS.Storage/UCSB-GAUCHOS/UCSB-GAUCHOS.vmx UCSB-GAUCHOS `cat /etc/vmware/hostd/pools.xml | grep &amp;quot;UCSB-DEV-RP&amp;quot; -A1 | grep &amp;quot;&amp;lt;objID&amp;gt;&amp;quot; | sed &#039;s/&amp;lt;objID&amp;gt;//;s/&amp;lt;\/objID&amp;gt;//g&#039; | sed -e &#039;s/^[[:blank:]]*//;s/[[:blank:]]*$//&#039;`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Hostsvc/rsrc/pools_get&amp;diff=753</id>
		<title>Hostsvc/rsrc/pools get</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Hostsvc/rsrc/pools_get&amp;diff=753"/>
		<updated>2009-01-05T23:20:42Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh hostsvc/rsrc/pools_get ====&lt;br /&gt;
Usage: pools_get poolId&lt;br /&gt;
&lt;br /&gt;
Get the list of pools nested within the specified pool.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To extract the poolId, you actually have to look in the following file:&lt;br /&gt;
&lt;br /&gt;
  /etc/vmware/hostd/pools.xml&lt;br /&gt;
&lt;br /&gt;
Here is a quick snippet of code to extract the poolId based on a VM Name:&lt;br /&gt;
&lt;br /&gt;
  cat /etc/vmware/hostd/pools.xml | grep &amp;quot;RESOURCE_POOL_NAME&amp;quot; -A1 | grep &amp;quot;&amp;lt;objID&amp;gt;&amp;quot; | sed &#039;s/&amp;lt;objID&amp;gt;//;s/&amp;lt;\/objID&amp;gt;//g&#039; | sed -e &#039;s/^[[:blank:]]*//;s/[[:blank:]]*$//&#039;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Hostsvc/net/capabilities&amp;diff=752</id>
		<title>Hostsvc/net/capabilities</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Hostsvc/net/capabilities&amp;diff=752"/>
		<updated>2009-01-05T23:16:27Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh hostsvc/net/capabilities ====&lt;br /&gt;
Usage: capabilities&lt;br /&gt;
&lt;br /&gt;
Get the network capabilities.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd hostsvc/net/capabilities&lt;br /&gt;
 (vim.host.NetCapabilities) {&lt;br /&gt;
   dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   canSetPhysicalNicLinkSpeed = true,&lt;br /&gt;
   supportsNicTeaming = true,&lt;br /&gt;
   nicTeamingPolicy = (string) [&lt;br /&gt;
      &amp;quot;loadbalance_ip&amp;quot;,&lt;br /&gt;
      &amp;quot;loadbalance_srcmac&amp;quot;,&lt;br /&gt;
      &amp;quot;loadbalance_srcid&amp;quot;,&lt;br /&gt;
      &amp;quot;failover_explicit&amp;quot;&lt;br /&gt;
   ],&lt;br /&gt;
   supportsVlan = true,&lt;br /&gt;
   usesServiceConsoleNic = true,&lt;br /&gt;
   supportsNetworkHints = true,&lt;br /&gt;
   maxPortGroupsPerVswitch = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   vswitchConfigSupported = true,&lt;br /&gt;
   vnicConfigSupported = true,&lt;br /&gt;
   ipRouteConfigSupported = true,&lt;br /&gt;
   dnsConfigSupported = true,&lt;br /&gt;
   dhcpOnVnicSupported = false,&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Hostsvc/datastore/listvm&amp;diff=751</id>
		<title>Hostsvc/datastore/listvm</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Hostsvc/datastore/listvm&amp;diff=751"/>
		<updated>2009-01-05T23:12:04Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== vimsh hostsvc/datastore/listvm ====&lt;br /&gt;
Usage: listvm name&lt;br /&gt;
&lt;br /&gt;
Retrieve the virtual machines stored on the datastore.&lt;br /&gt;
&lt;br /&gt;
==== Example output ====&lt;br /&gt;
 [root@himalaya scripts]# vmware-vim-cmd hostsvc/datastore/listvm &amp;quot;himalaya-local-SAS.VMStorage&amp;quot;&lt;br /&gt;
 (ManagedObjectReference) [&lt;br /&gt;
   &#039;vim.VirtualMachine:1040&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:1072&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:16&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:1680&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:176&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:21168&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:31168&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:31248&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:31968&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:32&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:59216&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:59312&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:59392&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:59408&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:59424&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:59712&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:59792&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:60064&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:64&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:784&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:80&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:880&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:928&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:96&#039;,&lt;br /&gt;
   &#039;vim.VirtualMachine:976&#039;&lt;br /&gt;
 ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Vimsh]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=750</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=750"/>
		<updated>2009-01-05T23:05:07Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware RCLI?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html &lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI scripts ====&lt;br /&gt;
&lt;br /&gt;
COMING SOON&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_RDMs_for_ESX_and_ESXi&amp;diff=749</id>
		<title>Locate all VMs with RDMs for ESX and ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_RDMs_for_ESX_and_ESXi&amp;diff=749"/>
		<updated>2009-01-05T23:02:24Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/rdm.sh rdm.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESX 3.5+ and ESXi&lt;br /&gt;
&lt;br /&gt;
This script is used to locate all virtual machines that have an RDM mapping and provides the VMs Name, Hard Disk label shown on the VIC/VC, Datastore, LUN UUID, HBA/LUN, Compatibility Mode (Phys/Virt), DiskMode and Capacity.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Management]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESXi&amp;diff=748</id>
		<title>Locate all VMs with NPIV WWN for ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESXi&amp;diff=748"/>
		<updated>2009-01-05T23:02:17Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/npiv_wwn_discovery-esxi.sh npiv_wwn_discovery-esxi.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESXi 3.5+&lt;br /&gt;
&lt;br /&gt;
This script is used to locate all virtual machines that have NPIV option enabled and provide the VMs Name, Port WWN, Node WWN and the WWN TYPE on an ESXi host.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Management]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESX&amp;diff=747</id>
		<title>Locate all VMs with NPIV WWN for ESX</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESX&amp;diff=747"/>
		<updated>2009-01-05T23:02:10Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script:&#039;&#039;&#039; [http://www.engr.ucsb.edu/~duonglt/vmware/npiv_wwn_discovery-esx.sh npiv_wwn_discovery-esx.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESX 3.5+&lt;br /&gt;
&lt;br /&gt;
This script is used to locate all virtual machines that have the NPIV option enabled and provide the VMs Name, Port WWN, Node WWN and the WWN TYPE on an ESX host. This can possibly list virtual machines with the NPIV option in a cluster if the ESX host is connected to all datastores present to the cluster.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: Vimsh]] [[Category: VM Management]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Custom_my-vmware-cmd_management_script&amp;diff=746</id>
		<title>Custom my-vmware-cmd management script</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Custom_my-vmware-cmd_management_script&amp;diff=746"/>
		<updated>2009-01-05T23:01:02Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/my-vmware-cmd.sh my-vmware-cmd.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Supported On&#039;&#039;&#039;: ESX 3.5+ and ESXi&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9061&lt;br /&gt;
&lt;br /&gt;
This is a custom management script to help administer large virtual machine environments. This script is used to run administrative commands across a large set of virtual machines specified in a file. In particular, this tool complements the developed linked clones. scripts. For example, to save unique attributes (Active Directory personalities, etc.) for each linked VM, a final snapshot is executed on all linked VMs after joining each to the domain. After a specified duration, this script is then used to revert each VM back to a clean state. The same may be applied on other (non-linked) virtual machines currently residing on the ESX(i) server(s). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To get list of options, just execute the script&#039;&#039;&#039;:&lt;br /&gt;
  [root@himalaya scripts]# ./my-vmware-cmd.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Operations available&#039;&#039;&#039;:&lt;br /&gt;
  Usage:&lt;br /&gt;
        Local execution-&lt;br /&gt;
            my-vmware-cmd.sh [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;&lt;br /&gt;
        Remote execution-&lt;br /&gt;
            my-vmware-cmd.sh remote [ESX_ESXI_IP_ADDRESS] [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;&lt;br /&gt;
   Operations:&lt;br /&gt;
        start [vm_input_file]&lt;br /&gt;
           -- Start all VMs in the input file&lt;br /&gt;
        stop [vm_input_file]&lt;br /&gt;
           -- Stop all VMs in the input file&lt;br /&gt;
        suspend [vm_input_file]&lt;br /&gt;
           -- Suspend all VMs in the input file&lt;br /&gt;
        resume [vm_input_file]&lt;br /&gt;
           -- Resume all suspended VMs in the input file&lt;br /&gt;
        reset [vm_input_file]&lt;br /&gt;
           -- Hard reset all VMs in the input file&lt;br /&gt;
        shutdown [vm_input_file]&lt;br /&gt;
           -- Shutdown all VMs in the input file (VMware Tools required)&lt;br /&gt;
        reboot [vm_input_file]&lt;br /&gt;
           -- Reboot all VMs in the input file (VMware Tools required)&lt;br /&gt;
        snap [vm_input_file]&lt;br /&gt;
           -- Create administrative pristine snapshot of all VMs in the input file&lt;br /&gt;
        revert [vm_input_file]&lt;br /&gt;
           -- Revert all VMs in the input file back to pristine state&lt;br /&gt;
        purge [vm_input_file]&lt;br /&gt;
           -- Removes from local inventory and purges all VMs in the input file&lt;br /&gt;
        mac [vm_input_file] [generic|nixdhcp] [NETWORK (172.30.0)] [HOST_COUNT_START (200)] &amp;lt;NIC_#&amp;gt; default=0&lt;br /&gt;
           -- Extracts MAC addresses and generates either a generic file or one compatible with *nix dhcpd&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] generic )&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] nixdhcp 172.30.0 200 )&lt;br /&gt;
        vnic [vm_input_file] &amp;lt;NIC_#&amp;gt; default=0&lt;br /&gt;
           -- Change vNic portgroup for all VMs in the input file&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh vnic [vm_input_file] 3 )&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Automation]] [[Category: VM Management]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Custom_my-vmware-cmd_management_script&amp;diff=745</id>
		<title>Custom my-vmware-cmd management script</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Custom_my-vmware-cmd_management_script&amp;diff=745"/>
		<updated>2009-01-05T23:00:27Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/my-vmware-cmd.sh my-vmware-cmd.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Supported On&#039;&#039;&#039;: ESX 3.5+ and ESXi&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9061&lt;br /&gt;
&lt;br /&gt;
This is a custom management script to help administer large virtual machine environments. This script is used to run administrative commands across a large set of virtual machines specified in a file. In particular, this tool complements the developed linked clones. scripts. For example, to save unique attributes (Active Directory personalities, etc.) for each linked VM, a final snapshot is executed on all linked VMs after joining each to the domain. After a specified duration, this script is then used to revert each VM back to a clean state. The same may be applied on other (non-linked) virtual machines currently residing on the ESX(i) server(s). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To get list of options, just execute the script&#039;&#039;&#039;:&lt;br /&gt;
  [root@himalaya scripts]# ./my-vmware-cmd.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Operations available&#039;&#039;&#039;:&lt;br /&gt;
  Usage:&lt;br /&gt;
        Local execution-&lt;br /&gt;
            my-vmware-cmd.sh [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;&lt;br /&gt;
        Remote execution-&lt;br /&gt;
            my-vmware-cmd.sh remote [ESX_ESXI_IP_ADDRESS] [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;&lt;br /&gt;
   Operations:&lt;br /&gt;
        start [vm_input_file]&lt;br /&gt;
           -- Start all VMs in the input file&lt;br /&gt;
        stop [vm_input_file]&lt;br /&gt;
           -- Stop all VMs in the input file&lt;br /&gt;
        suspend [vm_input_file]&lt;br /&gt;
           -- Suspend all VMs in the input file&lt;br /&gt;
        resume [vm_input_file]&lt;br /&gt;
           -- Resume all suspended VMs in the input file&lt;br /&gt;
        reset [vm_input_file]&lt;br /&gt;
           -- Hard reset all VMs in the input file&lt;br /&gt;
        shutdown [vm_input_file]&lt;br /&gt;
           -- Shutdown all VMs in the input file (VMware Tools required)&lt;br /&gt;
        reboot [vm_input_file]&lt;br /&gt;
           -- Reboot all VMs in the input file (VMware Tools required)&lt;br /&gt;
        snap [vm_input_file]&lt;br /&gt;
           -- Create administrative pristine snapshot of all VMs in the input file&lt;br /&gt;
        revert [vm_input_file]&lt;br /&gt;
           -- Revert all VMs in the input file back to pristine state&lt;br /&gt;
        purge [vm_input_file]&lt;br /&gt;
           -- Removes from local inventory and purges all VMs in the input file&lt;br /&gt;
        mac [vm_input_file] [generic|nixdhcp] [NETWORK (172.30.0)] [HOST_COUNT_START (200)] &amp;lt;NIC_#&amp;gt; default=0&lt;br /&gt;
           -- Extracts MAC addresses and generates either a generic file or one compatible with *nix dhcpd&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] generic )&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] nixdhcp 172.30.0 200 )&lt;br /&gt;
        vnic [vm_input_file] &amp;lt;NIC_#&amp;gt; default=0&lt;br /&gt;
           -- Change vNic portgroup for all VMs in the input file&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh vnic [vm_input_file] 3 )&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Automation]] [[Category: VM Managment]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=744</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=744"/>
		<updated>2009-01-05T22:52:14Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
===== VMware vimsh =====&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== RCLI =====&lt;br /&gt;
&lt;br /&gt;
What is VMware RCLI?&amp;lt;br&amp;gt;&lt;br /&gt;
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VMware VIMA =====&lt;br /&gt;
&lt;br /&gt;
What is VMware VIMA?&lt;br /&gt;
http://www.vmware.com/support/developer/vima/&lt;br /&gt;
&lt;br /&gt;
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html&lt;br /&gt;
&lt;br /&gt;
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html&lt;br /&gt;
&lt;br /&gt;
What is VMware vmrun? [http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun API guide] but see also the [[VIX]] page for more details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Scripts:&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI scripts ====&lt;br /&gt;
&lt;br /&gt;
COMING SOON&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=743</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=743"/>
		<updated>2009-01-05T22:40:37Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
===== VMware API =====&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
===== RCLI =====&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== VIX/vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun API guide] but see also the [[VIX]] page for more details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RCLI scripts ====&lt;br /&gt;
&lt;br /&gt;
COMING SOON&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Free_VM_backup_solution_for_ESX_and_ESXi&amp;diff=742</id>
		<title>Free VM backup solution for ESX and ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Free_VM_backup_solution_for_ESX_and_ESXi&amp;diff=742"/>
		<updated>2009-01-05T22:34:01Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please find more details located at: http://communities.vmware.com/docs/DOC-8760&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghettoVCB.sh ghettoVCB.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESX 3.5+ and ESXi&lt;br /&gt;
&lt;br /&gt;
This is a non-interactive script that backs up a specified list of VMs to a chosen datastore. Supported datastores are: local storage, SAN and NFS. The nature of the script allows backups to be scheduled via crontab. The script also provides an option to backup virtual machines to a non-persistent NFS share. The NFS connection is created on the ESX(i) server and is disconnected upon completion of backups.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: ESXi]] [[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Automation]] [[Category: VM Backup]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_RDMs_for_ESX_and_ESXi&amp;diff=741</id>
		<title>Locate all VMs with RDMs for ESX and ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_RDMs_for_ESX_and_ESXi&amp;diff=741"/>
		<updated>2009-01-05T22:33:26Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/rdm.sh rdm.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESX 3.5+ and ESXi&lt;br /&gt;
&lt;br /&gt;
This script is used to locate all virtual machines that have an RDM mapping and provides the VMs Name, Hard Disk label shown on the VIC/VC, Datastore, LUN UUID, HBA/LUN, Compatibility Mode (Phys/Virt), DiskMode and Capacity.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Automation]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESXi&amp;diff=740</id>
		<title>Locate all VMs with NPIV WWN for ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESXi&amp;diff=740"/>
		<updated>2009-01-05T22:33:09Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/npiv_wwn_discovery-esxi.sh npiv_wwn_discovery-esxi.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESXi 3.5+&lt;br /&gt;
&lt;br /&gt;
This script is used to locate all virtual machines that have NPIV option enabled and provide the VMs Name, Port WWN, Node WWN and the WWN TYPE on an ESXi host.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Automation]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESX&amp;diff=739</id>
		<title>Locate all VMs with NPIV WWN for ESX</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Locate_all_VMs_with_NPIV_WWN_for_ESX&amp;diff=739"/>
		<updated>2009-01-05T22:32:55Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script:&#039;&#039;&#039; [http://www.engr.ucsb.edu/~duonglt/vmware/npiv_wwn_discovery-esx.sh npiv_wwn_discovery-esx.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESX 3.5+&lt;br /&gt;
&lt;br /&gt;
This script is used to locate all virtual machines that have the NPIV option enabled and provide the VMs Name, Port WWN, Node WWN and the WWN TYPE on an ESX host. This can possibly list virtual machines with the NPIV option in a cluster if the ESX host is connected to all datastores present to the cluster.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: Vimsh]] [[Category: VM Automation]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Custom_my-vmware-cmd_management_script&amp;diff=738</id>
		<title>Custom my-vmware-cmd management script</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Custom_my-vmware-cmd_management_script&amp;diff=738"/>
		<updated>2009-01-05T22:32:25Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/my-vmware-cmd.sh my-vmware-cmd.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Supported On&#039;&#039;&#039;: ESX 3.5+ and ESXi&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9061&lt;br /&gt;
&lt;br /&gt;
This is a custom management script to help administer large virtual machine environments. This script is used to run administrative commands across a large set of virtual machines specified in a file. In particular, this tool complements the developed linked clones. scripts. For example, to save unique attributes (Active Directory personalities, etc.) for each linked VM, a final snapshot is executed on all linked VMs after joining each to the domain. After a specified duration, this script is then used to revert each VM back to a clean state. The same may be applied on other (non-linked) virtual machines currently residing on the ESX(i) server(s). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To get list of options, just execute the script&#039;&#039;&#039;:&lt;br /&gt;
  [root@himalaya scripts]# ./my-vmware-cmd.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Operations available&#039;&#039;&#039;:&lt;br /&gt;
  Usage:&lt;br /&gt;
        Local execution-&lt;br /&gt;
            my-vmware-cmd.sh [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;&lt;br /&gt;
        Remote execution-&lt;br /&gt;
            my-vmware-cmd.sh remote [ESX_ESXI_IP_ADDRESS] [operation] [vm_input_file] &amp;lt;optional_arguments&amp;gt;&lt;br /&gt;
   Operations:&lt;br /&gt;
        start [vm_input_file]&lt;br /&gt;
           -- Start all VMs in the input file&lt;br /&gt;
        stop [vm_input_file]&lt;br /&gt;
           -- Stop all VMs in the input file&lt;br /&gt;
        suspend [vm_input_file]&lt;br /&gt;
           -- Suspend all VMs in the input file&lt;br /&gt;
        resume [vm_input_file]&lt;br /&gt;
           -- Resume all suspended VMs in the input file&lt;br /&gt;
        reset [vm_input_file]&lt;br /&gt;
           -- Hard reset all VMs in the input file&lt;br /&gt;
        shutdown [vm_input_file]&lt;br /&gt;
           -- Shutdown all VMs in the input file (VMware Tools required)&lt;br /&gt;
        reboot [vm_input_file]&lt;br /&gt;
           -- Reboot all VMs in the input file (VMware Tools required)&lt;br /&gt;
        snap [vm_input_file]&lt;br /&gt;
           -- Create administrative pristine snapshot of all VMs in the input file&lt;br /&gt;
        revert [vm_input_file]&lt;br /&gt;
           -- Revert all VMs in the input file back to pristine state&lt;br /&gt;
        purge [vm_input_file]&lt;br /&gt;
           -- Removes from local inventory and purges all VMs in the input file&lt;br /&gt;
        mac [vm_input_file] [generic|nixdhcp] [NETWORK (172.30.0)] [HOST_COUNT_START (200)] &amp;lt;NIC_#&amp;gt; default=0&lt;br /&gt;
           -- Extracts MAC addresses and generates either a generic file or one compatible with *nix dhcpd&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] generic )&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh mac [vm_input_file] nixdhcp 172.30.0 200 )&lt;br /&gt;
        vnic [vm_input_file] &amp;lt;NIC_#&amp;gt; default=0&lt;br /&gt;
           -- Change vNic portgroup for all VMs in the input file&lt;br /&gt;
               ( e.g. my-vmware-cmd.sh vnic [vm_input_file] 3 )&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Automation]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Linked_Clones_for_ESXi&amp;diff=737</id>
		<title>Linked Clones for ESXi</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Linked_Clones_for_ESXi&amp;diff=737"/>
		<updated>2009-01-05T22:32:06Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghetto-esxi-linked-clones.sh ghetto-esxi-linked-clones.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESXi&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9202&lt;br /&gt;
&lt;br /&gt;
This script allows users to create linked cloned virtual machine(s) from a master (or golden) virtual machine on ESXi. The only supported use case is that of the default behavior of the &amp;quot;ghetto-esx-linked-clones.sh&amp;quot; script which is due to some of the limitations in the ESXi Busybox Service Console like environment.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESXi]] [[Category: Vimsh]] [[Category: VM Automation]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Linked_Clones_for_ESX_3.x%2B&amp;diff=736</id>
		<title>Linked Clones for ESX 3.x+</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Linked_Clones_for_ESX_3.x%2B&amp;diff=736"/>
		<updated>2009-01-05T22:31:37Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghetto-esx-linked-clones.sh ghetto-esx-linked-clones.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESX 3.x+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9020&lt;br /&gt;
&lt;br /&gt;
This script allows users to create linked cloned virtual machine(s) from a master (or golden) virtual machine. Clones may be stored on any type of datastore (LOCAL, SAN, NFS) that is presented to the ESX host. The script is very capable in deploying a large VDI environment in a relatively short amount of time.&lt;br /&gt;
&lt;br /&gt;
There are currently 3 supported use cases:&lt;br /&gt;
&lt;br /&gt;
1) &#039;&#039;&#039;Default&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
--Description: Generate linked clones located in the same datastore that houses the master (golden) virtual machine. Writes will be directed to their respective linked virtual machine delta file with reads originating from the master virtual machine. &lt;br /&gt;
&lt;br /&gt;
2) &#039;&#039;&#039;Distributed Write(s) I/O&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
--Description: Generate linked clones evenly across available datastores of choice. Reads will originate from the specified master virtual machine while writes are directed towards their respective virtual machine delta files that have been dispersed across the specified datastores. &lt;br /&gt;
&lt;br /&gt;
3) &#039;&#039;&#039;Distributed Read(s) &amp;amp; Write(s) I/O&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
--Description: Duplicate the master virtual machine on available datastores of choice and evenly generate linked clones off of each duplicated master virtual machine. Reads and writes will be isolated onto the datastore of the linked clone(s) in question. This process is similar to running multiple instances of the default behavior of the script. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: This linked clones script is virtual machine OS independent (i.e. it is not restricted to just Windows OS&#039;s for VDI environment). For example, one can utilize this script to their advantage in development environments where new VMs need to be (mass) cloned quickly for testing.&lt;br /&gt;
&lt;br /&gt;
[[Category: ESX]] [[Category: Vimsh]] [[Category: VM Automation]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=User:Lamw&amp;diff=735</id>
		<title>User:Lamw</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=User:Lamw&amp;diff=735"/>
		<updated>2009-01-05T21:39:00Z</updated>

		<summary type="html">&lt;p&gt;Lamw: New page: William lam  [http://www.linkedin.com/in/lamwilliam William&amp;#039;s LinkedIn Profile]  http://engineering.ucsb.edu/~duonglt/vmware/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;William lam&lt;br /&gt;
&lt;br /&gt;
[http://www.linkedin.com/in/lamwilliam William&#039;s LinkedIn Profile]&lt;br /&gt;
&lt;br /&gt;
http://engineering.ucsb.edu/~duonglt/vmware/&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Linked_Clones_for_ESX_3.x%2B&amp;diff=734</id>
		<title>Linked Clones for ESX 3.x+</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Linked_Clones_for_ESX_3.x%2B&amp;diff=734"/>
		<updated>2009-01-05T21:04:02Z</updated>

		<summary type="html">&lt;p&gt;Lamw: New page: &amp;#039;&amp;#039;&amp;#039;Download script&amp;#039;&amp;#039;&amp;#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghetto-esx-linked-clones.sh ghetto-esx-linked-clones.sh]  &amp;#039;&amp;#039;&amp;#039;Compatiable with&amp;#039;&amp;#039;&amp;#039;: ESX 3.x+  Please find more details locate...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Download script&#039;&#039;&#039;: [http://www.engr.ucsb.edu/~duonglt/vmware/ghetto-esx-linked-clones.sh ghetto-esx-linked-clones.sh]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compatiable with&#039;&#039;&#039;: ESX 3.x+&lt;br /&gt;
&lt;br /&gt;
Please find more details located at: http://communities.vmware.com/docs/DOC-9020&lt;br /&gt;
&lt;br /&gt;
This script allows users to create linked cloned virtual machine(s) from a master (or golden) virtual machine. Clones may be stored on any type of datastore (LOCAL, SAN, NFS) that is presented to the ESX host. The script is very capable in deploying a large VDI environment in a relatively short amount of time.&lt;br /&gt;
&lt;br /&gt;
There are currently 3 supported use cases:&lt;br /&gt;
&lt;br /&gt;
1) &#039;&#039;&#039;Default&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
--Description: Generate linked clones located in the same datastore that houses the master (golden) virtual machine. Writes will be directed to their respective linked virtual machine delta file with reads originating from the master virtual machine. &lt;br /&gt;
&lt;br /&gt;
2) &#039;&#039;&#039;Distributed Write(s) I/O&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
--Description: Generate linked clones evenly across available datastores of choice. Reads will originate from the specified master virtual machine while writes are directed towards their respective virtual machine delta files that have been dispersed across the specified datastores. &lt;br /&gt;
&lt;br /&gt;
3) &#039;&#039;&#039;Distributed Read(s) &amp;amp; Write(s) I/O&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
--Description: Duplicate the master virtual machine on available datastores of choice and evenly generate linked clones off of each duplicated master virtual machine. Reads and writes will be isolated onto the datastore of the linked clone(s) in question. This process is similar to running multiple instances of the default behavior of the script. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: This linked clones script is virtual machine OS independent (i.e. it is not restricted to just Windows OS&#039;s for VDI environment). For example, one can utilize this script to their advantage in development environments where new VMs need to be (mass) cloned quickly for testing.&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=733</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=733"/>
		<updated>2009-01-05T21:03:55Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun API guide] but see also the [[VIX]] page for more details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=732</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=732"/>
		<updated>2009-01-05T21:03:35Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun API guide] but see also the [[VIX]] page for more details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=731</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Scripts&amp;diff=731"/>
		<updated>2009-01-05T21:03:08Z</updated>

		<summary type="html">&lt;p&gt;Lamw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== documentation ====&lt;br /&gt;
&lt;br /&gt;
===== ESX Service Console =====&lt;br /&gt;
[[RTFM ESX 3.x Service Console Guide]]&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]&lt;br /&gt;
&lt;br /&gt;
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]&lt;br /&gt;
&lt;br /&gt;
[[ESX3i Remote CLI documentation]]&lt;br /&gt;
&lt;br /&gt;
===== vmrun =====&lt;br /&gt;
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0&lt;br /&gt;
&lt;br /&gt;
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun API guide] but see also the [[VIX]] page for more details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== vmrun scripts ====&lt;br /&gt;
&lt;br /&gt;
Scripts to execute to automate actions in your guest.&lt;br /&gt;
&lt;br /&gt;
[[vmrun batch file execution]]&lt;br /&gt;
&lt;br /&gt;
[[vmrun return all IPs for running VMs]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== bash scripts ====&lt;br /&gt;
&lt;br /&gt;
[[build host vmware kernel modules]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESX 3.x+]]&lt;br /&gt;
&lt;br /&gt;
[[Linked Clones for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Custom my-vmware-cmd management script]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESX]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with NPIV WWN for ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[locate all VMs with RDMs for ESX and ESXi]]&lt;br /&gt;
&lt;br /&gt;
[[Free VM backup solution for ESX and ESXi]]&lt;/div&gt;</summary>
		<author><name>Lamw</name></author>
	</entry>
</feed>