<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities : All Content - vSphere SDK for Perl</title>
    <link>http://communities.vmware.com/community/developer/forums/vsphere_sdk_perl</link>
    <description>All Content in vSphere SDK for Perl</description>
    <language>en</language>
    <pubDate>Wed, 25 Nov 2009 04:21:14 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-11-25T04:21:14Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>VIC folders under folders</title>
      <link>http://communities.vmware.com/message/1425408</link>
      <description>&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I have a frustrating problem with the vSphere SDK.  The people that setup our infrastructure made things a little more complicated than we would prefer.   That will be remedied when we upgrade to 4.  The issue I am having is with folders within folders in a datacenter.  Looks something like this:&lt;br /&gt;
&lt;br /&gt;
&lt;table class="jive-wiki-table"&gt;
&lt;tr&gt;
&lt;td&gt;Datacenter&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;Dev Folder&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;Project1 Folder&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;Some Servers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;One Cluster&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;Project2 Folder&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;Some Servers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;Project3 Folder&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;More Servers&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br clear="left" /&gt;
&lt;br /&gt;
 The issue is tring to get that structure from the SDK.  Everything I have tried returns all of the servers as if they were all under Dev Folder and not under the project folders.  It seems to flatten the structure and ignore my attempts to retain the correct layers.  &lt;br /&gt;
&lt;p /&gt;
Here is a snippet of test code I was trying to get the structure.  I get the datacenter views with Vim::find_entity_views(view_type =&amp;gt; 'Datacenter'), and ask for the list of folder views with the same find_entity_views method.  For each folder view I filter out the builtin folders for datastores and the like.  I then loop through the list of folders and use find_entity_views(view_type =&amp;gt; 'Folder', begin_entity =&amp;gt; $folder) to try and get the sub folders.  This is the part that does not seem to work.&lt;br /&gt;
&lt;p /&gt;
I use %allhosts as a temp hash to keep a list of servers I have already gone over.  All hosts end up being listed und the very top level folder and none listed under the sub folders as they have already been used and exist in the %allhosts hash.&lt;br /&gt;
&lt;p /&gt;
Any suggestions or am I asking the vim service the wrong questions?  &lt;br /&gt;
&lt;p /&gt;
my $dc = Vim::find_entity_views(view_type =&amp;gt; 'Datacenter');&lt;br /&gt;
foreach(@$dc) {&lt;br /&gt;
my %allhosts = ();&lt;br /&gt;
if($_-&amp;gt;name =~ m/Dev/i) {&lt;br /&gt;
#print Dumper($_); &lt;br /&gt;
my $dcfolders = Vim::find_entity_views(view_type =&amp;gt; 'Folder', begin_entity =&amp;gt; $_);&lt;br /&gt;
foreach my $folder(@$dcfolders) {&lt;br /&gt;
next if($folder-&amp;gt;name =~ m/vm|Discovered\ Virtual\ Machine|host/i) ;&lt;br /&gt;
my $subfolders = Vim::find_entity_views(view_type =&amp;gt; 'Folder', begin_entity =&amp;gt; $folder);&lt;br /&gt;
print "Should be here first\n";&lt;br /&gt;
foreach my $subfolder(@$subfolders) {&lt;br /&gt;
next if($folder-&amp;gt;name =~ m/vm|Discovered\ Virtual\ Machine|host/i) ;&lt;br /&gt;
print $subfolder-&amp;gt;name . "\n";&lt;br /&gt;
my $subhosts = Vim::find_entity_views(view_type =&amp;gt; 'HostSystem', begin_entity =&amp;gt; $subfolder);&lt;br /&gt;
foreach my $subhost(@$subhosts) {&lt;br /&gt;
my $subhostname = $subhost-&amp;gt;name;&lt;br /&gt;
next if(exists $allhosts{$subhostname});&lt;br /&gt;
$allhosts{$subhostname} = ($subfolder-&amp;gt;name);&lt;br /&gt;
print $subfolder-&amp;gt;name . " - " . $subhost-&amp;gt;name . "\n";&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
my $hosts = Vim::find_entity_views(view_type =&amp;gt; 'HostSystem', begin_entity =&amp;gt; $folder);&lt;br /&gt;
foreach my $host(@$hosts) {&lt;br /&gt;
my $hostname = $host-&amp;gt;name;&lt;br /&gt;
next if(exists $allhosts{$hostname});&lt;br /&gt;
$allhosts{$hostname} = ($folder-&amp;gt;name);&lt;br /&gt;
print $folder-&amp;gt;name . " - $hostname\n";&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Thank You,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Charles Hutchinson  &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
P.S.  Sorry about the formatting.  I seem to be a failure at this web editor</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere_sdk_for_perl</category>
      <pubDate>Wed, 25 Nov 2009 04:21:14 GMT</pubDate>
      <author>GeekBoi</author>
      <guid>http://communities.vmware.com/message/1425408</guid>
      <dc:date>2009-11-25T04:21:14Z</dc:date>
      <clearspace:dateToText>7 hours, 26 minutes ago</clearspace:dateToText>
    </item>
    <item>
      <title>vimService.wsdl - connect.pl</title>
      <link>http://communities.vmware.com/message/1425202</link>
      <description>Please take a look at this document if you're new to the vSphere API/SDKs: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-7270"&gt;Getting Started with vSphere SDKs&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Depending on the language of choice, you'll need to download the appropriate wrappers and if you're using Perl, then you'll need to install the &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vcli/"&gt;vCLI&lt;/a&gt; which includes the Perl wrapper: &lt;b&gt;vSphere SDK for Perl&lt;/b&gt; which is also accessible if you download the &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vima/"&gt;vMA&lt;/a&gt; virtual appliance.&lt;br /&gt;
&lt;br /&gt;
Here is another doc that'll get you started with using vSphere SDK for Perl: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10837"&gt;Getting Started with the vSphere SDK for Perl&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10878"&gt;Getting Started with the vMA (tips/tricks)&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10837"&gt;Getting Started with the vSphere SDK for Perl&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/codecentral" title="Sample Code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/vmtn/archive/beta/vibeta1/developer"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Tue, 24 Nov 2009 21:22:51 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1425202</guid>
      <dc:date>2009-11-24T21:22:51Z</dc:date>
      <clearspace:dateToText>14 hours, 24 minutes ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Authentication timed out?</title>
      <link>http://communities.vmware.com/message/1424765</link>
      <description>Your backup is taking about an hour, so I think you are indeed running timeout problems for your VI Perl Toolkit session. Have a look at &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/165788"&gt;VI Perl Toolkit Times out... How to recover?&lt;/a&gt;or try searching the forums for timeout issues, there are quite a few threads on this topic (for instance &lt;a class="jive-link-thread" href="http://communities.vmware.com/thread/134816"&gt;VI Perl Timeouts&lt;/a&gt;). If you can't come up with a heartbeat to keep your session alive, maybe you simply need to issue a Vim::logout before issuing another Vim::login?&lt;br /&gt;
&lt;br /&gt;
HTH&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Sebastian&lt;br /&gt;
&lt;p /&gt;
 P.S.: You know about &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9843"&gt;ghettoVCBg2.pl&lt;/a&gt;? It doesn't deal with custom fields as your script does, but i provides a ready-to-use simplistic backup solution.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vcbmounter</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">authentication</category>
      <pubDate>Tue, 24 Nov 2009 15:09:44 GMT</pubDate>
      <author>skayser</author>
      <guid>http://communities.vmware.com/message/1424765</guid>
      <dc:date>2009-11-24T15:09:44Z</dc:date>
      <clearspace:dateToText>20 hours, 30 minutes ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>HowTo: Installing vSphere SDK for Perl on OS X 10.6.2 (Snow Leopard)</title>
      <link>http://communities.vmware.com/message/1422645</link>
      <description>I thought some of you may find this useful. I document how to install the vSphere SDK for Perl on a OS X 10.6.2 (Snow Leopard) system at  &lt;a class="jive-link-external" href="http://akutz.wordpress.com/2009/11/20/installing-vsphere-sdk-for-perl-on-os-x-10-6-2-snow-leopard/"&gt;http://akutz.wordpress.com/2009/11/20/installing-vsphere-sdk-for-perl-on-os-x-10-6-2-snow-leopard/&lt;/a&gt;</description>
      <pubDate>Sat, 21 Nov 2009 00:37:42 GMT</pubDate>
      <author>akutz</author>
      <guid>http://communities.vmware.com/message/1422645</guid>
      <dc:date>2009-11-21T00:37:42Z</dc:date>
      <clearspace:dateToText>4 days, 11 hours ago</clearspace:dateToText>
    </item>
    <item>
      <title>Create VM instance on Cluster</title>
      <link>http://communities.vmware.com/message/1421286</link>
      <description>If you don't have/use resource pool, by default there is a default resource pool called &lt;b&gt;resourcePool&lt;/b&gt;. You just need to get a reference to the root pool and that can be used as a param to CreateVM_Task(). &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10878"&gt;Getting Started with the vMA (tips/tricks)&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10837"&gt;Getting Started with the vSphere SDK for Perl&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/codecentral" title="Sample Code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/vmtn/archive/beta/vibeta1/developer"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Thu, 19 Nov 2009 16:56:26 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1421286</guid>
      <dc:date>2009-11-19T16:56:26Z</dc:date>
      <clearspace:dateToText>5 days, 18 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Retrieving vNIC packetsRx and packetsTx possible on VSphere 4.0?</title>
      <link>http://communities.vmware.com/message/1421285</link>
      <description>performance.pl is a really simple script to show what you can potentially extract from the various performance metrics available via the APIs.&lt;br /&gt;
&lt;br /&gt;
For a more detail explanation of the metrics available, take a look at the &lt;b&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.PerformanceManager.html"&gt;performanceManager&lt;/a&gt;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
Specifically to your questions of retrieving RX/TX packets per VM, this is possible, take a look at &lt;b&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/network_counters.html"&gt;Networks&lt;/a&gt;&lt;/b&gt; which will give you a nice table of the available metrics for networking&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10878"&gt;Getting Started with the vMA (tips/tricks)&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10837"&gt;Getting Started with the vSphere SDK for Perl&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/codecentral" title="Sample Code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/vmtn/archive/beta/vibeta1/developer"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Thu, 19 Nov 2009 16:54:39 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1421285</guid>
      <dc:date>2009-11-19T16:54:39Z</dc:date>
      <clearspace:dateToText>5 days, 18 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>MOB equivalent to Vim::find_entity_views?</title>
      <link>http://communities.vmware.com/message/1421175</link>
      <description>Greetings,&lt;br /&gt;
&lt;br /&gt;
i have started using the Managed Object Browser on a vCenter 4 installation to explore the object structure of the API, but i haven't been able to find VM objects so far. Could someone kindly point me to where i can find / query VM instances in the MOB. Similar to what i would do via Vim::find_entity_views. &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Sebastian</description>
      <pubDate>Thu, 19 Nov 2009 14:57:48 GMT</pubDate>
      <author>skayser</author>
      <guid>http://communities.vmware.com/message/1421175</guid>
      <dc:date>2009-11-19T14:57:48Z</dc:date>
      <clearspace:dateToText>5 days, 20 hours ago</clearspace:dateToText>
    </item>
    <item>
      <title>SessionIsActive() is not implemented in vSphere ESX 4.0</title>
      <link>http://communities.vmware.com/message/1420907</link>
      <description>The SessionIsActive method as Stumpr has pointed is available only on vCenter. This method has been introduced starting VI API's 2.5 and continues to remain available only on vCenter for SDK 2.5 as well as vSphere 4.0.</description>
      <pubDate>Thu, 19 Nov 2009 07:44:20 GMT</pubDate>
      <author>dkaur</author>
      <guid>http://communities.vmware.com/message/1420907</guid>
      <dc:date>2009-11-19T07:44:20Z</dc:date>
      <clearspace:dateToText>6 days, 4 hours ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Error: Server version unavailable at 'https://1.1.1.1/sdk/vimService.wsdl' when connecting to virtual center with connect.pl</title>
      <link>http://communities.vmware.com/message/1419910</link>
      <description>&lt;br /&gt;
I installed the vi perl sdk :  &lt;br /&gt;
&lt;p /&gt;
 VMware-VIPerl-1.6.0-104313.i386.tar.gz&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
/usr/lib/vmware-viperl/apps/general/connect.pl --url &lt;a class="jive-link-external" href="https://1.7.1.1/sdk"&gt;https://1.7.1.1/sdk&lt;/a&gt; --username d --password cu&lt;br /&gt;
Error: Server version unavailable at 'https://1.7.1.1/sdk/vimService.wsdl' :1: parser error : Start tag expected, '&amp;lt;' not found&lt;br /&gt;
LWP will support https URLs if the Crypt::SSLeay module is installed.&lt;br /&gt;
^&lt;br /&gt;
 at /usr/lib/perl5/site_perl/5.8.8/VMware/VICommon.pm line 323&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I have the SSLeay installed:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;ol&gt;
&lt;li&gt;rpm -qa | grep -i SSLeay                                       &lt;/li&gt;
&lt;/ol&gt;
&lt;p /&gt;
perl-Crypt-SSLeay-0.51-11.el5&lt;br /&gt;
perl-Net-SSLeay-1.30-4.fc6&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 08:47:52 GMT</pubDate>
      <author>likid000</author>
      <guid>http://communities.vmware.com/message/1419910</guid>
      <dc:date>2009-11-18T08:47:52Z</dc:date>
      <clearspace:dateToText>1 week, 2 hours ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
    <item>
      <title>find_entity_view from MOID</title>
      <link>http://communities.vmware.com/message/1419632</link>
      <description>UUID is going to be your best bet.  There are two UUID values though in a Virtual Machine.  First is the BIOS UUID (similar to what every physical machine would have) and the vCenter UUID.  The latter is stored in instanceUuid property.&lt;br /&gt;
&lt;br /&gt;
Script is not pretty, but I typed it out to give you an example.  Should be a good way to start.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;
#!/usr/bin/perl -w
 
use strict;
use warnings;
 
use VMware::VIRuntime;
 
Opts::parse();
Opts::validate();
 
Util::connect();
 
my ($vm_moref, $vm_view, $service_content, $search_index, $uuid);
 
$service_content = Vim::get_service_content();
 
$search_index = Vim::get_view( mo_ref =&amp;gt; $service_content-&amp;gt;searchIndex );
 
$vm_view = Vim::find_entity_view(
 view_type =&amp;gt; &amp;quot;VirtualMachine&amp;quot;,
 filter =&amp;gt; { &amp;quot;name&amp;quot; =&amp;gt; qr/CRAFT115/ },
);
 
unless ( defined $vm_view ) {
 die &amp;quot;Failed to find VM in inventory by name!!&amp;quot;;
}
 
$uuid = $vm_view-&amp;gt;config-&amp;gt;instanceUuid;
 
print $vm_view-&amp;gt;name . &amp;quot; = &amp;quot; . $uuid . &amp;quot;\n&amp;quot;;
 
$vm_moref = $search_index-&amp;gt;FindByUuid(
 uuid =&amp;gt; $uuid,
 vmSearch =&amp;gt; 1,
 instanceUuid =&amp;gt; 1,
);
 
unless ( defined $vm_moref ) {
 die &amp;quot;Failed to find VM in inventory by UUID: $uuid!&amp;quot;;
}
 
$vm_view = Vim::get_view( mo_ref =&amp;gt; $vm_moref );
 

$uuid = $vm_view-&amp;gt;config-&amp;gt;instanceUuid;
 
print $vm_view-&amp;gt;name . &amp;quot; = &amp;quot; . $uuid . &amp;quot;\n&amp;quot;;
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Example Run:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;
C:\Documents and Settings\uname\Desktop&amp;gt;perl vmuuid.pl --url=https://vCenter/sdk --username=
uname
Enter password:
CRAFT115 = 50379346-5145-c38a-161a-70cf3c24fbe9
CRAFT115 = 50379346-5145-c38a-161a-70cf3c24fbe9
 
End Disconnect
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
In your case after you found your VM for the first time, you'd get the instanceUuid property and store it.  You can then use it with the FindByUuid to get a managed object reference back from the inventory.  Note the &lt;b&gt;vmSearch&lt;/b&gt; and &lt;b&gt;instanceUuid&lt;/b&gt; parameters.  You can also search for Hosts this way, in this case we are targeting a VM so vmSearch is set to 1.  The instanceUuid is set to 1 as well since we want to look at the instanceUuid and not the BIOS uuid property as mentioned at earlier.</description>
      <pubDate>Tue, 17 Nov 2009 22:26:16 GMT</pubDate>
      <author>stumpr</author>
      <guid>http://communities.vmware.com/message/1419632</guid>
      <dc:date>2009-11-17T22:26:16Z</dc:date>
      <clearspace:dateToText>1 week, 13 hours ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Problem with undefined value when running vidiscovery.pl</title>
      <link>http://communities.vmware.com/message/1418565</link>
      <description>I am have the same issue trying to run queryVMCustomField.pl:&lt;br /&gt;
&lt;br /&gt;
VMA4$ ./queryVMCustomField.pl --vmname &amp;lt;guest-name&amp;gt; --customfield &amp;lt;custom field name&amp;gt;&lt;br /&gt;
Can't call method "type" on an undefined value at /usr/lib/perl5/5.8.8/VMware/VICommon.pm line 1244.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;guest-name&amp;gt; and &amp;lt;custom field name&amp;gt; are for the forum - we are using valid values here &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;</description>
      <pubDate>Mon, 16 Nov 2009 22:28:00 GMT</pubDate>
      <author>HomeAwayTech</author>
      <guid>http://communities.vmware.com/message/1418565</guid>
      <dc:date>2009-11-16T22:28:00Z</dc:date>
      <clearspace:dateToText>1 week, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>how to assign a mac-address manually via the SDK</title>
      <link>http://communities.vmware.com/message/1413321</link>
      <description>You'll need to call the &lt;b&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.VirtualMachine.html#reconfigure"&gt;ReconfigVM_Task&lt;/a&gt;&lt;/b&gt; specify a configuration spec of adding a new device of type &lt;u&gt;VirtualEthernetCard&lt;/u&gt; and when adding the new vNIC, you have the option of specifying how the MAC Address will be generated: &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.vm.device.VirtualEthernetCard.html"&gt;http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.vm.device.VirtualEthernetCard.html&lt;/a&gt; You'll need to set the &lt;b&gt;addressType&lt;/b&gt; to manual and &lt;b&gt;macAddress&lt;/b&gt; to the MAC Address string you want to set, remember that the MAC address must be in the range of 00:50:56:00:00:00-00:50:56:3F:FF:FF&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10878"&gt;Getting Started with the vMA (tips/tricks)&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10837"&gt;Getting Started with the vSphere SDK for Perl&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer" title="Resources for Administrators and Developers"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere_sdk_for_perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">help</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">mac</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">api</category>
      <pubDate>Tue, 10 Nov 2009 14:50:02 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1413321</guid>
      <dc:date>2009-11-10T14:50:02Z</dc:date>
      <clearspace:dateToText>2 weeks, 20 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Can't get disk.totalLatency.average performance counter</title>
      <link>http://communities.vmware.com/message/1410605</link>
      <description>I think it's an unexperienced problem to all.&lt;br /&gt;
&lt;br /&gt;
Here is an image expressed the disk.totalLatency.average performance counter can be obtained from a virtual machine.&lt;br /&gt;
  &lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-1410605-7552/aaa.GIF" alt="aaa.GIF" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-1410605-7552/aaa.GIF');return false;"/&gt;</description>
      <pubDate>Fri, 06 Nov 2009 08:30:52 GMT</pubDate>
      <author>luger_lee</author>
      <guid>http://communities.vmware.com/message/1410605</guid>
      <dc:date>2009-11-06T08:30:52Z</dc:date>
      <clearspace:dateToText>2 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Get mac address without VMware tools running</title>
      <link>http://communities.vmware.com/message/1410058</link>
      <description>&lt;br /&gt;
Thanks a lot, that was exactly what I was looking for, I was on the right track but didn't quite get that far.&lt;br /&gt;
&lt;p /&gt;
Much appreciated!</description>
      <pubDate>Thu, 05 Nov 2009 18:12:40 GMT</pubDate>
      <author>kilo666</author>
      <guid>http://communities.vmware.com/message/1410058</guid>
      <dc:date>2009-11-05T18:12:40Z</dc:date>
      <clearspace:dateToText>2 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>iops</title>
      <link>http://communities.vmware.com/message/1408120</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
If you're new to the VMware API/SDK's, first take a look at this document: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-7270"&gt;Getting Started with vSphere SDKs&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Here is a great page to get started with performance monitoring with VMware API/SDKs: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9840"&gt;VMware vSphere - SDK Performance Monitoring - Resource&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You'll want to get familiar with the &lt;b&gt;performanceManager&lt;/b&gt; managed object: &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.PerformanceManager.html"&gt;http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.PerformanceManager.html&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer" title="Resources for Administrators and Developers"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10878"&gt;Getting Started with the vMA (tips/tricks)&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10837"&gt;Getting Started with the vSphere SDK for Perl&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Wed, 04 Nov 2009 06:31:43 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1408120</guid>
      <dc:date>2009-11-04T06:31:43Z</dc:date>
      <clearspace:dateToText>3 weeks, 5 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Get size of file in datastore</title>
      <link>http://communities.vmware.com/message/1403980</link>
      <description>&lt;br /&gt;
Never mind, i figure out how to do it. &lt;br /&gt;
&lt;p /&gt;
I access Virtualmachine-&amp;gt;config-&amp;gt;hardware-&amp;gt;device to retrieve size of virtual disk.</description>
      <pubDate>Fri, 30 Oct 2009 10:32:19 GMT</pubDate>
      <author>Dexxt0r</author>
      <guid>http://communities.vmware.com/message/1403980</guid>
      <dc:date>2009-10-30T10:32:19Z</dc:date>
      <clearspace:dateToText>3 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>ipAddress array in GuestNicInfo is incomplete</title>
      <link>http://communities.vmware.com/message/1402025</link>
      <description>Thanks for the info, good to know it's fixed in vSphere &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer" title="Resources for Administrators and Developers"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Wed, 28 Oct 2009 21:10:44 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1402025</guid>
      <dc:date>2009-10-28T21:10:44Z</dc:date>
      <clearspace:dateToText>3 weeks, 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Update Virtual Hardware using SDK?</title>
      <link>http://communities.vmware.com/message/1399116</link>
      <description>Here's a Perl script that'll help with the upgrade process: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-11000"&gt;upgradeVMVirtualHardware.pl&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer" title="Resources for Administrators and Developers"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Mon, 26 Oct 2009 19:25:54 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1399116</guid>
      <dc:date>2009-10-26T19:25:54Z</dc:date>
      <clearspace:dateToText>4 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>interface with update manager</title>
      <link>http://communities.vmware.com/message/1397708</link>
      <description>afaik, there are no APIs exposed for VUM, what you're seeing with the &lt;b&gt;HostPatchManager&lt;/b&gt; is the ability to patch individual hosts specifying a local repo and primarily this was a function for ESXi but should also work for classic ESX&lt;br /&gt;
&lt;br /&gt;
With the latest version of vCLI, you have two commands &lt;b&gt;vihostupdate&lt;/b&gt; for ESX(i) 4.0 and &lt;b&gt;&lt;a class="jive-link-external" href="http://www.vm-help.com/esx/esx3i/esx_3i_rcli/vihostupdate.php"&gt;vihostupdate35&lt;/a&gt;&lt;/b&gt; for ESX(i) 3.5. The command allows you to query, scan install or list the bundles/patches that have been applied against a specific host but it does not have capabilities such as checking it against a baseline created using VUM. You would be manually downloading a set of patches and that is what you would consider your 'baseline'. Both of these scripts are implemented using vSphere SDK for Perl and are installed as part of the vCLI, you can take a look at the source for further questions.&lt;br /&gt;
&lt;br /&gt;
I've heard VUM APIs are coming but not sure when &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer" title="Resources for Administrators and Developers"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Sat, 24 Oct 2009 15:14:44 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1397708</guid>
      <dc:date>2009-10-24T15:14:44Z</dc:date>
      <clearspace:dateToText>1 month, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>vmclone.pl SoapFault</title>
      <link>http://communities.vmware.com/message/1396595</link>
      <description>For &lt;b&gt;Orgnization-Name&lt;/b&gt;, do you have any special characters in the name? Also do you have VMware Tools installed on the VM you're trying to clone and sysprep is configured on your vCenter server when issuing the &lt;b&gt;vmclone.pl&lt;/b&gt; against your vCenter?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer" title="Resources for Administrators and Developers"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Fri, 23 Oct 2009 04:20:24 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1396595</guid>
      <dc:date>2009-10-23T04:20:24Z</dc:date>
      <clearspace:dateToText>1 month, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>errorhandling? (Vim::login)</title>
      <link>http://communities.vmware.com/message/1391008</link>
      <description>{quote}Any reason you're not&lt;br /&gt;
using the default Util::connect() and Util::disconnect() code that&lt;br /&gt;
VMware already wrote in their perl modules?{/quote}&lt;br /&gt;
&lt;p /&gt;
 Edit: ok, my quote tags obviously are wrong &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";)" /&gt; Looks like the correct syntax is well hidden somewhere and not included in the Editor here... &lt;br /&gt;
&lt;p /&gt;
I'm trying to not use commandline options, and I'm trying to do some logging, since the script will run unattended. The Vim::login just was in some sample script, but with this problem (methods not returning a string to the script), Util::connect() wouldn't make much difference I think...</description>
      <pubDate>Fri, 16 Oct 2009 07:46:20 GMT</pubDate>
      <author>LarsOeschey</author>
      <guid>http://communities.vmware.com/message/1391008</guid>
      <dc:date>2009-10-16T07:46:20Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Determining snapshot file size</title>
      <link>http://communities.vmware.com/message/1390323</link>
      <description>Nevermind, I figured it out. The key was to use SearchDatastoreSubFolders, and then only check for files of type "VmSnapshotFileInfo". Cool.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">snapshot</category>
      <pubDate>Thu, 15 Oct 2009 14:01:52 GMT</pubDate>
      <author>piuhapofuhpaosf</author>
      <guid>http://communities.vmware.com/message/1390323</guid>
      <dc:date>2009-10-15T14:01:52Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Shutting down VMs on a host in some type of order</title>
      <link>http://communities.vmware.com/message/1386533</link>
      <description>EXPRESS,&lt;br /&gt;
&lt;br /&gt;
Have you looked at PowerCLI (Powershell) some very easy to use scripts and also a helpful community behind it.. &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";)" /&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://vmware.com/go/powercli"&gt;http://vmware.com/go/powercli&lt;/a&gt;</description>
      <pubDate>Sat, 10 Oct 2009 17:35:20 GMT</pubDate>
      <author>heyitspablo</author>
      <guid>http://communities.vmware.com/message/1386533</guid>
      <dc:date>2009-10-10T17:35:20Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>18</clearspace:replyCount>
    </item>
    <item>
      <title>getting custom variables</title>
      <link>http://communities.vmware.com/message/1386240</link>
      <description>Take a look at this script: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10550"&gt;addVMCustomField.pl&lt;/a&gt;, if no data is returned, then the custom field is not set for a specific VM. &lt;br /&gt;
&lt;br /&gt;
Regarding the API reference on properties/methods/etc. it's located at: &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html"&gt;http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html&lt;/a&gt; &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer" title="Resources for Administrators and Developers"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">guestvars.pl</category>
      <pubDate>Fri, 09 Oct 2009 21:10:40 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1386240</guid>
      <dc:date>2009-10-09T21:10:40Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Set permission on a particular datastore on ESXi</title>
      <link>http://communities.vmware.com/message/1384763</link>
      <description>Ok, I get it. Thank for this helpful information  &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">esxi</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">permission</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere_sdk_for_perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">datastore</category>
      <pubDate>Thu, 08 Oct 2009 14:04:48 GMT</pubDate>
      <author>Dexxt0r</author>
      <guid>http://communities.vmware.com/message/1384763</guid>
      <dc:date>2009-10-08T14:04:48Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Problem with rdmCreate.pl</title>
      <link>http://communities.vmware.com/message/1383644</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
i have a problem with Perl Script rdmCreate.pl.&lt;br /&gt;
&lt;p /&gt;
If I create a new disk rdm puntanto all 'esx4, the disc that I am going to add it correctly deal. This is the command;&lt;br /&gt;
&lt;p /&gt;
&lt;strike&gt;root@ITRMVSC1 vm&lt;/strike&gt;# perl rdmCreate.pl --url &lt;a class="jive-link-external" href="https://172.33.22.111/sdk/vimService"&gt;https://172.33.22.111/sdk/vimService&lt;/a&gt; --username MYUSER --password MYPSW --vmname VM1 --filename Test.vmdk --backingtype rdm&lt;br /&gt;
&lt;p /&gt;
Adding Virtual Disk on Virtual machine VM1 in the host esxhost.it.domain.com with file name Test.vmdk&lt;br /&gt;
&lt;p /&gt;
env browser&lt;br /&gt;
&lt;p /&gt;
*****&lt;br /&gt;
ARRAY(0x1fe9eb90)&lt;br /&gt;
*****&lt;br /&gt;
&lt;p /&gt;
*****&lt;br /&gt;
number of present disks is  2&lt;br /&gt;
*****&lt;br /&gt;
ITRMVSC Disk[0]: Capacity /vmfs/devices/disks/naa.6006016055351f00516decc0459cde11&lt;br /&gt;
cannonical_name: /vmfs/devices/disks/naa.6006016055351f00516decc0459cde11VM1 Disk[1]: Capacity /vmfs/devices/disks/naa.6006016055351f00506decc0459cde11&lt;br /&gt;
cannonical_name: /vmfs/devices/disks/naa.6006016055351f00516decc0459cde11&lt;br /&gt;
calling the reconfigure VM&lt;br /&gt;
&lt;p /&gt;
returned from reconfigure VM&lt;br /&gt;
Virtual Disk created.&lt;br /&gt;
&lt;p /&gt;
but when I try to point the Virtual Center back to me the following error;&lt;br /&gt;
&lt;p /&gt;
perl rdmCreate.pl --url &lt;a class="jive-link-external" href="https://172.55.22.444/sdk/webService"&gt;https://172.55.22.444/sdk/webService&lt;/a&gt; --username administrator --password MYPSW --vmname VM1 --filename Test.vmdk --backingtype rdm&lt;br /&gt;
&lt;p /&gt;
Adding Virtual Disk on Virtual machine ITRMVSC in the host 172.33.22.111 with file name Test.vmdk&lt;br /&gt;
env browser&lt;br /&gt;
&lt;p /&gt;
*****&lt;br /&gt;
ARRAY(0xb5a20d0)&lt;br /&gt;
*****&lt;br /&gt;
&lt;p /&gt;
*****&lt;br /&gt;
number of present disks is  2&lt;br /&gt;
*****&lt;br /&gt;
ITRMVSC Disk[0]: Capacity /vmfs/devices/disks/naa.6006016055351f00516decc0459cde11&lt;br /&gt;
cannonical_name: /vmfs/devices/disks/naa.6006016055351f00516decc0459cde11ITRMVSC Disk[1]: Capacity /vmfs/devices/disks/naa.6006016055351f00506decc0459cde11&lt;br /&gt;
cannonical_name: /vmfs/devices/disks/naa.6006016055351f00516decc0459cde11&lt;br /&gt;
calling the reconfigure VM&lt;br /&gt;
Error trapped &lt;br /&gt;
SOAP Fault:&lt;br /&gt;
&lt;hr /&gt;
Fault string: Invalid datastore path 'Test.vmdk'.&lt;br /&gt;
Fault detail: InvalidDatastorePathFalut : &lt;br /&gt;
SOAP Fault:&lt;br /&gt;
&lt;hr /&gt;
Fault string: Invalid datastore path 'Test.vmdk'.&lt;br /&gt;
&lt;p /&gt;
My version ESX : VMware ESX 4.0.0 build-164009&lt;br /&gt;
&lt;p /&gt;
My version Vsphere : VMware vCenter Server Version 4.0.0 Build 162856&lt;br /&gt;
&lt;p /&gt;
vSpher CLI Version : VMware vSphere CLI 4.0.0-161974.x86_64&lt;br /&gt;
&lt;p /&gt;
Please help me.&lt;br /&gt;
&lt;p /&gt;
Attached the script I use&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 13:42:57 GMT</pubDate>
      <author>ii00907</author>
      <guid>http://communities.vmware.com/message/1383644</guid>
      <dc:date>2009-10-07T13:42:57Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Getting Started with the vSphere SDK for Perl</title>
      <link>http://communities.vmware.com/docs/DOC-10837</link>
      <description>&lt;br /&gt;
&lt;b&gt;Author:&lt;/b&gt; William Lam&lt;br /&gt;
&lt;b&gt;Twitter:&lt;/b&gt; &lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;@lamw&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;Website:&lt;/b&gt; &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Step 1. Visit the vSphere SDK for Perl Home Page&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/forums/vsphere_sdk_perl" title="Perl interface for managing VMware vSphere™"&gt;vSphere&amp;trade; SDK for Perl&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
You will find latest Downloads, Reference Documentation and Community Discussions and links to resources. &lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Step 2. Become familiar with vSphere SDK for Perl Resources: &lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Support Information: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9841"&gt;vSphere, VI 3.x SDK - Support Information&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;VMware Code Central (Sample Code) : &lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/codecentral/vsphere_perl" title="Sample Code: Perl interface for managing VMware vSphere"&gt;SDK for Perl&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Take a look at &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-7270"&gt;Getting Started with vSphere SDKs&lt;/a&gt; document&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h2&gt;Step 3. Explore new ways of managing your vSphere Platform using the remote CLI&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Try some of the esxcfg-* commands using vSphere SDK for Perl scripts
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;RCLI&lt;/b&gt; - &lt;a class="jive-link-external" href="http://engr.ucsb.edu/~duonglt/vmware/#vmware_rcli"&gt;http://engr.ucsb.edu/~duonglt/vmware/#vmware_rcli&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;vCLI&lt;/b&gt; - &lt;a class="jive-link-external" href="http://engr.ucsb.edu/~duonglt/vmware/#vmware_vcli"&gt;http://engr.ucsb.edu/~duonglt/vmware/#vmware_vcli&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Additional utilities bundled with vCLI/RCLI installation
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html"&gt;VI Perl Toolkit Utility Application Reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/viperl40/doc/vsperl_util_index.html"&gt;vSphere SDK for Perl Utility Application Reference&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h2&gt;Step 4. Develop and create your own scripts and utlities using the vSphere SDK for Perl&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Become familiar vSphere 4.0 API Reference documentation
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;vSphere 4.0&lt;/b&gt; - &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html"&gt;http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;VI 3.5&lt;/b&gt; - &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/index.html"&gt;http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/index.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Learn how to get started with writing your own Perl script using vSphere SDK for Perl
&lt;ul&gt;
&lt;li&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/doc/perl_toolkit_appliance_idx.html"&gt;http://www.vmware.com/support/developer/viperltoolkit/doc/perl_toolkit_appliance_idx.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;I think the easiest way to learn this is to start playing with some of the canned scripts and to make it even easier to have an environment that's all setup for you with both the &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vcli/"&gt;vCLI&lt;/a&gt; and &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/viperl40/doc/vsperl_util_index.html"&gt;vSphere SDK for Perl&lt;/a&gt;, you can download &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vima/index.html"&gt;VMware vMA&lt;/a&gt;. vMA is a Redhat Enterprise 5 Linux Virtual Appliance to allow administrators and developers to run scripts and agents to manage ESX/ESXi and vCenter Server systems remotely.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Help us improve our document, provide additional useful information and share with a friend. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;h1&gt;FAQ&lt;/h1&gt;
&lt;h2&gt;1. What is difference between vSphere API and vSphere SDK for Perl?&lt;/h2&gt;
Let's define two very important vocabulary words - &lt;br /&gt;
&lt;br /&gt;
Wikipedia defines an &lt;b&gt;&lt;u&gt;API&lt;/u&gt;&lt;/b&gt; as:&lt;br /&gt;
&lt;br /&gt;
Source: &lt;a class="jive-link-external" href="http://en.wikipedia.org/wiki/Application_programming_interface"&gt;http://en.wikipedia.org/wiki/Application_programming_interface&lt;/a&gt;&lt;br /&gt;
&lt;div class="jive-quote"&gt;Application programming interface (API) is an interface in computer science that defines the ways by which an application program may request services from libraries and/or operating systems&lt;br /&gt;
&lt;p /&gt;
An API may be:&lt;br /&gt;
&lt;p /&gt;
&lt;ul&gt;
&lt;li&gt;Language-dependent; that is, available only in a given programming language, using the syntax and elements of that language to make the API convenient to use in this context.&lt;/li&gt;
&lt;/ul&gt;
&lt;p /&gt;
&lt;ul&gt;
&lt;li&gt;Language-independent; that is, written in a way that means it can be called from several programming languages (typically an assembly or C interface). This is a desired feature for a service-style API that is not bound to a given process or system and is available as a remote procedure call.Wikipedia defines &lt;b&gt;&lt;u&gt;SDK&lt;/u&gt;&lt;/b&gt; as: &lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Source: &lt;a class="jive-link-external" href="http://en.wikipedia.org/wiki/Sdk"&gt;http://en.wikipedia.org/wiki/Sdk&lt;/a&gt;&lt;br /&gt;
&lt;div class="jive-quote"&gt;A software development kit (SDK or "devkit") is typically a set of development tools that allows a software engineer to create applications for a certain software package, software framework, hardware platform, computer system, video game console, operating system, or similar platform.&lt;br /&gt;
&lt;p /&gt;
It may be something as simple as an application programming interface (API) in the form of some files to interface to a particular programming language or include sophisticated hardware to communicate with a certain embedded system.Simply put, VMware exposes the VI3/vSphere 4 API as a Web Service API that utilizes (WSDL,SOAP and HTTP) to access server-side objects. From the above &lt;a class="jive-link-external" href="http://en.wikipedia.org/wiki/Application_programming_interface"&gt;API&lt;/a&gt; defintion, an API can be language-indepednent, which is exactly what VMware has done to allow development from the various rich scripting and programming languages such as Perl, PowerCLI, C#, .net and Java. These are the various SDK's or &lt;b&gt;"bindings"&lt;/b&gt; that have been created to allow administrators and developers to write a simple scripts to automate a task or complex applications to monitor, deploy or configure the wide ranges of componets in the VI/vSphere platform.&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;2. What is difference between RCLI and vCLI?&lt;/h2&gt;
With the advent of ESXi which is basically ESX without the Service Console, managing and configuring ESXi has slightly changed. VMware wanted to provide some continutity when managing and configuring ESXi and decided to duplicate majority of the esxcfg-* commands and functionality into a set of &lt;b&gt;"remote"&lt;/b&gt; esxcfg-* commands which utilizes the VI/vSphere API and hence RCLI/vCLI was born. The RCLI (Remote Command Line Interface) has been renamed to vCLI (vSphere Command Line Interface) with the release of vSphere. &lt;br /&gt;
&lt;br /&gt;
Here is a table of the new vSphere names from the old VI3 names for the various SDKs/APIs/Toolkits&lt;br /&gt;
&lt;br /&gt;
&lt;table class="jive-wiki-table"&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;Audience&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;vSphere 4.0&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;VMware Infrastructure 3.x&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/download/download.do?downloadGroup=VC-SDK"&gt;vSphere Web Services SDK 4.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Infrastructure SDK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/"&gt;vSphere SDK for Perl 4.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Infrastructure Perl Toolkit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/forums/java_toolkit" title="Java Toolkit for developing VMware vSphere™ management applications"&gt;vSphere SDK for Java (Tech Preview)\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Infrastructure for Java (Tech Preview)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Administrator&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/pubs/ps_pubs.html"&gt;vSphere PowerCLI 4.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Infrastructure Toolkit for Windows&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/forums/guestapi" title="Monitor virtual machine statistics from within the VMware vSphere™ guest OS"&gt;vSphere Guest SDK 4.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Guest SDK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/forums/automationapi" title="Manage and automate the OS guests inside your virtual machines"&gt;VIX API 1.7\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VIX API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/forums/vddk" title="Create and access virtual disks"&gt;Virtual Disk Development Kit 1.1\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Virtual Disk Development Kit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/vmtn/vam/studio" title="Author, update, and manage production-ready appliances"&gt;VMware Studio 1.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Studio 1.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Developer&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/forums/managementapi" title="Develop management applications for VMware vSphere™"&gt;CIM SDK 4.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;CIM SDK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Administrator&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vima/index.html"&gt;vSphere Management Assistant 4.0 (vMA 4.0)\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Infrastructure Management Assistant (VIMA 1.0)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Administrator&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vcli/"&gt;vSphere Command Line Interface (vCLI) 4.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;VMware Infrastructure RCLI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Administrator&lt;/td&gt;
&lt;td&gt;&lt;a class="jive-link-community" href="http://communities.vmware.com/community/developer/forums/ovf" title="Command line utility that supports import and export of OVF packages"&gt;VMware OVF Tool 1.0\&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Not Available&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br clear="left" /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere_sdk_for_perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vi_perl_tool_kit</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vcli</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">rcli</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vma</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vima</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vma4</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vima1.0</category>
      <pubDate>Sat, 03 Oct 2009 02:39:50 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/docs/DOC-10837</guid>
      <dc:date>2009-10-03T02:39:50Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Updated vCenter, now perl scripts get SOAP error "500 EOF when chunk header expected"</title>
      <link>http://communities.vmware.com/message/1383084</link>
      <description>In our case, I pointed out the problem VM to our admin.  He tried viewing the VM settings in the VIC (connected to vCenter), but got an error.  He pointed the VIC at the ESX server, opened up the settings for the VM, then saved it without making any changes, and it fixed the problem in vCenter.&lt;br /&gt;
&lt;br /&gt;
I can get the logs for you if you want.  The admin said there wasn't anything in the logs related to that VM. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
BTW, sorry, but I've got another question about the interval labels:&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Labels for VC 2.5-147633 -   'Past Day', 'Past Week', 'Past Month', ...&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Labels for VC 4.0  -  162856 (production):   'Past Day', 'Past week', 'Past month', ...&lt;br /&gt;
&lt;p /&gt;
Labels for VC 4.0 - 162856 (test lab):    'Past day', 'Past week', 'Past month', ... &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
In our production 4.0 vCenter, "Past Day" is capitalized as stated in the docs, but the other standard intervals have lowercase second words.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
In our test lab 4. 0 vCenter, ALL of the intervals have lowercase second words. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Do you have any idea what's causing this, and why the same build would have different labels?  Also, since the docs are wrong, what are the correct values for these labels?  If I send the wrong label, the script breaks, with a SOAP Fault:  Fault string: A specified parameter was not correct.   querySpec.interval  (Fault detail: InvalidArgumentFault)&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Maybe the API could be updated to not be case sensitive?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Thanks, and let me know if you want to see the logs.</description>
      <pubDate>Tue, 06 Oct 2009 21:36:09 GMT</pubDate>
      <author>david_drew</author>
      <guid>http://communities.vmware.com/message/1383084</guid>
      <dc:date>2009-10-06T21:36:09Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>17</clearspace:replyCount>
    </item>
    <item>
      <title>How to create a vmxnet3 adapter</title>
      <link>http://communities.vmware.com/message/1382167</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
yes both are in the newest version. But I missed to upgrade to the latest VIPerlToolkit which was running in the 3.5 version.&lt;br /&gt;
&lt;p /&gt;
Chris</description>
      <pubDate>Tue, 06 Oct 2009 05:16:49 GMT</pubDate>
      <author>kri-2</author>
      <guid>http://communities.vmware.com/message/1382167</guid>
      <dc:date>2009-10-06T05:16:49Z</dc:date>
      <clearspace:dateToText>1 month, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>ShutDown / PowerOn VMs</title>
      <link>http://communities.vmware.com/message/1379179</link>
      <description>Thanks.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thank you,&lt;br /&gt;
Express</description>
      <pubDate>Thu, 01 Oct 2009 18:04:59 GMT</pubDate>
      <author>EXPRESS</author>
      <guid>http://communities.vmware.com/message/1379179</guid>
      <dc:date>2009-10-01T18:04:59Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>14</clearspace:replyCount>
    </item>
    <item>
      <title>toolkit 1.6 =&amp;gt; error in hostops.pl</title>
      <link>http://communities.vmware.com/message/1378451</link>
      <description>FYI We've changed that code in 4.0.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">toolkit</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">1.6</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">hostops.pl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">exite</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">maintenance</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">mode</category>
      <pubDate>Wed, 30 Sep 2009 23:57:18 GMT</pubDate>
      <author>jnhall</author>
      <guid>http://communities.vmware.com/message/1378451</guid>
      <dc:date>2009-09-30T23:57:18Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Extract files from a VM in vsphere</title>
      <link>http://communities.vmware.com/message/1378448</link>
      <description>What do you mean by not connected to the same network? What network are you going to connect the VM to? And what machine/location/whatever do you want to access the files from?</description>
      <pubDate>Wed, 30 Sep 2009 23:51:27 GMT</pubDate>
      <author>jnhall</author>
      <guid>http://communities.vmware.com/message/1378448</guid>
      <dc:date>2009-09-30T23:51:27Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Performance data not available via VI Perl 1.6 ... with VC 2.5</title>
      <link>http://communities.vmware.com/message/1378447</link>
      <description>Performance Manager is not the easiest thing to query. We would have to see some command line(s), what you're trying to retrieve, output, and so on.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">help</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">issues</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">performance</category>
      <pubDate>Wed, 30 Sep 2009 23:45:59 GMT</pubDate>
      <author>jnhall</author>
      <guid>http://communities.vmware.com/message/1378447</guid>
      <dc:date>2009-09-30T23:45:59Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to emulate esxcfg-vmhbadevs -m with the Perl API?</title>
      <link>http://communities.vmware.com/message/1376890</link>
      <description>Thanks a lot William, your suggestion works great.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">esxcfg-vmhbadevs</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <pubDate>Tue, 29 Sep 2009 15:23:39 GMT</pubDate>
      <author>Aristizabal</author>
      <guid>http://communities.vmware.com/message/1376890</guid>
      <dc:date>2009-09-29T15:23:39Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How do I get the size of files in a datastore?</title>
      <link>http://communities.vmware.com/message/1369727</link>
      <description>np. Don't forget to award 'correct' or 'helpful' points &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";)" /&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/vmtn/archive/beta/vibeta1/developer"&gt;VMware Developer Comuunity&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Mon, 21 Sep 2009 19:10:01 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1369727</guid>
      <dc:date>2009-09-21T19:10:01Z</dc:date>
      <clearspace:dateToText>2 months, 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>getting started with the perl api?</title>
      <link>http://communities.vmware.com/message/1367850</link>
      <description>&lt;br /&gt;
er - wow - that's just what I needed.&lt;br /&gt;
&lt;p /&gt;
A little reading to catch up on though - but loads clearer!&lt;br /&gt;
&lt;p /&gt;
Ta</description>
      <pubDate>Fri, 18 Sep 2009 18:01:06 GMT</pubDate>
      <author>k_</author>
      <guid>http://communities.vmware.com/message/1367850</guid>
      <dc:date>2009-09-18T18:01:06Z</dc:date>
      <clearspace:dateToText>2 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Cannot perform this operation in powered off state</title>
      <link>http://communities.vmware.com/message/1361789</link>
      <description>Are you sure it's not related to an expired license?&lt;br /&gt;
&lt;br /&gt;
=====&lt;br /&gt;
Carter Shanklin&lt;br /&gt;
&lt;a class="jive-link-external" href="http://blogs.vmware.com/vipowershell"&gt;Read the PowerCLI Blog&lt;/a&gt;&lt;br&gt;&lt;a class="jive-link-external" href="http://twitter.com/cshanklin"&gt;Follow me on Twitter&lt;/a&gt;</description>
      <pubDate>Fri, 11 Sep 2009 20:47:47 GMT</pubDate>
      <author>c_shanklin</author>
      <guid>http://communities.vmware.com/message/1361789</guid>
      <dc:date>2009-09-11T20:47:47Z</dc:date>
      <clearspace:dateToText>2 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Slow perl script execution</title>
      <link>http://communities.vmware.com/message/1356272</link>
      <description>I can ask our team to take a peek at this..or at least have a different set of eyes looking at issue.. &lt;br /&gt;
&lt;br /&gt;
_Pablo</description>
      <pubDate>Sun, 06 Sep 2009 05:38:22 GMT</pubDate>
      <author>heyitspablo</author>
      <guid>http://communities.vmware.com/message/1356272</guid>
      <dc:date>2009-09-06T05:38:22Z</dc:date>
      <clearspace:dateToText>2 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>56</clearspace:replyCount>
    </item>
    <item>
      <title>CopyDatastoreFile_Task does not work</title>
      <link>http://communities.vmware.com/message/1355273</link>
      <description>&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;p /&gt;
I need to copy virtual disks (or files) between datastores in VI. I am using VMware Infrastructure (VI) API for perl or vSphere SDK for Perl 4.0. Initialy I tried to use CopyVirtualDisk_Task, but it apeared that it works just with ESX servers not virtual center. Then I tried to use CopyDatastoreFile_Task. CopyDatastoreFile_Task works very strange. When copying vmdk files it just creates very small file in destination - I think that it is some kind of reference to original file. Why it is so? How can I copy file or disk with vSphere SDK for Perl 4.0?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Following code is used in perl script to do the copy.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
my $service_content = Vim::get_service_content();&lt;br /&gt;
my $file_mgr = Vim::get_view(mo_ref =&amp;gt; $service_content-&amp;gt;fileManager);&lt;br /&gt;
$file_mgr-&amp;gt;waitForTask($file_mgr-&amp;gt;CopyDatastoreFile_Task(sourceName =&amp;gt; $SourceName,sourceDatacenter =&amp;gt; $SourceDatacenter,destinationName =&amp;gt; $DestName,destinationDatacenter =&amp;gt; $DestDatacenter));&lt;br /&gt;
&lt;p /&gt;
Regards,&lt;br /&gt;
Roberts</description>
      <pubDate>Fri, 04 Sep 2009 10:17:34 GMT</pubDate>
      <author>r123</author>
      <guid>http://communities.vmware.com/message/1355273</guid>
      <dc:date>2009-09-04T10:17:34Z</dc:date>
      <clearspace:dateToText>2 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Weird Problems since Virtualisation</title>
      <link>http://communities.vmware.com/message/1354565</link>
      <description>You should probably redirect this to a different forum, not sure this is going to provide the best answers for you.&lt;br /&gt;
&lt;br /&gt;
However, it sounds like you have network issues.  Also, be sure you researched best practices with virtualizing Active Directory (particularly, don't use snapshots and roll back unless you understand the implications of watermarks and AD updates).&lt;br /&gt;
&lt;br /&gt;
But from your issue list, I would first spend time validating the network configuration and performance.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">windows</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">active_directory</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">ad</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">slow</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">esx_4</category>
      <pubDate>Thu, 03 Sep 2009 17:29:36 GMT</pubDate>
      <author>stumpr</author>
      <guid>http://communities.vmware.com/message/1354565</guid>
      <dc:date>2009-09-03T17:29:36Z</dc:date>
      <clearspace:dateToText>2 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>AddDVPortgroup error</title>
      <link>http://communities.vmware.com/message/1348036</link>
      <description>Thanks, problem solved.&lt;br /&gt;
&lt;br /&gt;
sub add_dvportgroup {&lt;br /&gt;
&lt;br /&gt;
    my ($vdswitch_view, $dvpgname, $vlan, $uplinks) = @_;&lt;br /&gt;
&lt;br /&gt;
    ################## The following inherited fields are MUST #####################&lt;br /&gt;
    my $uplinkpolicy = new VMwareUplinkPortOrderPolicy(inherited =&amp;gt; 'false', activeUplinkPort =&amp;gt; $uplinks);&lt;br /&gt;
    my $policy = new StringPolicy(inherited =&amp;gt; 'false', value =&amp;gt; "loadbalance_srcmac");&lt;br /&gt;
    my $uplinkteamingpolicy = new VmwareUplinkPortTeamingPolicy(inherited =&amp;gt; 'false', uplinkPortOrder =&amp;gt; $uplinkpolicy, policy =&amp;gt; $policy);&lt;br /&gt;
&lt;br /&gt;
    my $qostag = new IntPolicy(inherited =&amp;gt; 'true');&lt;br /&gt;
    my $security = new DVSSecurityPolicy(inherited =&amp;gt; 'true');&lt;br /&gt;
    my $txuplink = new BoolPolicy(inherited =&amp;gt; 'true');&lt;br /&gt;
    my $blocked = new BoolPolicy(inherited =&amp;gt; 'true');&lt;br /&gt;
    my $inshaping = new DVSTrafficShapingPolicy(inherited =&amp;gt; 'true');&lt;br /&gt;
    my $outshaping = new DVSTrafficShapingPolicy(inherited =&amp;gt; 'true');&lt;br /&gt;
    my $vendor = new DVSVendorSpecificConfig(inherited =&amp;gt; 'true');&lt;br /&gt;
&lt;br /&gt;
    my $dvsportsetting = new VMwareDVSPortSetting(vlan =&amp;gt; $vlan, uplinkTeamingPolicy =&amp;gt; $uplinkteamingpolicy,&lt;br /&gt;
                                                  blocked =&amp;gt; $blocked, inShapingPolicy =&amp;gt; $inshaping,&lt;br /&gt;
                                                  outShapingPolicy =&amp;gt; $outshaping, vendorSpecificConfig =&amp;gt; $vendor,&lt;br /&gt;
                                                  qosTag =&amp;gt; $qostag, securityPolicy =&amp;gt; $security, txUplink =&amp;gt; $txuplink);&lt;br /&gt;
&lt;br /&gt;
    my $pgpolicy = new VMwareDVSPortgroupPolicy(blockOverrideAllowed =&amp;gt; 'true', livePortMovingAllowed =&amp;gt; 'false',&lt;br /&gt;
                                                portConfigResetAtDisconnect =&amp;gt; 'false', shapingOverrideAllowed =&amp;gt; 'false',&lt;br /&gt;
                                                vendorConfigOverrideAllowed =&amp;gt; 'false', securityPolicyOverrideAllowed =&amp;gt; 'false',&lt;br /&gt;
                                                uplinkTeamingOverrideAllowed =&amp;gt; 'false', vlanOverrideAllowed =&amp;gt; 'false');&lt;br /&gt;
&lt;br /&gt;
    ################## type is a MUST ################&lt;br /&gt;
    my $dvpgspec = new DVPortgroupConfigSpec(name =&amp;gt; $dvpgname, type =&amp;gt; "earlyBinding", numPorts =&amp;gt; 128, policy =&amp;gt; $pgpolicy, defaultPortConfig =&amp;gt; $dvsportsetting);&lt;br /&gt;
&lt;br /&gt;
    my $dvpgspecs = &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=%24dvpgspec"&gt;$dvpgspec&lt;/a&gt;;&lt;br /&gt;
&lt;br /&gt;
    eval {$vdswitch_view-&amp;gt;AddDVPortgroup(spec =&amp;gt; $dvpgspecs);};&lt;br /&gt;
&lt;br /&gt;
    if ($@) {&lt;br /&gt;
        print_plain($vdswitch_view-&amp;gt;name, "AddDVPortgroup failed: " . $@-&amp;gt;fault_string);&lt;br /&gt;
        return 1;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    print_plain($vdswitch_view-&amp;gt;name, "Add $dvpgname succeeded");&lt;br /&gt;
    return 0;&lt;br /&gt;
}</description>
      <pubDate>Thu, 27 Aug 2009 10:11:16 GMT</pubDate>
      <author>duyuyang</author>
      <guid>http://communities.vmware.com/message/1348036</guid>
      <dc:date>2009-08-27T10:11:16Z</dc:date>
      <clearspace:dateToText>3 months, 1 hour ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Problem using vSphere™ SDK for Perl instead of VI Perl Toolkit 1.6</title>
      <link>http://communities.vmware.com/message/1347703</link>
      <description>Installing XML::LibXML again did solve the problem.  This requirement is only listed under the "Installing the vSphere SDK for Perl from Source Code" section and not the "Installing a vSphere SDK for Perl Package" section.  Thank you for your help.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <pubDate>Wed, 26 Aug 2009 23:14:59 GMT</pubDate>
      <author>martinkj</author>
      <guid>http://communities.vmware.com/message/1347703</guid>
      <dc:date>2009-08-26T23:14:59Z</dc:date>
      <clearspace:dateToText>3 months, 12 hours ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>remove a VM and rename a VM</title>
      <link>http://communities.vmware.com/message/1345829</link>
      <description>&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;p /&gt;
those information are helpful &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;</description>
      <pubDate>Tue, 25 Aug 2009 12:16:50 GMT</pubDate>
      <author>LuffyDLiu</author>
      <guid>http://communities.vmware.com/message/1345829</guid>
      <dc:date>2009-08-25T12:16:50Z</dc:date>
      <clearspace:dateToText>3 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>vsphere viperl image customization crashes vCenter</title>
      <link>http://communities.vmware.com/message/1344678</link>
      <description>.</description>
      <pubDate>Mon, 24 Aug 2009 05:48:48 GMT</pubDate>
      <author>ultra01</author>
      <guid>http://communities.vmware.com/message/1344678</guid>
      <dc:date>2009-08-24T05:48:48Z</dc:date>
      <clearspace:dateToText>3 months, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>check tools status doesn't return the good value</title>
      <link>http://communities.vmware.com/message/1343584</link>
      <description>Thank you William, unfortunately my vm run on esx 3.5 but this information will serve me for my tests.</description>
      <pubDate>Fri, 21 Aug 2009 14:41:59 GMT</pubDate>
      <author>gierone</author>
      <guid>http://communities.vmware.com/message/1343584</guid>
      <dc:date>2009-08-21T14:41:59Z</dc:date>
      <clearspace:dateToText>3 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>does hardware related events supported in vSphere SDK for Perl?</title>
      <link>http://communities.vmware.com/message/1343530</link>
      <description>Yes, this information is available as part of CIM SMASH: &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/cim-sdk/4.0/smash/index.html"&gt;http://www.vmware.com/support/developer/cim-sdk/4.0/smash/index.html&lt;/a&gt; which has it's own API, I've not used it personally but this is the API you'll want to use for this kind of query. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Fri, 21 Aug 2009 14:00:57 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1343530</guid>
      <dc:date>2009-08-21T14:00:57Z</dc:date>
      <clearspace:dateToText>3 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>VMWareTools version provided by the host</title>
      <link>http://communities.vmware.com/message/1342244</link>
      <description>&lt;br /&gt;
I really appreciate your ideas and answers, but it is not that trivial here. But you earned some points now &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":-)" /&gt;. &lt;br /&gt;
We are having a fully automated install/update process of our vms without the focus on the VMWareTools but on every software/drivers in the vm. So we need a really rock solid installation/update process for the tools that can be run in &lt;u&gt;every state, every situation, on every host and every time&lt;/u&gt; &lt;u&gt;without beeing watched and controlled&lt;/u&gt;. For this I was just looking for a DataObject/method in the VIPerlToolkit that returns the version of the tools of the queried host. If there is such a DO/method I would have the solutions, but it seems there isn't one.&lt;br /&gt;
&lt;p /&gt;
Chris&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Thu, 20 Aug 2009 08:12:51 GMT</pubDate>
      <author>kri-2</author>
      <guid>http://communities.vmware.com/message/1342244</guid>
      <dc:date>2009-08-20T08:12:51Z</dc:date>
      <clearspace:dateToText>3 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
    <item>
      <title>VI RLC get() , put()</title>
      <link>http://communities.vmware.com/message/1341147</link>
      <description>&lt;b&gt;vifs&lt;/b&gt; is part of the vCLI and is a Perl script which utilizes HTTP GET/PUTs to transfer files to/from the remote host. Regarding the speed, yes it's not the fastest but I've not personally tried to see if there was a way to speed it up.&lt;br /&gt;
&lt;br /&gt;
There is an article by Dave Mishchenko about potentially speeding up transfers and it works with &lt;b&gt;vifs&lt;/b&gt;, take a look here: &lt;a class="jive-link-external" href="http://www.vm-help.com/esx/esx3i/http_transfers.php"&gt;http://www.vm-help.com/esx/esx3i/http_transfers.php&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <pubDate>Wed, 19 Aug 2009 06:40:14 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1341147</guid>
      <dc:date>2009-08-19T06:40:14Z</dc:date>
      <clearspace:dateToText>3 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>vSphere SDK for perl is thread safe?</title>
      <link>http://communities.vmware.com/message/1340962</link>
      <description>&lt;br /&gt;
Thanks, I got that.&lt;br /&gt;
&lt;p /&gt;
Shawn</description>
      <pubDate>Wed, 19 Aug 2009 01:16:47 GMT</pubDate>
      <author>duyuyang</author>
      <guid>http://communities.vmware.com/message/1340962</guid>
      <dc:date>2009-08-19T01:16:47Z</dc:date>
      <clearspace:dateToText>3 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>openSSL certificate verification</title>
      <link>http://communities.vmware.com/message/1340258</link>
      <description>I am using the vMA? I am under the directory general and executing the connect.pl. I am getting the above errors that point back to a problem with the self-signed ceritificates. I have verified the certificates are good by openssl verify &amp;lt;cerificate nane&amp;gt;. I believe that it is a configuration error. Not sure how openssl works with self-signed cerificates on the client side.</description>
      <pubDate>Tue, 18 Aug 2009 12:29:14 GMT</pubDate>
      <author>kef461</author>
      <guid>http://communities.vmware.com/message/1340258</guid>
      <dc:date>2009-08-18T12:29:14Z</dc:date>
      <clearspace:dateToText>3 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>If you need any sample code to get started, make a request here!</title>
      <link>http://communities.vmware.com/message/1339704</link>
      <description>&lt;br /&gt;
Please check the updated versions that we have updated today. Let us know if there is any other problems&lt;br /&gt;
&lt;p /&gt;
-Nava</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">help</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sample_code</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <pubDate>Mon, 17 Aug 2009 21:07:54 GMT</pubDate>
      <author>navadavuluri</author>
      <guid>http://communities.vmware.com/message/1339704</guid>
      <dc:date>2009-08-17T21:07:54Z</dc:date>
      <clearspace:dateToText>3 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>problem with vmclone.pl</title>
      <link>http://communities.vmware.com/message/1335149</link>
      <description>&lt;div class="jive-quote"&gt;
 I'm connecting to a vmware ESX server, not a virtual center, so I'm not sure how to figure out the name of the "data center" in this context. &lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
That's your problem, &lt;b&gt;vmclone.pl&lt;/b&gt; only supports connecting to vCenter, as the CloneVM() operation is a feature of vCenter. You will not be able to use this script to clone your VM&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Wed, 12 Aug 2009 04:37:54 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1335149</guid>
      <dc:date>2009-08-12T04:37:54Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Script to update bios on Dell servers</title>
      <link>http://communities.vmware.com/message/1333954</link>
      <description>Have you looked into the &lt;a class="jive-link-external" href="http://support.dell.com/support/edocs/software/dtk/3_1/index.htm"&gt;Dell Tool Kit (DTK)&lt;/a&gt;?&lt;br /&gt;
&lt;br /&gt;
I used it with a PXE boot environment to do automated firmware updates.  There are also some tools provided with the OpenManage packages (they probably still put out a version for ESX servers).  It had tools for getting/setting information from the DRAC, BIOS, etc.</description>
      <pubDate>Mon, 10 Aug 2009 22:14:36 GMT</pubDate>
      <author>stumpr</author>
      <guid>http://communities.vmware.com/message/1333954</guid>
      <dc:date>2009-08-10T22:14:36Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>How can I provide the option inside a perl script?</title>
      <link>http://communities.vmware.com/message/1333498</link>
      <description>&lt;br /&gt;
I too was looking for this, and I found a great way to do it, without Enviroment Vars which are a little more unsecure.&lt;br /&gt;
&lt;p /&gt;
Inside the  VILib.pm file, you can find the names of the various options, and then use...&lt;br /&gt;
&lt;p /&gt;
Example for setting the VMName: &lt;br /&gt;
&lt;p /&gt;
Opts::set_option("vmname","whatever");&lt;br /&gt;
&lt;p /&gt;
Do that after the Opts::parse();&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Worked for me.</description>
      <pubDate>Mon, 10 Aug 2009 14:56:07 GMT</pubDate>
      <author>cnuckels</author>
      <guid>http://communities.vmware.com/message/1333498</guid>
      <dc:date>2009-08-10T14:56:07Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Problems with vihostupdate.pl</title>
      <link>http://communities.vmware.com/message/1333384</link>
      <description>&lt;br /&gt;
That appears to have been the issue.  Originally, I verified that I was running the most current version of RCLI, unaware that vCLI had replaced it.  Upgrading to vCLI allowed me to query.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Steve&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Mon, 10 Aug 2009 13:41:08 GMT</pubDate>
      <author>sochry</author>
      <guid>http://communities.vmware.com/message/1333384</guid>
      <dc:date>2009-08-10T13:41:08Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>vSphere SDK on SLES 11 or Debian Lenny</title>
      <link>http://communities.vmware.com/message/1329508</link>
      <description>Hi,&lt;br /&gt;
thank for your response and sorry for answering that late, but I lost sight of that issue since there was too much daily business &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";-)" /&gt;&lt;br /&gt;
&lt;br /&gt;
I agree, that some performance impacts result of that heavy XML data returned. But stracing a test case gives us approx. 17.700 systemcalls. About&lt;br /&gt;
14.000 of these are stat-calls searching the file ima_method_maker.al in various path components. This lasts about 7 sec.&lt;br /&gt;
&lt;br /&gt;
We have installed:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:#808080"&gt;melete:/root&amp;gt;&amp;gt;&amp;gt; rpm -qi perl-Class-MethodMaker&lt;br /&gt;
Name        : perl-Class-MethodMaker       Relocations: (not relocatable)&lt;br /&gt;
Version     : 2.11                              Vendor: SUSE LINUX &lt;br /&gt;
Products GmbH, Nuernberg, Germany&lt;br /&gt;
Release     : 13.22                         Build Date: Sa 21 Feb 2009 &lt;br /&gt;
03:45:54 CET&lt;br /&gt;
Install Date: Mo 06 Jul 2009 11:45:08 CEST      Build Host: cherubini&lt;br /&gt;
Group       : Development/Libraries/Perl    Source RPM: &lt;br /&gt;
perl-Class-MethodMaker-2.11-13.22.src.rpm&lt;br /&gt;
Size        : 21374929                         License: Artistic License&lt;br /&gt;
Signature   : RSA/8, Sa 21 Feb 2009 03:46:10 CET, Key ID e3a5c360307e3d54&lt;br /&gt;
Packager    : &lt;a class="jive-link-external" href="http://bugs.opensuse.org"&gt;http://bugs.opensuse.org&lt;/a&gt;&lt;br /&gt;
Summary     : Class::MethodMaker&lt;br /&gt;
Description :&lt;br /&gt;
This module solves the problem of having to write a bazillion get/set&lt;br /&gt;
methods that are all the same.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
Authors:&lt;br /&gt;
&lt;hr /&gt;
fluffy@engineer.com&lt;br /&gt;
Distribution: SUSE Linux Enterprise 11&lt;br /&gt;
&lt;br /&gt;
Obviously there is no such file part of this package:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color:#808080"&gt;melete:/root&amp;gt;&amp;gt;&amp;gt; rpm -qil perl-Class-MethodMaker | grep -i ima&lt;br /&gt;
melete:/root&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
According to&lt;br /&gt;
&lt;a class="jive-link-external" href="http://search.cpan.org/~evo/Class-MakeMethods-1.01/MakeMethods/Emulator/MethodMaker.pm"&gt;http://search.cpan.org/~evo/Class-MakeMethods-1.01/MakeMethods/Emulator/MethodMaker.pm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
we found:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ima_method_maker - no longer supported; use target_class instead&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Cheers&lt;br /&gt;
David&lt;br /&gt;
&lt;p /&gt;
&lt;ul class="jive-dash"&gt;

&lt;ul class="jive-dash"&gt;
&lt;li&gt;Pedo mellon a minno --&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;</description>
      <pubDate>Wed, 05 Aug 2009 08:59:08 GMT</pubDate>
      <author>davidhaase</author>
      <guid>http://communities.vmware.com/message/1329508</guid>
      <dc:date>2009-08-05T08:59:08Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Installed perl toolkit 1.5 on Windows and problem running the sample script.</title>
      <link>http://communities.vmware.com/message/1329311</link>
      <description>The error is showing that it's unable to load the Perl modules, can you check to see if those exists? You may want to uninstall and try a fresh install, also note there is a newer release of the VI Perl Toolkit 1.6 and also the vSphere SDK for Perl 4.0&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Wed, 05 Aug 2009 02:58:44 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1329311</guid>
      <dc:date>2009-08-05T02:58:44Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>VMware API Perl Toolkit Install Issue</title>
      <link>http://communities.vmware.com/message/1329330</link>
      <description>&lt;br /&gt;
Thanks Shanklin,&lt;br /&gt;
&lt;p /&gt;
 I commented out the lines below and it got installed.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
   4734 #    if (vmware_product() ne 'tools-for-linux' &amp;#38;&amp;#38;&lt;br /&gt;
   4735 #        vmware_product() ne 'tools-for-freebsd' &amp;#38;&amp;#38;&lt;br /&gt;
   4736 #        vmware_product() ne 'tools-for-solaris') {&lt;br /&gt;
   4737       # If the product is not tools, we need to bail on detecting a xen kernel.&lt;br /&gt;
   4738 #      if ( -d '/proc/xen' ) {&lt;br /&gt;
   4739 #        error('You cannot install ' .&lt;br /&gt;
   4740 #              vmware_product_name() .&lt;br /&gt;
   4741 #              ' on a system running a xen kernel.');&lt;br /&gt;
   4742 #      }&lt;br /&gt;
   4743 #    }</description>
      <pubDate>Wed, 05 Aug 2009 01:58:29 GMT</pubDate>
      <author>softential</author>
      <guid>http://communities.vmware.com/message/1329330</guid>
      <dc:date>2009-08-05T01:58:29Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Trouble validating VI Perl Toolkit 1.6</title>
      <link>http://communities.vmware.com/message/1328809</link>
      <description>Thanks for the responses.  Somehow you guys fixed it.&lt;br /&gt;
&lt;br /&gt;
Or more likely I am some kind of fat-fingered idiot.&lt;br /&gt;
&lt;br /&gt;
I literally spent several hours fighting this yesterday, and today i was typing in the exact command i was trying to use, to post here and i decided to try it one more time to make sure i quoted the error message right, and bam, it works.  I think i may have messed up the path, can i really have typed it wrong that many times???  I guess i could.   Thanks for the reminder, stumpr.&lt;br /&gt;
&lt;br /&gt;
So thanks much for the help, everyone.  I will have to learn to read, or type accurately, or something....    &lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
joe</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <pubDate>Tue, 04 Aug 2009 16:56:38 GMT</pubDate>
      <author>joeboren</author>
      <guid>http://communities.vmware.com/message/1328809</guid>
      <dc:date>2009-08-04T16:56:38Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Remote procedure call using SDK for Perl</title>
      <link>http://communities.vmware.com/message/1327352</link>
      <description>afaik, there is not a way. VIX API is exactly for this use case relying on the guestOS to have VMware Tools installed. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Mon, 03 Aug 2009 04:19:58 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1327352</guid>
      <dc:date>2009-08-03T04:19:58Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Get guest vm ip address</title>
      <link>http://communities.vmware.com/message/1325812</link>
      <description>&lt;br /&gt;
Hi, thanks again. It helps a lot.&lt;br /&gt;
&lt;p /&gt;
 Regards,&lt;br /&gt;
&lt;p /&gt;
Shawn</description>
      <pubDate>Fri, 31 Jul 2009 02:05:40 GMT</pubDate>
      <author>duyuyang</author>
      <guid>http://communities.vmware.com/message/1325812</guid>
      <dc:date>2009-07-31T02:05:40Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>What does "an OVF descriptor" mean ?</title>
      <link>http://communities.vmware.com/message/1325805</link>
      <description>&lt;br /&gt;
I&amp;rsquo;ve tried hard to solve this problem but I can&amp;rsquo;t. I give up.&lt;br /&gt;
&lt;p /&gt;
Using ovftool may be a good idea, I think.&lt;br /&gt;
&lt;p /&gt;
 Thank you for your  kindly help.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Fri, 31 Jul 2009 01:33:08 GMT</pubDate>
      <author>luger_lee</author>
      <guid>http://communities.vmware.com/message/1325805</guid>
      <dc:date>2009-07-31T01:33:08Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Change VLAN while Cloning</title>
      <link>http://communities.vmware.com/message/1325068</link>
      <description>Yes, take a look at my perl script which shows you how to do that. You need to edit your &lt;b&gt;VirtualDeviceConfigSpec&lt;/b&gt; &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.vm.device.VirtualDeviceSpec.html"&gt;http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.vm.device.VirtualDeviceSpec.html&lt;/a&gt; &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Thu, 30 Jul 2009 14:06:16 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1325068</guid>
      <dc:date>2009-07-30T14:06:16Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Getting ext3 file system details using vi sdk</title>
      <link>http://communities.vmware.com/message/1322680</link>
      <description>This information is not exposed through the vSphere API nor the VI API, the closet information you'll be able to retrieve is the partition information (no information on the actual mount points nor folder sizes/etc), take a look at this script I wrote for more details: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10173"&gt;queryDiskParition.pl&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Tue, 28 Jul 2009 13:55:42 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1322680</guid>
      <dc:date>2009-07-28T13:55:42Z</dc:date>
      <clearspace:dateToText>3 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Unregister a vm does not remove it from the inventory?</title>
      <link>http://communities.vmware.com/message/1322348</link>
      <description>&lt;br /&gt;
Thank you both. Your answers help a lot.&lt;br /&gt;
&lt;p /&gt;
 Regards,&lt;br /&gt;
&lt;p /&gt;
Shawn</description>
      <pubDate>Tue, 28 Jul 2009 05:31:27 GMT</pubDate>
      <author>duyuyang</author>
      <guid>http://communities.vmware.com/message/1322348</guid>
      <dc:date>2009-07-28T05:31:27Z</dc:date>
      <clearspace:dateToText>4 months, 6 hours ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Changes to the ESX Service Console for ESX 4.0</title>
      <link>http://communities.vmware.com/message/1319631</link>
      <description>&lt;br /&gt;
Please check out the attched document for information &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
This technical paper discusses incompatibilities between the ESX 3.5 service&lt;br /&gt;
console and the ESX 4.0 service console. Included are suggestions of what you might do to upgrade your&lt;br /&gt;
existing environments that depend on the ESX service console. This document also discusses how you might&lt;br /&gt;
bridge the gap to support ESXi, which does not include a service console. And finally, if you are currently&lt;br /&gt;
writing applications that run in the ESX service console, this document suggests some possible options you&lt;br /&gt;
have for transitioning away from it.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">changes</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">service_console</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">esx_4</category>
      <pubDate>Fri, 24 Jul 2009 01:38:09 GMT</pubDate>
      <author>navadavuluri</author>
      <guid>http://communities.vmware.com/message/1319631</guid>
      <dc:date>2009-07-24T01:38:09Z</dc:date>
      <clearspace:dateToText>4 months, 4 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Problem with VMInfo.pl</title>
      <link>http://communities.vmware.com/message/1317904</link>
      <description>&lt;br /&gt;
I found the problem:  the vmname has to be entered in the same case as it is listed in the VC database.  In our case we create all VMs in all caps so that is how it has to be entered in the script.  I just need to add some code to make sure the command line arguments are always in all caps or convert them if not.</description>
      <pubDate>Wed, 22 Jul 2009 15:32:54 GMT</pubDate>
      <author>DrewGator</author>
      <guid>http://communities.vmware.com/message/1317904</guid>
      <dc:date>2009-07-22T15:32:54Z</dc:date>
      <clearspace:dateToText>4 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Browsing datastore files</title>
      <link>http://communities.vmware.com/message/1314751</link>
      <description>Your &lt;b&gt;datastorePath&lt;/b&gt; is set to NULL that is the reason you're getting the current fault, it needs to be in the following form:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;[datastore_name]&lt;/div&gt;
&lt;br /&gt;
So you should probably do something like:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;my $path = "[" . $datastore-&amp;gt;info-&amp;gt;name . "]";&lt;/div&gt;
&lt;br /&gt;
I also assume you've taken a look at the &lt;b&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/viperl40/doc/dsbrowse.html"&gt;dsbrowse.pl&lt;/a&gt;&lt;/b&gt; which is part of the vSphere SDK for Perl as the snippet of code is familiar. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Sat, 18 Jul 2009 23:47:05 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1314751</guid>
      <dc:date>2009-07-18T23:47:05Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>datacenter question</title>
      <link>http://communities.vmware.com/message/1311172</link>
      <description>datacenter would be any datacenter objects you have created in your VC inventory.  You could have multiple datacenters in your inventory, so it's a way to only see objects from that datacenter down the tree.&lt;br /&gt;
&lt;br /&gt;
You should use --server= or --url= for your VC parameter.  Server would be just the FQDN or IP, url would be &lt;a class="jive-link-external" href="https://"&gt;https://&lt;/a&gt;&amp;lt;FQDN(or IP)&amp;gt;/sdk</description>
      <pubDate>Tue, 14 Jul 2009 23:05:47 GMT</pubDate>
      <author>stumpr</author>
      <guid>http://communities.vmware.com/message/1311172</guid>
      <dc:date>2009-07-14T23:05:47Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Simple create VM script not working</title>
      <link>http://communities.vmware.com/message/1308059</link>
      <description>Howdy folks,&lt;br /&gt;
&lt;br /&gt;
I'm trying to create a simple create VM script from the ground up and I can't for the life of me find out what's wrong. The error I keep on getting is:&lt;br /&gt;
&lt;br /&gt;
SOAP Fault:&lt;br /&gt;
&lt;hr /&gt;
Fault string: A component of the virtual machine is not accessible on the host.&lt;br /&gt;
Fault detail: CannotAccessVmComponent&lt;br /&gt;
&lt;br /&gt;
I've tried to trim it down as much as possible to try and figure out this last issue. I took out the deviceChange portion and still get the same error. I also tried changing the datastore name to verify the format of it, and that was not the issue either as it complained .. Also, in the version I pasted below I put the var's directly in the create_vm_spec function as well .. Help!!! &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";-)" /&gt;&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use VMware::VIRuntime;&lt;br /&gt;
&lt;br /&gt;
my $vc    = 'x.x.x.x';&lt;br /&gt;
my $vc_un = 'username';&lt;br /&gt;
my $vc_pw = 'password';&lt;br /&gt;
my $host  = 'hostname';&lt;br /&gt;
&lt;br /&gt;
$vc = "https://$vc:443/sdk/vimService";&lt;br /&gt;
&lt;br /&gt;
Util::connect($vc,$vc_un,$vc_pw);&lt;br /&gt;
&lt;br /&gt;
my $host_view = get_esx_host($host);&lt;br /&gt;
my $dc_view = get_datacenter("datacenter");&lt;br /&gt;
my $folder  = $dc_view-&amp;gt;vmFolder;&lt;br /&gt;
&lt;br /&gt;
my $folder_view = Vim::get_view(mo_ref =&amp;gt;; $dc_view-&amp;gt;vmFolder);&lt;br /&gt;
my $comp_view   = Vim::get_view(mo_ref =&amp;gt; $host_view-&amp;gt;parent);&lt;br /&gt;
&lt;br /&gt;
my $spec = create_vm_spec();&lt;br /&gt;
&lt;br /&gt;
eval {&lt;br /&gt;
    $folder_view-&amp;gt;CreateVM(&lt;br /&gt;
    config =&amp;gt;$spec,&lt;br /&gt;
    pool   =&amp;gt;$comp_view-&amp;gt;resourcePool&lt;br /&gt;
    );&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
print $@;&lt;br /&gt;
&lt;br /&gt;
Util::disconnect();&lt;br /&gt;
&lt;br /&gt;
 # creates object for a given host&lt;br /&gt;
sub get_esx_host {&lt;br /&gt;
    my $host = shift;&lt;br /&gt;
    return Vim::find_entity_view(&lt;br /&gt;
        view_type =&amp;gt; 'HostSystem',&lt;br /&gt;
        filter    =&amp;gt; {&lt;br /&gt;
            name      =&amp;gt; qr/$host/i&lt;br /&gt;
        }&lt;br /&gt;
    );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
 # creates an object for a given dc&lt;br /&gt;
sub get_datacenter {&lt;br /&gt;
    my $dc = shift;&lt;br /&gt;
    return Vim::find_entity_view(&lt;br /&gt;
        view_type =&amp;gt; 'Datacenter',&lt;br /&gt;
        filter    =&amp;gt; {&lt;br /&gt;
            name =&amp;gt; qr/$dc/i&lt;br /&gt;
        }&lt;br /&gt;
    );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
 # create vm spec, see below for params&lt;br /&gt;
sub create_vm_spec {&lt;br /&gt;
&lt;br /&gt;
    my $name         = "testMe";&lt;br /&gt;
    my $cpus         = 1;&lt;br /&gt;
    my $mem_size     = 256;&lt;br /&gt;
    my $guest_os     = "rhel4Guest";&lt;br /&gt;
    my $ds_name      = "datastore";&lt;br /&gt;
&lt;br /&gt;
    my $ds_path = "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=%24ds_name"&gt;$ds_name&lt;/a&gt;";&lt;br /&gt;
&lt;br /&gt;
    # create a ref for the location of the vm files&lt;br /&gt;
    my $files = VirtualMachineFileInfo-&amp;gt;new(&lt;br /&gt;
        logDirectory      =&amp;gt; undef,&lt;br /&gt;
        snapshotDirectory =&amp;gt; undef,&lt;br /&gt;
        suspendDirectory  =&amp;gt; undef,&lt;br /&gt;
        vmPathName        =&amp;gt; $ds_path&lt;br /&gt;
    );&lt;br /&gt;
&lt;br /&gt;
    # and for the grand finalie, lets create the vm spec!!!!!!!&lt;br /&gt;
    my $vm_spec = VirtualMachineConfigSpec-&amp;gt;new(&lt;br /&gt;
        name         =&amp;gt; $name,&lt;br /&gt;
        memoryMB     =&amp;gt; $mem_size,&lt;br /&gt;
        files        =&amp;gt; $files,&lt;br /&gt;
        numCPUs      =&amp;gt; $cpus,&lt;br /&gt;
        guestId      =&amp;gt; $guest_os&lt;br /&gt;
    );&lt;br /&gt;
&lt;br /&gt;
    return $vm_spec;&lt;br /&gt;
&lt;br /&gt;
}</description>
      <pubDate>Fri, 10 Jul 2009 18:26:24 GMT</pubDate>
      <author>repl1cant</author>
      <guid>http://communities.vmware.com/message/1308059</guid>
      <dc:date>2009-07-10T18:26:24Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>how to check the status of the server added in vMA</title>
      <link>http://communities.vmware.com/message/1305372</link>
      <description>When you add add a target to vMA for management, all it does is adds two local accounts (vi-user and vi-admin) and keeps an internal list of the targets which can be displayed by using &lt;b&gt;listservers&lt;/b&gt; option. There is no concept of status since it will just fail a command when you try to execute a command to a host that is not available, you might want to run a very generic script as you loop through all targets and based on this you take into account of any targets that are not online.&lt;br /&gt;
&lt;br /&gt;
A good one would be &lt;b&gt;/usr/lib/vmware-vcli/apps/general/viversion.pl&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You would also do a simple ping test prior to executing your commands, so it really depends on what you want to check for, but there is nothing special with the vifp that provides a current status of your targets. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Wed, 08 Jul 2009 13:54:09 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1305372</guid>
      <dc:date>2009-07-08T13:54:09Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Shutting down multiple hosts and the vm's on the hosts</title>
      <link>http://communities.vmware.com/message/1304663</link>
      <description>I think you're trying to just syspend or shutdown every VM and then shut down the host.&lt;br /&gt;
&lt;br /&gt;
&lt;a class="jive-link-external" href="http://pastebin.com/f6ac77c07"&gt;This code&lt;/a&gt; might help.</description>
      <pubDate>Tue, 07 Jul 2009 19:03:31 GMT</pubDate>
      <author>c_shanklin</author>
      <guid>http://communities.vmware.com/message/1304663</guid>
      <dc:date>2009-07-07T19:03:31Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Can SDK for perl execute an ESX service console command: esxcfg-info?</title>
      <link>http://communities.vmware.com/message/1302657</link>
      <description>&lt;br /&gt;
Thank you again.&lt;br /&gt;
&lt;p /&gt;
If SSHing to ESX service console  is not an option, we can not execute esxcfg-info to an ESX host and fetch the output back from vMA, am I right? &lt;br /&gt;
&lt;p /&gt;
I am wondering if vSphere SDK API objects provide such capability. And I badly want to get that full set of host information. &lt;br /&gt;
&lt;p /&gt;
Regards,&lt;br /&gt;
&lt;p /&gt;
Shawn</description>
      <pubDate>Sun, 05 Jul 2009 02:05:12 GMT</pubDate>
      <author>duyuyang</author>
      <guid>http://communities.vmware.com/message/1302657</guid>
      <dc:date>2009-07-05T02:05:12Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>vsphere 4 perl SDK with ESX 3.5?</title>
      <link>http://communities.vmware.com/message/1301433</link>
      <description>Thanks!</description>
      <pubDate>Thu, 02 Jul 2009 20:04:31 GMT</pubDate>
      <author>catphive</author>
      <guid>http://communities.vmware.com/message/1301433</guid>
      <dc:date>2009-07-02T20:04:31Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Using common options</title>
      <link>http://communities.vmware.com/message/1300624</link>
      <description>So first off, you'll probably want to reference both the programmers guide and toolkit guide: &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/viperltoolkit/doc/perl_toolkit_appliance_idx.html"&gt;http://www.vmware.com/support/developer/viperltoolkit/doc/perl_toolkit_appliance_idx.html&lt;/a&gt; which provides information on how to start writing your own scripts and some methods to implement to make it easier to writing your own custom scripts.&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;VI_CONFIG&lt;/b&gt; file you're referring to is generally stored as a hidden file which can be named anything, in my example I've named it &lt;u&gt;.viconfig&lt;/u&gt; which will hold a few variables:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@scofield ~]$ cat .viconfig
VI_SERVER=reflex.primp-industries.com
VI_USERNAME=primp
VI_PASSWORD=mysecurepassword!
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
You have the option to store other variables such as the VI_URL, VI_PROTOCOL, etc. though at a minimal for an unattended execution you'll need at least the server, which in this case can be either vCenter Server or ESX(i) server, the proper username/password to login to the systems. VMware has already pre-built some subroutines to automatically parse and validate the various credentials that can provided by default, so no need to reinvent the wheel. Just use what's there, which can be specified on the command line with &lt;b&gt;--config&lt;/b&gt; and the path to the configuration file. &lt;br /&gt;
&lt;br /&gt;
Okay, on to the script, again there are lots of scripts that have been pre-written which you can follow from  &lt;b&gt;/usr/lib/vmware-vcli/apps/&lt;/b&gt; or &lt;b&gt;/usr/lib/vmware-viperl/apps/&lt;/b&gt; and you'll probably find the &lt;u&gt;vm&lt;/u&gt; directory to be quite useful. In your script, you're looking to shutdown and suspend a list of VMs, based on the function of choice, you're doing a hard power off versus a soft guest shutdown. The latter requires that you have VMware Tools installed, else you'll get a soap fault. Nonetheless, it can be handled and caught by doing a force power off, but based on your initial script I've slightly re-written and hopefully it gives you an idea on how to go about writing this script.&lt;br /&gt;
&lt;br /&gt;
Take a look at: &lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-10269"&gt;poweroff_suspend_vm.pl&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Here is a sample run using a configuration file w/o having to provide any credentials:&lt;br /&gt;
&lt;br /&gt;
VM list&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@scofield ~]$ cat vmList
Quentin
VCAP
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
Suspend&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@scofield ~]$ ./vmPowerOps.pl --config .viconfig --operation suspend --vmfile vmList
Trying to suspend Quentin
        Successfully suspended Quentin
Trying to suspend VCAP
        Successfully suspended VCAP
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
Shutdown&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@scofield ~]$ ./vmPowerOps.pl --config .viconfig --operation poweroff--vmfile vmList
Trying to poweroff Quentin
        Successfully poweredoff Quentin
Trying to poweroff VCAP
        Successfully poweredoff VCAP
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
If you're looking to do a proper guest shutdown, take a look at &lt;b&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.VirtualMachine.html#shutdownGuest"&gt;ShutdownGuest&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Happy scripting! &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;&lt;br /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
William Lam&lt;br /&gt;
VMware vExpert 2009&lt;br /&gt;
VMware ESX/ESXi scripts and resources at: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;http://engineering.ucsb.edu/~duonglt/vmware/&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-9852"&gt;vGhetto Script Repository&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-community" href="http://communities.vmware.com/community/private/bitbucket/developer/codecentral" title="Sample code for VMware vSphere SDKs and APIs"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://twitter.com/lamw"&gt;http://twitter.com/lamw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" alt="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
If you find this information useful, please award points for "correct" or "helpful".</description>
      <pubDate>Thu, 02 Jul 2009 03:15:09 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1300624</guid>
      <dc:date>2009-07-02T03:15:09Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Trouble retrieving VM objects</title>
      <link>http://communities.vmware.com/message/1296375</link>
      <description>At least it was something simple. Sorry I misread your post not once, but twice. &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";)" /&gt;</description>
      <pubDate>Fri, 26 Jun 2009 21:41:52 GMT</pubDate>
      <author>stumpr</author>
      <guid>http://communities.vmware.com/message/1296375</guid>
      <dc:date>2009-06-26T21:41:52Z</dc:date>
      <clearspace:dateToText>5 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Import a Virtual Machine using Perl</title>
      <link>http://communities.vmware.com/message/1296207</link>
      <description>For the converter-specific problems you may have more luck in the converter forum.</description>
      <pubDate>Fri, 26 Jun 2009 18:15:12 GMT</pubDate>
      <author>c_shanklin</author>
      <guid>http://communities.vmware.com/message/1296207</guid>
      <dc:date>2009-06-26T18:15:12Z</dc:date>
      <clearspace:dateToText>5 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>15</clearspace:replyCount>
    </item>
    <item>
      <title>Function RebootGuest() stop when VmWare tools service isn't started</title>
      <link>http://communities.vmware.com/message/1296088</link>
      <description>Yes, you'd use the &lt;a class="jive-link-external" href="http://www.perl.com/doc/manual/html/pod/perlfunc/defined.html"&gt;defined function&lt;/a&gt;.  You would test to see if a VirtualMachine's &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.vm.GuestInfo.html"&gt;GuestInfo&lt;/a&gt; property is defined.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;
if ( defined $vm_view-&amp;gt;guest ) {
     # Do something productive here
}
else {
     # Complain about missing tools here
}
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
You may want to write a safe check function if you don't want your scripts to generate a run time error when accessing VMware SDK properties.  A lot of the properties are not guaranteed to be set.  Eval can be a bit easier to manage since you sometimes end up with a long list of &lt;b&gt;if&lt;/b&gt; statements.  I sometimes just use the ternary operator for value properties</description>
      <pubDate>Fri, 26 Jun 2009 16:31:37 GMT</pubDate>
      <author>stumpr</author>
      <guid>http://communities.vmware.com/message/1296088</guid>
      <dc:date>2009-06-26T16:31:37Z</dc:date>
      <clearspace:dateToText>5 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Perl vSphere SDK on OS X</title>
      <link>http://communities.vmware.com/message/1294319</link>
      <description>Hmm, good catch. I'll file a bug for this. Among other things the One True Way to detect Windows is to see if $^O matches exactly the string 'MSWin32'. (Period.)</description>
      <pubDate>Wed, 24 Jun 2009 21:52:25 GMT</pubDate>
      <author>jnhall</author>
      <guid>http://communities.vmware.com/message/1294319</guid>
      <dc:date>2009-06-24T21:52:25Z</dc:date>
      <clearspace:dateToText>5 months, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Compatibility: VIPerl 1.6 &amp;#38; vSphere SDK for Perl v4: Gotchas/Issues?</title>
      <link>http://communities.vmware.com/message/1294008</link>
      <description>Okay, yeah, I think ESX 3.5 and ESX 4 have slightly different ways of implementing the API; however, aside from the Copy task issue, I haven't run into any other issues.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">gotchas</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">issues</category>
      <pubDate>Wed, 24 Jun 2009 17:21:31 GMT</pubDate>
      <author>kindlund</author>
      <guid>http://communities.vmware.com/message/1294008</guid>
      <dc:date>2009-06-24T17:21:31Z</dc:date>
      <clearspace:dateToText>5 months, 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
    </item>
    <item>
      <title>hot migration using perl sdk</title>
      <link>http://communities.vmware.com/message/1293146</link>
      <description>apart from the default options given in the script add the following additional option: --state "poweredOn" &lt;br /&gt;
&lt;br /&gt;
it will also perform the hot migrate</description>
      <pubDate>Tue, 23 Jun 2009 22:50:06 GMT</pubDate>
      <author>aswani521</author>
      <guid>http://communities.vmware.com/message/1293146</guid>
      <dc:date>2009-06-23T22:50:06Z</dc:date>
      <clearspace:dateToText>5 months, 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>VI Perl Toolkit using a lot of CPU (hundreds of thousands of calls to libXML)</title>
      <link>http://communities.vmware.com/message/1292226</link>
      <description>&lt;br /&gt;
Thanks for your answer. Indeed the script is taking too long to execute, and while it is running it is using 100% cpu. It doesn't make sense to me that a script that only gathers a few values uses so much resources, but it is understandable if the feature to get precise properties was undocumented. The script only requres a few perl modules and an esx or esxi to connect to to make it work. Help would be much appreciated anyhow, and I would gladly assist with testing. Cheers. &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">issues</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">viperl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <pubDate>Tue, 23 Jun 2009 09:51:21 GMT</pubDate>
      <author>MartinWi</author>
      <guid>http://communities.vmware.com/message/1292226</guid>
      <dc:date>2009-06-23T09:51:21Z</dc:date>
      <clearspace:dateToText>5 months, 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>scripting datastore creation</title>
      <link>http://communities.vmware.com/message/1280554</link>
      <description>Below are couple of forum threads that might be of help:&lt;br /&gt;
&lt;a class="jive-link-external" href="http://communities.vmware.com/message/1176591#1176591"&gt;http://communities.vmware.com/message/1176591#1176591&lt;/a&gt;&lt;br /&gt;
&lt;a class="jive-link-external" href="http://communities.vmware.com/message/851135#851135"&gt;http://communities.vmware.com/message/851135#851135&lt;/a&gt;</description>
      <pubDate>Thu, 11 Jun 2009 11:48:24 GMT</pubDate>
      <author>njain</author>
      <guid>http://communities.vmware.com/message/1280554</guid>
      <dc:date>2009-06-11T11:48:24Z</dc:date>
      <clearspace:dateToText>5 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>vicfg-nas datastore removal</title>
      <link>http://communities.vmware.com/message/1277928</link>
      <description>&lt;br /&gt;
I've done some testing and you are right.&lt;br /&gt;
&lt;p /&gt;
I can add and remove datastores using the RCLI on my ESX hosts, but not on the ESXi hosts that are using the free license.&lt;br /&gt;
&lt;p /&gt;
Thanks!</description>
      <pubDate>Tue, 09 Jun 2009 16:28:02 GMT</pubDate>
      <author>klevron</author>
      <guid>http://communities.vmware.com/message/1277928</guid>
      <dc:date>2009-06-09T16:28:02Z</dc:date>
      <clearspace:dateToText>5 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Problems installing vSphere SDK</title>
      <link>http://communities.vmware.com/message/1272218</link>
      <description>It is x86 and it finally works after upgrading the 1.65 libxml module to the most recent 1.66 version so it seems like it was not so much about a faulty registered dll-file but rather the  Perl module for binding to libxml2. &lt;br /&gt;
Thanks for all the help in this matter.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">installation</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <pubDate>Thu, 04 Jun 2009 09:12:37 GMT</pubDate>
      <author>bandersfdjhefjh</author>
      <guid>http://communities.vmware.com/message/1272218</guid>
      <dc:date>2009-06-04T09:12:37Z</dc:date>
      <clearspace:dateToText>5 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
    </item>
    <item>
      <title>Welcome vSphere SDK for Perl users !</title>
      <link>http://communities.vmware.com/message/1270536</link>
      <description>I just laid out the steps I usually take to setup your ActiveState Perl environment to run VMware scripts in another thread.&lt;br /&gt;
&lt;br /&gt;
Take a look at this &lt;a class="jive-link-external" href="http://communities.vmware.com/thread/213077?tstart=0"&gt;thread&lt;/a&gt; in this forum.</description>
      <category domain="http://communities.vmware.com/tags?communityID=3088">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">vsphere</category>
      <category domain="http://communities.vmware.com/tags?communityID=3088">forums</category>
      <pubDate>Wed, 03 Jun 2009 05:23:35 GMT</pubDate>
      <author>stumpr</author>
      <guid>http://communities.vmware.com/message/1270536</guid>
      <dc:date>2009-06-03T05:23:35Z</dc:date>
      <clearspace:dateToText>5 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
  </channel>
</rss>

