<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vi-toolkit.com/index.php?action=history&amp;feed=atom&amp;title=Adding%2Fupdating_a_custom_field_to_VM</id>
	<title>Adding/updating a custom field to VM - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vi-toolkit.com/index.php?action=history&amp;feed=atom&amp;title=Adding%2Fupdating_a_custom_field_to_VM"/>
	<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Adding/updating_a_custom_field_to_VM&amp;action=history"/>
	<updated>2026-06-22T07:36:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.vi-toolkit.com/index.php?title=Adding/updating_a_custom_field_to_VM&amp;diff=1032&amp;oldid=prev</id>
		<title>Wila: Created page with &#039;=== addVMCustomField.pl === author: William Lam ==== Description ==== Allows you to create a custom field and value to the vmx configuration file of your VM.  ==== Usage: ==== Th...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vi-toolkit.com/index.php?title=Adding/updating_a_custom_field_to_VM&amp;diff=1032&amp;oldid=prev"/>
		<updated>2009-08-19T11:16:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;=== addVMCustomField.pl === author: William Lam ==== Description ==== Allows you to create a custom field and value to the vmx configuration file of your VM.  ==== Usage: ==== Th...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== addVMCustomField.pl ===&lt;br /&gt;
author: William Lam&lt;br /&gt;
==== Description ====&lt;br /&gt;
Allows you to create a custom field and value to the vmx configuration file of your VM.&lt;br /&gt;
&lt;br /&gt;
==== Usage: ====&lt;br /&gt;
This will add a new custom field to all VMs called SERVER_TYPE and the operation is an add&lt;br /&gt;
&lt;br /&gt;
 [vi-admin@scofield ~]$ ./addVMCountCustomField.pl --server reflex.primp-industries.com --username primp --key SERVER_TYPE --operation add&lt;br /&gt;
 Enter password:&lt;br /&gt;
&lt;br /&gt;
Updates the VM named &amp;quot;Kate&amp;quot; with the value &amp;quot;PRODUCTION&amp;quot; to the custom field &amp;quot;SERVER_TYPE&amp;quot;. For this, you&amp;#039;ll use the operation update&lt;br /&gt;
 [vi-admin@scofield ~]$ ./addVMCountCustomField.pl --server reflex.primp-industries.com --username primp --key SERVER_TYPE --value PRODUCTION --operation update --vmname kate&lt;br /&gt;
 Enter password:&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
http://communities.vmware.com/docs/DOC-10550&lt;br /&gt;
&lt;br /&gt;
[[Category: Perl]] [[Category: VM Management]]&lt;/div&gt;</summary>
		<author><name>Wila</name></author>
	</entry>
</feed>