<?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 SQL database size using Windows Powershell</title>
	<atom:link href="http://www.peetersonline.nl/index.php/powershell/get-sql-database-size-using-windows-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peetersonline.nl/index.php/powershell/get-sql-database-size-using-windows-powershell/</link>
	<description>Using Powershell for (virtually) everything!</description>
	<lastBuildDate>Fri, 27 Aug 2010 15:06:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.peetersonline.nl/index.php/powershell/get-sql-database-size-using-windows-powershell/comment-page-1/#comment-5681</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 29 May 2009 13:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=383#comment-5681</guid>
		<description>I&#039;m a novice at powershell and can&#039;t figure out how to run this. I worked out that it has a dependency on a library from Quest, which I installed and loaded with &#039;add_PSSnapin&#039;, and after editing the directory path the script got off to a good start. However it crashed out with an error &#039;Get-QADComputer: a referral was returned from the server&#039;. I guessed permissions might be involved so logged on as a domain administrator, and ran &#039;powershell&#039; with &#039;run as admin&#039; but that didn&#039;t help. I&#039;m trying it under Windows 7, which might be related! 

Any advice would be apppreciated</description>
		<content:encoded><![CDATA[<p>I&#8217;m a novice at <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" target='_blank'>powershell</a> and can&#8217;t figure out how to run this. I worked out that it has a dependency on a library from <a href="http://www.quest.com" target='_blank'>Quest</a>, which I installed and loaded with &#8216;add_PSSnapin&#8217;, and after editing the directory path the script got off to a good start. However it crashed out with an error &#8216;Get-QADComputer: a referral was returned from the server&#8217;. I guessed permissions might be involved so logged on as a domain administrator, and ran &#8216;<a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" target='_blank'>powershell</a>&#8217; with &#8216;run as admin&#8217; but that didn&#8217;t help. I&#8217;m trying it under Windows 7, which might be related! </p>
<p>Any advice would be apppreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.peetersonline.nl/index.php/powershell/get-sql-database-size-using-windows-powershell/comment-page-1/#comment-5507</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 26 May 2009 11:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=383#comment-5507</guid>
		<description>Thanks for the improvement Luc!
I have never been a big star in WQL (have to learn yet another syntax), but I understand how that will make it quicker.
Hugo</description>
		<content:encoded><![CDATA[<p>Thanks for the improvement Luc!<br />
I have never been a big star in WQL (have to learn yet another syntax), but I understand how that will make it quicker.<br />
Hugo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LucD</title>
		<link>http://www.peetersonline.nl/index.php/powershell/get-sql-database-size-using-windows-powershell/comment-page-1/#comment-5506</link>
		<dc:creator>LucD</dc:creator>
		<pubDate>Tue, 26 May 2009 11:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=383#comment-5506</guid>
		<description>Nice script Hugo.
If you replace the inner loop by this:

foreach ($Instance in (Get-WmiObject -class Win32_Service -computerName $Server.Name -filter &quot;name like &#039;mssql%&#039;&quot;))

the script will run considerably faster (at least in my environment ;-) )</description>
		<content:encoded><![CDATA[<p>Nice script Hugo.<br />
If you replace the inner loop by this:</p>
<p>foreach ($Instance in (Get-WmiObject -class Win32_Service -computerName $Server.Name -filter &#8220;name like &#8216;mssql%&#8217;&#8221;))</p>
<p>the script will run considerably faster (at least in my environment ;-) )</p>
]]></content:encoded>
	</item>
</channel>
</rss>
