<?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 - How to list delta files in all datastores</title>
    <link>http://communities.vmware.com/community/vmtn/vsphere/automationtools/windows_toolkit?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 10 Sep 2009 07:20:42 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-09-10T07:20:42Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1359804?tstart=0#1359804</link>
      <description>That should normally be in the vifs.pl command but I'm afraid it doesn't allow masking nor recursive folder listings.</description>
      <pubDate>Thu, 10 Sep 2009 07:20:42 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1359804?tstart=0#1359804</guid>
      <dc:date>2009-09-10T07:20:42Z</dc:date>
      <clearspace:dateToText>2 months, 1 week ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1359794?tstart=0#1359794</link>
      <description>Do you know how to get from command line? RCLI.&lt;br /&gt;
&lt;br /&gt;
I cannot find it.&lt;br /&gt;
&lt;br /&gt;
Thank you</description>
      <pubDate>Thu, 10 Sep 2009 06:31:57 GMT</pubDate>
      <author>filip.hasa</author>
      <guid>http://communities.vmware.com/message/1359794?tstart=0#1359794</guid>
      <dc:date>2009-09-10T06:31:57Z</dc:date>
      <clearspace:dateToText>2 months, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1315993?tstart=0#1315993</link>
      <description>&lt;br /&gt;
@c_shanklin : your workaround works for me (i got the "You are not currently connected..." case too)&lt;br /&gt;
&lt;p /&gt;
Thanks !</description>
      <pubDate>Mon, 20 Jul 2009 20:34:08 GMT</pubDate>
      <author>RS_1</author>
      <guid>http://communities.vmware.com/message/1315993?tstart=0#1315993</guid>
      <dc:date>2009-07-20T20:34:08Z</dc:date>
      <clearspace:dateToText>4 months, 5 days ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1075558?tstart=0#1075558</link>
      <description>That did it..perfectly...thank you very, very much!</description>
      <pubDate>Wed, 15 Oct 2008 19:45:49 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1075558?tstart=0#1075558</guid>
      <dc:date>2008-10-15T19:45:49Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1075442?tstart=0#1075442</link>
      <description>Sure, something I had lying around in my goodies chest &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;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;function Get-DatastoreDir ($DSName){

  $dsImpl = Get-Datastore -Name $DSName
  $ds = Get-Datastore -Name $DSName | Get-View
  $dsBrowser = Get-View -Id $ds.Browser

  $datastorepath = &amp;quot;[http://&amp;quot; + $ds.Summary.Name + &amp;quot;|http://&amp;quot; + $ds.Summary.Name + &amp;quot;]&amp;quot;
  
  $searchspec = New-Object VMware.Vim.HostDatastoreBrowserSearchSpec
  $searchSpec.matchpattern = &amp;quot;*&amp;quot;
  $searchSpec.details = New-Object VMware.Vim.FileQueryFlags
  $searchSpec.details.fileSize = $true
  $searchSpec.details.fileType = $true
  $searchSpec.details.modification = $true
 
  $taskMoRef = $dsBrowser.SearchDatastoreSubFolders_Task($datastorePath, $searchSpec) 
  $task = Get-View $taskMoRef 
  while ($task.Info.State -eq &amp;quot;running&amp;quot;){$task = Get-View $taskMoRef}

  $report = @() 
  foreach ($result in $task.info.Result){
    foreach($file in $result.File){
      if($file.GetType().Name -ne &amp;quot;FolderFileInfo&amp;quot;){
	    $row = &amp;quot;&amp;quot; | Select Filename, Folder, Filesize, Modification
        $row.Filename = $file.Path
	    $row.Folder = $result.FolderPath
	    $row.Filesize = $file.FileSize
	    $row.Modification = $file.Modification
	    $report += $row
	  }
    }
  }
  $report
}

Get-DatastoreDir &amp;lt;datastore-name&amp;gt; | Where-Object {$_.Filename -match &amp;quot;flat&amp;quot;}
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
If you want to do this for all your datastores you could change the last line to&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Get-Datastore | %{Get-DatastoreDir $_.Name} | Where-Object {$_.Filename -match &amp;quot;flat&amp;quot;}
&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Wed, 15 Oct 2008 18:38:16 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1075442?tstart=0#1075442</guid>
      <dc:date>2008-10-15T18:38:16Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1075357?tstart=0#1075357</link>
      <description>&lt;br /&gt;
Des anyone have a method to search all datastores for "delta" files, &lt;i&gt;&lt;b&gt;&lt;u&gt;without&lt;/u&gt;&lt;/b&gt;&lt;/i&gt; using the &lt;a class="jive-link-external" href="http://www.codeplex.com/vitoolkitextensions"&gt;VI Toolkit Community Extensions&lt;/a&gt;?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Wed, 15 Oct 2008 17:56:52 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1075357?tstart=0#1075357</guid>
      <dc:date>2008-10-15T17:56:52Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074468?tstart=0#1074468</link>
      <description>Still not working...same error</description>
      <pubDate>Tue, 14 Oct 2008 18:43:07 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1074468?tstart=0#1074468</guid>
      <dc:date>2008-10-14T18:43:07Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074464?tstart=0#1074464</link>
      <description>There is a scoping problem with the $defaultVIServer variable.&lt;br /&gt;
&lt;br /&gt;
This is a workaround: in your script change:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;Connect-VIServer -Server 192.168.xxx.xxx -User xxx -Password xxx
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;$server = Connect-VIServer -Server 192.168.xxx.xxx -User xxx -Password xxx
$global:defaultVIServer = $server
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
It seems there is something peculiar about script cmdlets that makes them run in a different context from other cmdlets. The way we populate and use $defaultVIServer is probably not helping.</description>
      <pubDate>Tue, 14 Oct 2008 18:25:25 GMT</pubDate>
      <author>c_shanklin</author>
      <guid>http://communities.vmware.com/message/1074464?tstart=0#1074464</guid>
      <dc:date>2008-10-14T18:25:25Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074427?tstart=0#1074427</link>
      <description>Yes I do see the "Name Port User" in the output</description>
      <pubDate>Tue, 14 Oct 2008 18:12:33 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1074427?tstart=0#1074427</guid>
      <dc:date>2008-10-14T18:12:33Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074420?tstart=0#1074420</link>
      <description>Yes I do get output...and just to clarify...when I issue the commands one at a time inside powershell it works fine...just doesn't work via the script?</description>
      <pubDate>Tue, 14 Oct 2008 18:02:06 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1074420?tstart=0#1074420</guid>
      <dc:date>2008-10-14T18:02:06Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074384?tstart=0#1074384</link>
      <description>Add-Module is a cmdlet from PowerShell v2, and PowerShell 2 CTP2 is required for the VITK Community Extensions.&lt;br /&gt;
So that should be ok.&lt;br /&gt;
&lt;br /&gt;
And I can't see anything wrong in the script.&lt;br /&gt;
Are you sure the Connect-VIServer is working ?&lt;br /&gt;
Do you see the "Name Port User" message in the output ?</description>
      <pubDate>Tue, 14 Oct 2008 17:58:51 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1074384?tstart=0#1074384</guid>
      <dc:date>2008-10-14T17:58:51Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074417?tstart=0#1074417</link>
      <description>The problem may be that the connection is not actually succeeding.&lt;br /&gt;
&lt;br /&gt;
Can you replace line 6 with just "get-datastore" and see if you get any output?</description>
      <pubDate>Tue, 14 Oct 2008 17:57:38 GMT</pubDate>
      <author>c_shanklin</author>
      <guid>http://communities.vmware.com/message/1074417?tstart=0#1074417</guid>
      <dc:date>2008-10-14T17:57:38Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074396?tstart=0#1074396</link>
      <description>&lt;br /&gt;
Line 4...you mean the one that adds the viToolkitExtensions.psm1?&lt;br /&gt;
&lt;p /&gt;
 If I don't have that the "get-tkedatastorefile" command is not recognized.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 14 Oct 2008 17:52:20 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1074396?tstart=0#1074396</guid>
      <dc:date>2008-10-14T17:52:20Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074371?tstart=0#1074371</link>
      <description>&lt;br /&gt;
I think you'd be ok if you ditched line 4.&lt;br /&gt;
&lt;p /&gt;
 Skark166</description>
      <pubDate>Tue, 14 Oct 2008 17:42:09 GMT</pubDate>
      <author>Skark166</author>
      <guid>http://communities.vmware.com/message/1074371?tstart=0#1074371</guid>
      <dc:date>2008-10-14T17:42:09Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074392?tstart=0#1074392</link>
      <description>Script attached...</description>
      <pubDate>Tue, 14 Oct 2008 17:38:53 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1074392?tstart=0#1074392</guid>
      <dc:date>2008-10-14T17:38:53Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>12</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074379?tstart=0#1074379</link>
      <description>To further analyse what exactly goes wrong it would perhaps be useful if you posted the script.</description>
      <pubDate>Tue, 14 Oct 2008 17:35:29 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1074379?tstart=0#1074379</guid>
      <dc:date>2008-10-14T17:35:29Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>13</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074391?tstart=0#1074391</link>
      <description>&lt;br /&gt;
Thanks LucD...but I do call the "Connect-VIServer" command already?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 14 Oct 2008 17:30:54 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1074391?tstart=0#1074391</guid>
      <dc:date>2008-10-14T17:30:54Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>14</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074372?tstart=0#1074372</link>
      <description>That loads the VITK snapin and defines some aliases and functions (in Initialize-VIToolkitEnvironment.ps1) but it doesn't do a Connect-VIServer.</description>
      <pubDate>Tue, 14 Oct 2008 17:16:08 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1074372?tstart=0#1074372</guid>
      <dc:date>2008-10-14T17:16:08Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074329?tstart=0#1074329</link>
      <description>&lt;br /&gt;
I always use this to initialize the toolkit:&lt;br /&gt;
&lt;blockquote&gt;$vmsnap = Get-PSSnapin vmware* -ErrorAction SilentlyContinue &lt;br clear="all" /&gt; if ($vmsnap -eq $NULL) { Add-PSSnapIn -Name VMWare.VimAutomation.core } &lt;br clear="all" /&gt; Initialize-VIToolkitEnvironment.ps1&lt;/blockquote&gt;
&lt;br /&gt;
Skark166</description>
      <pubDate>Tue, 14 Oct 2008 17:04:32 GMT</pubDate>
      <author>Skark166</author>
      <guid>http://communities.vmware.com/message/1074329?tstart=0#1074329</guid>
      <dc:date>2008-10-14T17:04:32Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074319?tstart=0#1074319</link>
      <description>The message says you are not connected.&lt;br /&gt;
So perhaps add a &lt;b&gt;Connect-VIServer&lt;/b&gt; at the beginning of your c:\deltachk.ps1 script.</description>
      <pubDate>Tue, 14 Oct 2008 17:03:31 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1074319?tstart=0#1074319</guid>
      <dc:date>2008-10-14T17:03:31Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>15</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1074297?tstart=0#1074297</link>
      <description>&lt;br /&gt;
Can anyone see what I'm doing wrong in thepost above?&lt;br /&gt;
&lt;p /&gt;
 Thank you...Mike&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Tue, 14 Oct 2008 16:45:20 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1074297?tstart=0#1074297</guid>
      <dc:date>2008-10-14T16:45:20Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>18</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1070111?tstart=0#1070111</link>
      <description>Perfect...thanks again...but...when I run the following commands separately from the Powershell command line they work fine...&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Add-PSSnapin VMWare.VImAutomation.Core&lt;br /&gt;
"C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\Scripts\Initialize-VIToolkitEnvironment.ps1"&lt;br /&gt;
Add-Module "C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\coreModule\viToolkitExtensions.psm1"&lt;br /&gt;
Connect-VIServer -Server 192.168.xxx.xxx -User xxx -Password xxx&lt;br /&gt;
Get-Datastore | get-tkedatastorefile | where { $_.Path -match "delta" } | format-list * &amp;gt; c:\deltachk.txt&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
...but when I run them inside a script using "PowerShell.exe c:\deltachk.ps1" I get the following errors...&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
Get-View : 10/10/2008 11:28:32 AM Get-View You are not currently connected to any servers. Please connect first using Connect-VIServer or one of its aliases.&lt;br /&gt;
At C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\coreModule\viToolkitExtensions.psm1:460 char:28&lt;br /&gt;
+ $datastoreView = get-view &amp;lt;&amp;lt;&amp;lt;&amp;lt; $ds.id&lt;br /&gt;
Get-View : The argument cannot be null or empty.&lt;br /&gt;
At C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\coreModule\viToolkitExtensions.psm1:461 char:31&lt;br /&gt;
+ $datastoreBrowser = get-view &amp;lt;&amp;lt;&amp;lt;&amp;lt; $datastoreView.browser&lt;br /&gt;
You cannot call a method on a null-valued expression.&lt;br /&gt;
At C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\coreModule\viToolkitExtensions.psm1:468 char:59&lt;br /&gt;
+ $task = $datastoreBrowser.SearchDatastoreSubFolders_Task &amp;lt;&amp;lt;&amp;lt;&amp;lt; ("&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=%24name"&gt;$name&lt;/a&gt; /$subpath", $spec)&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
...what am I doing wrong???&lt;br /&gt;
&lt;br /&gt;
Thank you...MIke&lt;br /&gt;
&lt;br /&gt;
Message was edited by: kastek</description>
      <pubDate>Wed, 08 Oct 2008 20:20:22 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1070111?tstart=0#1070111</guid>
      <dc:date>2008-10-08T20:20:22Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>19</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1070115?tstart=0#1070115</link>
      <description>Either pipe the output into &lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;format-list *
&lt;/code&gt;&lt;/pre&gt; or you can pipe it into &lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;select Path, Modification
&lt;/code&gt;&lt;/pre&gt;.</description>
      <pubDate>Wed, 08 Oct 2008 20:09:33 GMT</pubDate>
      <author>c_shanklin</author>
      <guid>http://communities.vmware.com/message/1070115?tstart=0#1070115</guid>
      <dc:date>2008-10-08T20:09:33Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>20</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1070080?tstart=0#1070080</link>
      <description>Wow...that was easy...thank you very much.&lt;br /&gt;
&lt;br /&gt;
Is there an easy way to have the output not truncate, so I can see the whole Path and Modification fields?&lt;br /&gt;
&lt;p /&gt;
Path                              Size           Modification               Datastore &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
[HNVMW30001SAN01... 16777216    1/14/2008 7:00:1...     HNVMW30001SAN01 &lt;br /&gt;
[HNVMW30001SAN01... 16777216    1/14/2008 7:00:1...     HNVMW30001SAN01 &lt;br /&gt;
&lt;p /&gt;
Thank you...Mike</description>
      <pubDate>Wed, 08 Oct 2008 19:58:13 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1070080?tstart=0#1070080</guid>
      <dc:date>2008-10-08T19:58:13Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>21</clearspace:replyCount>
    </item>
    <item>
      <title>Re: How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1070009?tstart=0#1070009</link>
      <description>This is pretty easy with the &lt;a class="jive-link-external" href="http://www.codeplex.com/vitoolkitextensions"&gt;VI Toolkit Community Extensions&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
If you use that, you can run &lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;get-datastore | get-tkedatastorefile | where { $_.Path -match &amp;quot;delta&amp;quot; }
&lt;/code&gt;&lt;/pre&gt; to find these files.&lt;br /&gt;
&lt;br /&gt;
The extensions require PowerShell 2 CTP2. If that's a non-starter for you for some reason the script code should at least tell you enough to get started.</description>
      <pubDate>Wed, 08 Oct 2008 18:28:35 GMT</pubDate>
      <author>c_shanklin</author>
      <guid>http://communities.vmware.com/message/1070009?tstart=0#1070009</guid>
      <dc:date>2008-10-08T18:28:35Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>24</clearspace:replyCount>
    </item>
    <item>
      <title>How to list delta files in all datastores</title>
      <link>http://communities.vmware.com/message/1069826?tstart=0#1069826</link>
      <description>&lt;br /&gt;
I've recently found the VI Toolkit and have learned a lot from these forums.&lt;br /&gt;
&lt;p /&gt;
I'd like to be able to search the contents of all datastores for the existence of any delta files, indicating the presence of lingering snapshots...old or new.&lt;br /&gt;
&lt;p /&gt;
I'd like to see the paths, filenames, sizes and dates of any delta files.&lt;br /&gt;
&lt;p /&gt;
Can anyone point me in the right direction?&lt;br /&gt;
&lt;p /&gt;
Thank you...Mike</description>
      <pubDate>Wed, 08 Oct 2008 16:06:09 GMT</pubDate>
      <author>kastek</author>
      <guid>http://communities.vmware.com/message/1069826?tstart=0#1069826</guid>
      <dc:date>2008-10-08T16:06:09Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>25</clearspace:replyCount>
    </item>
  </channel>
</rss>

