<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: list files of datastore for virtual machine in vSphere Command-Line Interface Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560589#M1202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for tip. I founded it as well. But I thought PowerCLI and RCLI have compatibility by commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, I am gonna learn powershell ;o)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2009 08:46:01 GMT</pubDate>
    <dc:creator>filip_hasa</dc:creator>
    <dc:date>2009-09-10T08:46:01Z</dc:date>
    <item>
      <title>list files of datastore for virtual machine</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560587#M1200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; how to list files of datastore for virtual machine?! I cannot find it in command reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 06:41:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560587#M1200</guid>
      <dc:creator>filip_hasa</dc:creator>
      <dc:date>2009-09-10T06:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: list files of datastore for virtual machine</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560588#M1201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Powershell wouild be easiest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.vmware.com/vipowershell/2009/08/how-to-list-datastores-that-are-on-shared-storage.html" target="test_blank"&gt;http://blogs.vmware.com/vipowershell/2009/08/how-to-list-datastores-that-are-on-shared-storage.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 08:31:19 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560588#M1201</guid>
      <dc:creator>bulletprooffool</dc:creator>
      <dc:date>2009-09-10T08:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: list files of datastore for virtual machine</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560589#M1202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for tip. I founded it as well. But I thought PowerCLI and RCLI have compatibility by commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, I am gonna learn powershell ;o)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 08:46:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560589#M1202</guid>
      <dc:creator>filip_hasa</dc:creator>
      <dc:date>2009-09-10T08:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: list files of datastore for virtual machine</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560590#M1203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you've installed vCLI and vSphere SDK for Perl, you'll have additional utilities on top of what's there with the vCLI, take a look at this list: &lt;A href="http://www.vmware.com/support/developer/viperltoolkit/viperl40/doc/vsperl_util_index.html"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One script that can help with listing datastore files for a given VM is &lt;STRONG&gt;dsbrowse.pl&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code"&gt;
[vi-admin@scofield ~]$ /usr/lib/vmware-vcli/apps/host/dsbrowse.pl --server himalaya.primp-industries.com --username root --name dlgCore-iSCSI.test


Information about datastore : 'dlgCore-iSCSI.test'
---------------------------
Summary
 Name             : dlgCore-iSCSI.test
 Location         : /vmfs/volumes/4a26f505-02dfd8a4-6867-003048d9586a
 File system      : VMFS
 Maximum Capacity : 15.75 GB
 Available space  : 11.654296875 GB

Hosts associated with this datastore.
 himalaya.primp-industries.com

Virtual machines on this datastore.
 None

Templates on this datastore.
 None

Datastore Folder Structure.
 Folder Path: '[http://dlgCore-iSCSI.test|http://dlgCore-iSCSI.test]'
 Files present
  testagain
  testlab-1
  testlab-2
  testlab-3
  testlab-4
  testlab-5
  testlab-6
  testlab-7
  testlab-8
  testlab-9
  testlab-10
  testlab-11
  testlab-12
  testlab-13
  testlab-14
  testlab-15

 Folder Path: '[http://dlgCore-iSCSI.test|http://dlgCore-iSCSI.test] testagain'
 Files present
  testagain.vmdk
  vmware.log
  testagain.nvram
  vmware-70.log
  vmware-65.log
  vmware-66.log
  vmware-68.log
  vmware-67.log
  vmware-69.log
  testagain-flat.vmdk
  testagain.vmx
  testagain.vmxf
  testagain.vmsd


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;William Lam&lt;/P&gt;&lt;P&gt;VMware vExpert 2009&lt;/P&gt;&lt;P&gt;VMware ESX/ESXi scripts and resources at: &lt;A href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/d-9852"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-3075"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-2828"&gt;VMware Developer Comuunity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find this information useful, please award points for "correct" or "helpful".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 13:54:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560590#M1203</guid>
      <dc:creator>lamw</dc:creator>
      <dc:date>2009-09-10T13:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: list files of datastore for virtual machine</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560591#M1204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is too complex for me but good direction. My solution is vifs.pl &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\# vifs2.pl -Z DS --dir \[L1A_G4_R5_001\]VUPAJS001&lt;/P&gt;&lt;P&gt;Parent Directory&lt;/P&gt;&lt;P&gt;VUPAJS001-6f6374fc.hlog&lt;/P&gt;&lt;P&gt;VUPAJS001-6f6374fc.vswp&lt;/P&gt;&lt;P&gt;VUPAJS001-aux.xml&lt;/P&gt;&lt;P&gt;VUPAJS001-flat.vmdk&lt;/P&gt;&lt;P&gt;VUPAJS001.nvram&lt;/P&gt;&lt;P&gt;VUPAJS001.vmdk&lt;/P&gt;&lt;P&gt;VUPAJS001.vmsd&lt;/P&gt;&lt;P&gt;VUPAJS001.vmx&lt;/P&gt;&lt;P&gt;VUPAJS001.vmxf&lt;/P&gt;&lt;P&gt;vmware-15.log&lt;/P&gt;&lt;P&gt;vmware-16.log&lt;/P&gt;&lt;P&gt;vmware-17.log&lt;/P&gt;&lt;P&gt;vmware-18.log&lt;/P&gt;&lt;P&gt;vmware-19.log&lt;/P&gt;&lt;P&gt;vmware-20.log&lt;/P&gt;&lt;P&gt;vmware.log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found bug in vifs.pl ;o) see separate thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 10:09:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560591#M1204</guid>
      <dc:creator>filip_hasa</dc:creator>
      <dc:date>2009-09-22T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: list files of datastore for virtual machine</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560592#M1205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this script helps: &lt;A href="https://communities.vmware.com/d-10788"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What bug did you find in &lt;STRONG&gt;vifs.pl&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;William Lam&lt;/P&gt;&lt;P&gt;VMware vExpert 2009&lt;/P&gt;&lt;P&gt;VMware ESX/ESXi scripts and resources at: &lt;A href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/d-9852"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-3075"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-2828"&gt;VMware Developer Comuunity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find this information useful, please award points for "correct" or "helpful".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 13:56:03 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560592#M1205</guid>
      <dc:creator>lamw</dc:creator>
      <dc:date>2009-09-22T13:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: list files of datastore for virtual machine</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560593#M1206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see this: &lt;A href="http://communities.vmware.com/docs/DOC-10774"&gt;new vifs.pl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it similar solution but only for list directory.http://networkadminkb.com/kb/Knowledge%20Base/VMWare/Unable%20to%20list%20Folders%20of%20Datastores%20in%20VIFS.pl%20Script.aspx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for interest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think anybody can be interest for script which can export one vmdk and vmx file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 22:38:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/list-files-of-datastore-for-virtual-machine/m-p/2560593#M1206</guid>
      <dc:creator>filip_hasa</dc:creator>
      <dc:date>2009-09-22T22:38:51Z</dc:date>
    </item>
  </channel>
</rss>

