<?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: Message List - vmware-cmd.pl not case sensitive</title>
    <link>http://communities.vmware.com/community/vmtn/vi/esxi3.5?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 27 Feb 2009 18:24:24 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-02-27T18:24:24Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1184208?tstart=0#1184208</link>
      <description>It's in the Linux RCLI install / appliance but not in the Windows install.</description>
      <pubDate>Fri, 27 Feb 2009 18:24:24 GMT</pubDate>
      <author>Dave.Mishchenko</author>
      <guid>http://communities.vmware.com/message/1184208?tstart=0#1184208</guid>
      <dc:date>2009-02-27T18:24:24Z</dc:date>
      <clearspace:dateToText>9 months, 3 hours ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1184233?tstart=0#1184233</link>
      <description>You can try to either post in the VI API forum, there are some engineers that might be able to help or you can create an SR w/VMware if you have a support contract. &lt;br /&gt;
&lt;br /&gt;
In terms of rsxtop .. I don't recall if this is installed by default with RCLI, I know it's available in VIMA and that's what I use for management so I'm not 100% sure, you can probably check the release notes if this is part of the RCLI or part of VIMA only. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
=========================================================================&lt;br /&gt;
--William&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;</description>
      <pubDate>Fri, 27 Feb 2009 18:22:51 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1184233?tstart=0#1184233</guid>
      <dc:date>2009-02-27T18:22:51Z</dc:date>
      <clearspace:dateToText>9 months, 3 hours ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1184197?tstart=0#1184197</link>
      <description>&lt;br /&gt;
Yes... the client is a Windows machine. I also noticed that there is no resxtop installed... is that intentional?&lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
Sven</description>
      <pubDate>Fri, 27 Feb 2009 18:02:37 GMT</pubDate>
      <author>sdelmas</author>
      <guid>http://communities.vmware.com/message/1184197?tstart=0#1184197</guid>
      <dc:date>2009-02-27T18:02:37Z</dc:date>
      <clearspace:dateToText>9 months, 4 hours ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1183596?tstart=0#1183596</link>
      <description>Are you using the RCLI for Windows or for Linux? The command itself should work on RCLI for Linux and I've demonstrated on VIMA as well. It could be a bug or known issue if you're running it on Windows. You can always open an SR to VMware to see if that is the case&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
--William&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;</description>
      <pubDate>Fri, 27 Feb 2009 04:42:39 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1183596?tstart=0#1183596</guid>
      <dc:date>2009-02-27T04:42:39Z</dc:date>
      <clearspace:dateToText>9 months, 17 hours ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1183124?tstart=0#1183124</link>
      <description>I donwloaded the rcli 2 days ago... so I am pretty sure it's current.</description>
      <pubDate>Thu, 26 Feb 2009 18:44:02 GMT</pubDate>
      <author>sdelmas</author>
      <guid>http://communities.vmware.com/message/1183124?tstart=0#1183124</guid>
      <dc:date>2009-02-26T18:44:02Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182965?tstart=0#1182965</link>
      <description>Just make sure you're running the latest VI Perl Toolkit which is 1.6 which is the same version that's installed by default on the VIMA. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
--William&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;</description>
      <pubDate>Thu, 26 Feb 2009 16:39:27 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1182965?tstart=0#1182965</guid>
      <dc:date>2009-02-26T16:39:27Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182914?tstart=0#1182914</link>
      <description>&lt;br /&gt;
Yeah... that's what I thought. As mentioned before... I need to run my stuff on a machine that has additional services running that is proprietary.&lt;br /&gt;
&lt;p /&gt;
I suspect though that if the remote cli is the same on your vapp, that it would fail the same as my remote cli. My suspicion is that there is either a configuration issue or some other incompatibility. Do you want me to run some debug code to see why cmware-cmd.pl fails in my environment?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Sven</description>
      <pubDate>Thu, 26 Feb 2009 15:54:30 GMT</pubDate>
      <author>sdelmas</author>
      <guid>http://communities.vmware.com/message/1182914?tstart=0#1182914</guid>
      <dc:date>2009-02-26T15:54:30Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182262?tstart=0#1182262</link>
      <description>VMware VIMA is a vApp (virtual appliance) by VMware, it's an alternative to the Service Console most of us are used to and eventually will replace the Service Console and remove the management console into a VM. This is primarily useful in when managing and automating tasks on ESXi which does not have a supported console. &lt;br /&gt;
&lt;br /&gt;
VIMA basically provides the default RCLI utilities along with VI Perl Toolkit and some neat features such as VI-Fastpass and vilogger which only comes with VMware VIMA.&lt;br /&gt;
&lt;br /&gt;
For some high level information you can check out: &lt;a class="jive-link-external" href="http://engineering.ucsb.edu/~duonglt/vmware/#vmware_vima"&gt;http://engineering.ucsb.edu/~duonglt/vmware/#vmware_vima&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It's a great tool and free download to help manage your ESX/ESXi host and virtual machines. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
--William&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;</description>
      <pubDate>Thu, 26 Feb 2009 01:50:47 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1182262?tstart=0#1182262</guid>
      <dc:date>2009-02-26T01:50:47Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182248?tstart=0#1182248</link>
      <description>&lt;br /&gt;
I am using VMWareVIRemoteCLI on Windows... I take it VIMA is your appliance VM? Can't use that because I need to collect that info on a machine that also has other infrastructure information available. Or is there a different set of CLI tools? If yes, please send me the link for the download. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Sven</description>
      <pubDate>Thu, 26 Feb 2009 00:46:43 GMT</pubDate>
      <author>sdelmas</author>
      <guid>http://communities.vmware.com/message/1182248?tstart=0#1182248</guid>
      <dc:date>2009-02-26T00:46:43Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>8</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182233?tstart=0#1182233</link>
      <description>I'm using VMware VIMA and the RCLI and it works fine:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;[vi-admin@vima-primp-industries ~]$ vmware-cmd.pl /vmfs/volumes/48c3a8cb-92b015b9-de33-003048670886/VIMA/VIMA.vmx getstate --server himalaya.primp-industries.com
Enter username: root
Enter password:
getstate() = on[vi-admin@vima-primp-industries ~]$
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Are you using the latest RCLI, on Windows or Linux? I would highly recommend VIMA to manage your hosts and automate scripted tasks/queries&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
=========================================================================&lt;br /&gt;
--William&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;</description>
      <pubDate>Thu, 26 Feb 2009 00:16:16 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1182233?tstart=0#1182233</guid>
      <dc:date>2009-02-26T00:16:16Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182242?tstart=0#1182242</link>
      <description>&lt;br /&gt;
Yes... I am passing the exact path in that is returned by vmware-cmd.pl. The exact same command works fine on the local esx server. In my case that would be the absolute file system path. One thing that may confuse thinks for vmware-cmd.pl (not sure... I haven't looked into the underlying code), is that the server is linux, while the client is windows. Nevertheless... using the already resolved name as "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=Volume"&gt;Volume&lt;/a&gt; blah/blah.vmx" works fine remotely, so something with the finding of the vmx file seems to be messed up.&lt;br /&gt;
&lt;p /&gt;
 If you want me to run any debugging code I am happy to do that... &lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
Sven</description>
      <pubDate>Thu, 26 Feb 2009 00:11:50 GMT</pubDate>
      <author>sdelmas</author>
      <guid>http://communities.vmware.com/message/1182242?tstart=0#1182242</guid>
      <dc:date>2009-02-26T00:11:50Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182230?tstart=0#1182230</link>
      <description>I assume you're passing in the fullpath to the .vmx to the command in either of these formats:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;
/vmfs/volumes/somedatastorename/my_vm.vmx&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&lt;div class="jive-quote"&gt;
[somedatastorename] my_vm/my_vm.vmx&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
If that's the case, then it "should" function like version on the Service Console&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
=========================================================================&lt;br /&gt;
--William&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;</description>
      <pubDate>Thu, 26 Feb 2009 00:06:23 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1182230?tstart=0#1182230</guid>
      <dc:date>2009-02-26T00:06:23Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1182219?tstart=0#1182219</link>
      <description>&lt;br /&gt;
I believe my problem was probably different than yours... (sorry for cluttering the thread). I traced this down to this scenario/issue:&lt;br /&gt;
&lt;p /&gt;
 I am using the vmware-cmd.pl remote access feature. When I issue the command on the local ESX server the getstate works just fine. If I do it remotely it fails with the aforementioned error. What it comes down to is this code in vmware-cmd.pl (well... actually the functions that are being called): &lt;br /&gt;
&lt;p /&gt;
      my $vm_cfg_path = generate_cfg_path($cmdarray[0]);&lt;br /&gt;
      my $vm_view;&lt;br /&gt;
      if (defined $vm_cfg_path) {&lt;br /&gt;
         $vm_view = get_vm($vm_cfg_path);&lt;br /&gt;
      }&lt;br /&gt;
&lt;p /&gt;
As the function name suggests, generate_cfg_path generates the path to the configuration. In the remote case, the get_vm call does not actually append the actual configuration file name (the one with the .vmx). I haven't looked into why that happens, but the function returns just the original path and then things fail. If I pass in the already resloved name as "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=Volume"&gt;Volume&lt;/a&gt; VM/12345/vmwconfig.vmx" then things work fine.&lt;br /&gt;
&lt;p /&gt;
Looks like a name lookup issue in vm_view, and a lack of testing this tool in remote mode. Another workaround would be to take the tail of the original cmdarray[0] (after the last /) and append that to $vm_view if it is identical to $vm_cfg_path. &lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
Sven</description>
      <pubDate>Wed, 25 Feb 2009 23:58:48 GMT</pubDate>
      <author>sdelmas</author>
      <guid>http://communities.vmware.com/message/1182219?tstart=0#1182219</guid>
      <dc:date>2009-02-25T23:58:48Z</dc:date>
      <clearspace:dateToText>9 months, 1 day ago</clearspace:dateToText>
      <clearspace:replyCount>12</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1181799?tstart=0#1181799</link>
      <description>I never got it to work.  I think it is just a bug.  Does anyone know where I can file this so we can have this resolved?</description>
      <pubDate>Wed, 25 Feb 2009 18:07:41 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1181799?tstart=0#1181799</guid>
      <dc:date>2009-02-25T18:07:41Z</dc:date>
      <clearspace:dateToText>9 months, 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>13</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1181103?tstart=0#1181103</link>
      <description>&lt;br /&gt;
 Did you ever figure this out? I am running into the exact same problem... I am taking the exact output from the vmware-cmd.pl script and put it into the subsequent call to vmware-cmd.pl, and still I get "No virtual machine found"... for eaxample: &lt;br /&gt;
&lt;p /&gt;
 /vmfs/volumes/483411be-874070d6-23e8-001d09709fa3/VM/39854/039854-aeolus-w2k3.vmx (this is the output from the -l invocation)&lt;br /&gt;
&lt;p /&gt;
vmware-cmd.pl -H vmconsole1.electric-cloud.com -U root -P password /vmfs/volume/483411be-874070d6-23e8-001d09709fa3/VM/39854/039854-aeolus-w2k3.vmx getstate&lt;br /&gt;
  No virtual machine found &lt;br /&gt;
&lt;p /&gt;
I tried with quotes around the .vmx file name (which shold not make any difference as there are no spaces in the path), and that indeed did't change anything. If I log in to the server I can do an ls on the file and it's there, with proper permissions... the server is a Linux box.&lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
Sven&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 02:19:52 GMT</pubDate>
      <author>sdelmas</author>
      <guid>http://communities.vmware.com/message/1181103?tstart=0#1181103</guid>
      <dc:date>2009-02-25T02:19:52Z</dc:date>
      <clearspace:dateToText>9 months, 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>14</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114974?tstart=0#1114974</link>
      <description>Yes it is a similar script but I have to use the remote CLI instead of the host console because I am using ESXi.</description>
      <pubDate>Thu, 04 Dec 2008 01:08:52 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114974?tstart=0#1114974</guid>
      <dc:date>2008-12-04T01:08:52Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114973?tstart=0#1114973</link>
      <description>Yes it is a similar script but I have to use the remote CLI instead of the host console because I am using ESXi.</description>
      <pubDate>Thu, 04 Dec 2008 01:05:49 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114973?tstart=0#1114973</guid>
      <dc:date>2008-12-04T01:05:49Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114972?tstart=0#1114972</link>
      <description>Yes it is a similar script but I have to use the remote CLI instead of the host console because I am using ESXi.</description>
      <pubDate>Thu, 04 Dec 2008 01:04:45 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114972?tstart=0#1114972</guid>
      <dc:date>2008-12-04T01:04:45Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114971?tstart=0#1114971</link>
      <description>Yes it is a similar script but I have to use the remote CLI instead of the host console because I am using ESXi.</description>
      <pubDate>Thu, 04 Dec 2008 01:04:35 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114971?tstart=0#1114971</guid>
      <dc:date>2008-12-04T01:04:35Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114970?tstart=0#1114970</link>
      <description>Yes it is a similar script but I have to use the remote CLI instead of the host console because I am using ESXi.</description>
      <pubDate>Thu, 04 Dec 2008 01:04:29 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114970?tstart=0#1114970</guid>
      <dc:date>2008-12-04T01:04:29Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114969?tstart=0#1114969</link>
      <description>Yes what I am doing is similar but it is just using the remote CLI instead of on the host its self.  ESXi does not have vmware-cmd so I cannot use the script you put down.</description>
      <pubDate>Thu, 04 Dec 2008 01:03:52 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114969?tstart=0#1114969</guid>
      <dc:date>2008-12-04T01:03:52Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114968?tstart=0#1114968</link>
      <description>I am using remote CLI because vmware-cmd is not on ESXi.  But it is pretty much the same thing you have done.</description>
      <pubDate>Thu, 04 Dec 2008 01:03:02 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114968?tstart=0#1114968</guid>
      <dc:date>2008-12-04T01:03:02Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114470?tstart=0#1114470</link>
      <description>Are you doing something similar:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;#!/bin/bash

IFS=$'\n'
echo -e &amp;quot;VM_NAME\t\tSTATE&amp;quot;
for i in `vmware-cmd -l`;
do
        VM_NAME=`vmware-cmd &amp;quot;$i&amp;quot; getconfig displayname | awk '{print $3}'`
        STATE=`vmware-cmd &amp;quot;$i&amp;quot; getstate | awk '{print $3}'`
        echo -e &amp;quot;${VM_NAME}\t\t${STATE}&amp;quot;
done
unset IFS
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Give this a try and see if it works and if not, try doing "sh -x script.sh" to see what attributes are being passed in.</description>
      <pubDate>Wed, 03 Dec 2008 17:38:50 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1114470?tstart=0#1114470</guid>
      <dc:date>2008-12-03T17:38:50Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1114457?tstart=0#1114457</link>
      <description>That is exactally what I am doing, but have the same problem when it loops through and trys to do a getstate I get the &lt;br /&gt;
"No virtual machine found" error.</description>
      <pubDate>Wed, 03 Dec 2008 17:29:51 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1114457?tstart=0#1114457</guid>
      <dc:date>2008-12-03T17:29:51Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>8</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1113749?tstart=0#1113749</link>
      <description>Is there any reason why you can not take what "vmware-cmd -l" returns to you and run a getstate on that given VM? I would just run a for loop across all VMs and as it provides you with the path to the .vmx file, just do a getstate and then you can pretty print it or just output VM Name and State. This way you don't have to worry about the case sensitively of the command, I was always under the impression it was case sensitive.</description>
      <pubDate>Wed, 03 Dec 2008 02:23:02 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/message/1113749?tstart=0#1113749</guid>
      <dc:date>2008-12-03T02:23:02Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1113717?tstart=0#1113717</link>
      <description>That did not work.</description>
      <pubDate>Wed, 03 Dec 2008 01:21:55 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1113717?tstart=0#1113717</guid>
      <dc:date>2008-12-03T01:21:55Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
    </item>
    <item>
      <title>Re: vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1113702?tstart=0#1113702</link>
      <description>Hmm, tried single quoting the /path/to/vmx bit?</description>
      <pubDate>Wed, 03 Dec 2008 01:19:28 GMT</pubDate>
      <author>mittell</author>
      <guid>http://communities.vmware.com/message/1113702?tstart=0#1113702</guid>
      <dc:date>2008-12-03T01:19:28Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>vmware-cmd.pl not case sensitive</title>
      <link>http://communities.vmware.com/message/1113665?tstart=0#1113665</link>
      <description>&lt;br /&gt;
I am trying to get the state of all virtual machines running on a host but it looks like vmware-cmd.pl on the Remote CLI does not understand case sensitive directories.  For example I can do a vmware-cmd.pl -l and get this:&lt;br /&gt;
&lt;p /&gt;
/vmfs/volumes/48dcf09b-1b6d5eab-70dd-001e0b5d9eec/HQLAB01/HQLAB01.vmx&lt;br /&gt;
/vmfs/volumes/48dcf09b-1b6d5eab-70dd-001e0b5d9eec/hqlab01/104/000104-R370-1.vmx&lt;br /&gt;
/vmfs/volumes/48dcf09b-1b6d5eab-70dd-001e0b5d9eec/hqlab01/105/000105-R370-2.vmx&lt;br /&gt;
/vmfs/volumes/48dcf09b-1b6d5eab-70dd-001e0b5d9eec/hqlab01/106/000106-R370I-1.vmx&lt;br /&gt;
&lt;p /&gt;
When I try to get state of any machine with a lowercase hqlab01 i get this:&lt;br /&gt;
&lt;p /&gt;
vmware-cmd.pl /vmfs/volumes/48dcf09b-1b6d5eab-70dd-001e0b5d9eec/&lt;span style="color:#ff0000"&gt;hqlab01&lt;/span&gt;/104/000104-R370-1.vmx getstate&lt;br /&gt;
&lt;p /&gt;
No virtual machine found &lt;br /&gt;
&lt;p /&gt;
Upper case like this works fine:&lt;br /&gt;
&lt;p /&gt;
 vmware-cmd.pl /vmfs/volumes/48dcf09b-1b6d5eab-70dd-001e0b5d9eec/&lt;span style="color:#ff0000"&gt;HQLAB01&lt;/span&gt;/HQLAB01.vmx getstate&lt;br /&gt;
&lt;p /&gt;
 getstate() = off</description>
      <pubDate>Wed, 03 Dec 2008 00:59:15 GMT</pubDate>
      <author>JasonBurrell</author>
      <guid>http://communities.vmware.com/message/1113665?tstart=0#1113665</guid>
      <dc:date>2008-12-03T00:59:15Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>27</clearspace:replyCount>
    </item>
  </channel>
</rss>

