<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Get-VMDiskUsage</title>
	<atom:link href="http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peetersonline.nl</link>
	<description>Using Powershell for (virtually) everything!</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:41:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jim kunysz</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-51613</link>
		<dc:creator>jim kunysz</dc:creator>
		<pubDate>Mon, 23 Jan 2012 18:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-51613</guid>
		<description>i ran the script in our environment, over 60 esx hosts, and 1200 guests.
It spit out 6 rows of data. 6 datastores and 6 vm&#039;s. wout have erroring on the linux guests have prevented data wrom being exported?</description>
		<content:encoded><![CDATA[<p>i ran the script in our environment, over 60 esx hosts, and 1200 guests.<br />
It spit out 6 rows of data. 6 datastores and 6 vm&#8217;s. wout have erroring on the linux guests have prevented data wrom being exported?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Stottelaar</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-47700</link>
		<dc:creator>Erik Stottelaar</dc:creator>
		<pubDate>Wed, 04 Jan 2012 12:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-47700</guid>
		<description>Hi Hugo,

Thanks a lot for the quick reponse. Your script is working fine now !

regards,

Erik</description>
		<content:encoded><![CDATA[<p>Hi Hugo,</p>
<p>Thanks a lot for the quick reponse. Your script is working fine now !</p>
<p>regards,</p>
<p>Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-47686</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 04 Jan 2012 11:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-47686</guid>
		<description>Erik,
To make sure you run it against only Windows VM&#039;s, replace this:
ForEach ($vm in (Get-VM))
With this:
ForEach ($vm in (Get-VM &#124; Where {$_.Guest.OSFullName -match &quot;Windows&quot;}))

To restrict the script to a single cluster, use this instead:
ForEach ($vm in (Get-VM -Location (Get-Cluster &quot;myCluster&quot;)))

Hugo</description>
		<content:encoded><![CDATA[<p>Erik,<br />
To make sure you run it against only Windows VM&#8217;s, replace this:<br />
ForEach ($vm in (Get-VM))<br />
With this:<br />
ForEach ($vm in (Get-VM | Where {$_.Guest.OSFullName -match &#8220;Windows&#8221;}))</p>
<p>To restrict the script to a single cluster, use this instead:<br />
ForEach ($vm in (Get-VM -Location (Get-Cluster &#8220;myCluster&#8221;)))</p>
<p>Hugo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Stottelaar</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-47667</link>
		<dc:creator>Erik Stottelaar</dc:creator>
		<pubDate>Wed, 04 Jan 2012 10:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-47667</guid>
		<description>Hi Hugo,

Thanks for publishing this script but can i skip my 2 linux vm&#039;s because when i run the script it fails on my 2 linux vms at the wmi function. And is it possible to run it for a specified cluster in my vcenter?

thanks in advanced,

Erik</description>
		<content:encoded><![CDATA[<p>Hi Hugo,</p>
<p>Thanks for publishing this script but can i skip my 2 linux vm&#8217;s because when i run the script it fails on my 2 linux vms at the wmi function. And is it possible to run it for a specified cluster in my vcenter?</p>
<p>thanks in advanced,</p>
<p>Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Millian</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-38505</link>
		<dc:creator>Chris Millian</dc:creator>
		<pubDate>Thu, 10 Nov 2011 08:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-38505</guid>
		<description>Hi Hugo,

Thank you for this wonderful  script:-)
I have just one question.
When I run the scrip there are some lines mentioning in yellow:
VM is powered on
Read partition and disk information
Warning: NO MATCHES!
What does this mean?
Whe have over 300 VDIs and 40 Servers and the output gives me about 60 VDIs.
Is there a logical explanation for this?

Thanks in advanced</description>
		<content:encoded><![CDATA[<p>Hi Hugo,</p>
<p>Thank you for this wonderful  script:-)<br />
I have just one question.<br />
When I run the scrip there are some lines mentioning in yellow:<br />
VM is powered on<br />
Read partition and disk information<br />
Warning: NO MATCHES!<br />
What does this mean?<br />
Whe have over 300 VDIs and 40 Servers and the output gives me about 60 VDIs.<br />
Is there a logical explanation for this?</p>
<p>Thanks in advanced</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Molotsi</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-35660</link>
		<dc:creator>Molotsi</dc:creator>
		<pubDate>Thu, 29 Sep 2011 21:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-35660</guid>
		<description>Hi Hugo

This is the error i am receiving.

ps1:57 char:53
+ $searchResult = $dsBrowser.SearchDatastoreSubFolders( &lt;&lt;&lt;&lt; $rootPath, $search
Spec)
Exception calling &quot;SearchDatastoreSubFolders&quot; with &quot;2&quot; argument(s): &quot;Not initia
lized: boolean fileOwner&quot;
At C:\Program Files\VMware\Infrastructure\vSphere PowerCLI\Scripts\vDiskUseSRD.
ps1:57 char:53
+ $searchResult = $dsBrowser.SearchDatastoreSubFolders( &lt;&lt;&lt;&lt; $rootPath, $search
Spec)
Exception calling &quot;SearchDatastoreSubFolders&quot; with &quot;2&quot; argument(s): &quot;Not initia
lized: boolean fileOwner&quot;
At C:\Program Files\VMware\Infrastructure\vSphere 
PowerCLI\Scripts\vDiskUseSRD.</description>
		<content:encoded><![CDATA[<p>Hi Hugo</p>
<p>This is the error i am receiving.</p>
<p>ps1:57 char:53<br />
+ $searchResult = $dsBrowser.SearchDatastoreSubFolders( &lt;&lt;&lt;&lt; $rootPath, $search<br />
Spec)<br />
Exception calling &quot;SearchDatastoreSubFolders&quot; with &quot;2&quot; argument(s): &quot;Not initia<br />
lized: boolean fileOwner&quot;<br />
At C:\Program Files\VMware\Infrastructure\vSphere PowerCLI\Scripts\vDiskUseSRD.<br />
ps1:57 char:53<br />
+ $searchResult = $dsBrowser.SearchDatastoreSubFolders( &lt;&lt;&lt;&lt; $rootPath, $search<br />
Spec)<br />
Exception calling &quot;SearchDatastoreSubFolders&quot; with &quot;2&quot; argument(s): &quot;Not initia<br />
lized: boolean fileOwner&quot;<br />
At C:\Program Files\VMware\Infrastructure\vSphere<br />
PowerCLI\Scripts\vDiskUseSRD.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sabbir</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-20361</link>
		<dc:creator>Sabbir</dc:creator>
		<pubDate>Mon, 25 Oct 2010 05:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-20361</guid>
		<description>Hi Hugo

When I run your script in PowerCLI it ruturens most of the VMs information except few of them. The script stop running and no error shows like it hung.

Cheers 
Sabbir</description>
		<content:encoded><![CDATA[<p>Hi Hugo</p>
<p>When I run your script in <a href="http://communities.vmware.com/community/developer/windows_toolkit" target='_blank'>PowerCLI</a> it ruturens most of the VMs information except few of them. The script stop running and no error shows like it hung.</p>
<p>Cheers<br />
Sabbir
<p style="opacity:0.5;padding:0;margin:0;display:inline;"><sub><a href="http://www.janhvizdak.com/make-donation-cross-linker-plugin-wordpress.php" onclick="window.open('http://www.janhvizdak.com/make-donation-cross-linker-plugin-wordpress.php'); return false;" target="_blank" style="cursor:help;"><b>&#187;crosslinked&#171;</b></a></sub></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-17484</link>
		<dc:creator>Roland</dc:creator>
		<pubDate>Wed, 28 Jul 2010 12:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-17484</guid>
		<description>Hi Hugo

When I run your script in PowerCLI it returns all VMs to be offline and therefore it will not output any information. But in fact all my VMs (almost all Windows machines) are running and have up to date VM tools. I&#039;m running vSphere/vCenter 4.0 U1, what am I doing wrong?

Cheers
Roland</description>
		<content:encoded><![CDATA[<p>Hi Hugo</p>
<p>When I run your script in <a href="http://communities.vmware.com/community/developer/windows_toolkit" target='_blank'>PowerCLI</a> it returns all VMs to be offline and therefore it will not output any information. But in fact all my VMs (almost all Windows machines) are running and have up to date VM tools. I&#8217;m running <a href="http://www.vmware.com/products/vsphere/" target='_blank'>vSphere</a>/vCenter 4.0 U1, what am I doing wrong?</p>
<p>Cheers<br />
Roland</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ancksu</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-16066</link>
		<dc:creator>Ancksu</dc:creator>
		<pubDate>Tue, 01 Jun 2010 13:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-16066</guid>
		<description>I solved the problem. In fact it was a naming problem.
By replacing $VMRef.HostName by $VMRef.VM and that work perfectly.
thanks</description>
		<content:encoded><![CDATA[<p>I solved the problem. In fact it was a naming problem.<br />
By replacing $VMRef.HostName by $VMRef.VM and that work perfectly.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ancksu</title>
		<link>http://www.peetersonline.nl/index.php/script-repository/get-vmdiskusage/comment-page-1/#comment-16065</link>
		<dc:creator>Ancksu</dc:creator>
		<pubDate>Tue, 01 Jun 2010 08:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-16065</guid>
		<description>Thanks Hugo,
I did it but the problem is I only get 3 on 30 VM.
In the 30 VM one is a linux so normal, but all the other VM are Windows and are power on.
Do you have any idea ?</description>
		<content:encoded><![CDATA[<p>Thanks Hugo,<br />
I did it but the problem is I only get 3 on 30 VM.<br />
In the 30 VM one is a linux so normal, but all the other VM are Windows and are power on.<br />
Do you have any idea ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

