<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Bart's Weblog</title>
	<atom:link href="http://bartvdw.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://bartvdw.wordpress.com</link>
	<description>Just a blog...</description>
	<lastBuildDate>Mon, 10 Aug 2009 14:53:03 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Powercfg.exe utility by GPO</title>
		<link>http://bartvdw.wordpress.com/2008/01/26/powercfgexe-utility/#comment-91</link>
		<dc:creator>GPO</dc:creator>
		<pubDate>Mon, 10 Aug 2009 14:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/01/26/powercfgexe-utility/#comment-91</guid>
		<description>Take a look at http://support.microsoft.com/kb/915160, you just use gpo to set registry permisions to allow users to configure their power scheme settings. You prevent users from making changes by removing the Power config control panel applet.</description>
		<content:encoded><![CDATA[<p>Take a look at <a href="http://support.microsoft.com/kb/915160" rel="nofollow">http://support.microsoft.com/kb/915160</a>, you just use gpo to set registry permisions to allow users to configure their power scheme settings. You prevent users from making changes by removing the Power config control panel applet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell: How to retrieve disk size &amp; free disk space for a list of computers (input file) by Victor</title>
		<link>http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-90</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Wed, 15 Jul 2009 01:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-90</guid>
		<description>Hi I have this error............where I am wrong?

PS C:\Documents and Settings\MSIP35&gt; Get-WMIObject Win32_LogicalDisk -filter “DriveType=3″ -computer (Get-Content c:\scripts\computers.txt) &#124; Select SystemName,DeviceID,VolumeName,@{Name=”size(GB)”;Expression={”{0:N1}” -f($_.size/1gb)}},@{Name=”freespace(GB)”;Expression={”{0:N1}” -f($_.freespace/1gb)}} &#124; Out-GridView
Unexpected token &#039;:N1&#039; in expression or statement.
At line:1 char:177

Unexpected token &#039;:N1&#039; in expression or statement.
At line:1 char:239

Encountered end of line while processing a string token.
At line:1 char:282</description>
		<content:encoded><![CDATA[<p>Hi I have this error&#8230;&#8230;&#8230;&#8230;where I am wrong?</p>
<p>PS C:\Documents and Settings\MSIP35&gt; Get-WMIObject Win32_LogicalDisk -filter “DriveType=3″ -computer (Get-Content c:\scripts\computers.txt) | Select SystemName,DeviceID,VolumeName,@{Name=”size(GB)”;Expression={”{0:N1}” -f($_.size/1gb)}},@{Name=”freespace(GB)”;Expression={”{0:N1}” -f($_.freespace/1gb)}} | Out-GridView<br />
Unexpected token &#8216;:N1&#8242; in expression or statement.<br />
At line:1 char:177</p>
<p>Unexpected token &#8216;:N1&#8242; in expression or statement.<br />
At line:1 char:239</p>
<p>Encountered end of line while processing a string token.<br />
At line:1 char:282</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Powercfg.exe utility by Rob Kendrick</title>
		<link>http://bartvdw.wordpress.com/2008/01/26/powercfgexe-utility/#comment-86</link>
		<dc:creator>Rob Kendrick</dc:creator>
		<pubDate>Fri, 15 May 2009 15:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/01/26/powercfgexe-utility/#comment-86</guid>
		<description>When applying in a domain environment, use the PSExec utility with the @file parameter.  The file should contain a list of the computers you wish to perform this on.  I would suggest using a Level 2 account rather than a Domain Admin account, just in a case a machine has been previously compromised.  Remember, when you send your credentials to a compromised machine, you&#039;re compromising everything you have access to on your network.

You can obtain the free PSTools from Microsoft&#039;s website at: http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

If you&#039;re a Network or Systems Administrator and you don&#039;t yet use these, I highly recommend you do so.  They will save you a lot of time (and potential WMI scripting).

Enjoy!
Rob Kendrick
Finstone IT</description>
		<content:encoded><![CDATA[<p>When applying in a domain environment, use the PSExec utility with the @file parameter.  The file should contain a list of the computers you wish to perform this on.  I would suggest using a Level 2 account rather than a Domain Admin account, just in a case a machine has been previously compromised.  Remember, when you send your credentials to a compromised machine, you&#8217;re compromising everything you have access to on your network.</p>
<p>You can obtain the free PSTools from Microsoft&#8217;s website at: <a href="http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx" rel="nofollow">http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx</a></p>
<p>If you&#8217;re a Network or Systems Administrator and you don&#8217;t yet use these, I highly recommend you do so.  They will save you a lot of time (and potential WMI scripting).</p>
<p>Enjoy!<br />
Rob Kendrick<br />
Finstone IT</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Powercfg.exe utility by Samuel L.</title>
		<link>http://bartvdw.wordpress.com/2008/01/26/powercfgexe-utility/#comment-84</link>
		<dc:creator>Samuel L.</dc:creator>
		<pubDate>Wed, 22 Apr 2009 07:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/01/26/powercfgexe-utility/#comment-84</guid>
		<description>I follow your posts for   a long time and must tell you that your articles are always valuable to readers.</description>
		<content:encoded><![CDATA[<p>I follow your posts for   a long time and must tell you that your articles are always valuable to readers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell: How to retrieve disk size &amp; free disk space for a list of computers (input file) by Ray</title>
		<link>http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-83</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Thu, 09 Apr 2009 14:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-83</guid>
		<description>Figured it out.  The script didn&#039;t copy over properly.</description>
		<content:encoded><![CDATA[<p>Figured it out.  The script didn&#8217;t copy over properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell: How to retrieve disk size &amp; free disk space for a list of computers (input file) by Ray</title>
		<link>http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-82</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Thu, 09 Apr 2009 14:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-82</guid>
		<description>Get-WMIObject Win32_LogicalDisk -filter “DriveType=3″ -computer (Get-Content c:\computers.txt) &#124; It&#039;s not working for me... what am I doing wrong.  I have version 2.

Select SystemName,DeviceID,VolumeName,@{Name=”size(GB)”;Expression={”{0:N1}” -f($_.size/1gb)}},@{Name=”freespace(GB)”;Expression={”{0:N1}” -f($_.freespace/1gb)}} &#124; Out-GridView
Unexpected token &#039;:N1&#039; in expression or statement.
At line:1 char:169

Unexpected token &#039;:N1&#039; in expression or statement.
At line:1 char:231

Encountered end of line while processing a string token.
At line:1 char:274</description>
		<content:encoded><![CDATA[<p>Get-WMIObject Win32_LogicalDisk -filter “DriveType=3″ -computer (Get-Content c:\computers.txt) | It&#8217;s not working for me&#8230; what am I doing wrong.  I have version 2.</p>
<p>Select SystemName,DeviceID,VolumeName,@{Name=”size(GB)”;Expression={”{0:N1}” -f($_.size/1gb)}},@{Name=”freespace(GB)”;Expression={”{0:N1}” -f($_.freespace/1gb)}} | Out-GridView<br />
Unexpected token &#8216;:N1&#8242; in expression or statement.<br />
At line:1 char:169</p>
<p>Unexpected token &#8216;:N1&#8242; in expression or statement.<br />
At line:1 char:231</p>
<p>Encountered end of line while processing a string token.<br />
At line:1 char:274</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MSDTC service fails after transfer PDC role by bartvdw</title>
		<link>http://bartvdw.wordpress.com/2008/12/16/msdtc-service-fails-after-transfer-pdc-role/#comment-81</link>
		<dc:creator>bartvdw</dc:creator>
		<pubDate>Fri, 06 Mar 2009 06:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/12/16/msdtc-service-fails-after-transfer-pdc-role/#comment-81</guid>
		<description>Feel free to link to this site as you please! Also any comments/suggestions are always welcome.

-Bart</description>
		<content:encoded><![CDATA[<p>Feel free to link to this site as you please! Also any comments/suggestions are always welcome.</p>
<p>-Bart</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell: How to retrieve disk size &amp; free disk space for a list of computers (input file) by abdul</title>
		<link>http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-80</link>
		<dc:creator>abdul</dc:creator>
		<pubDate>Fri, 06 Mar 2009 05:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/06/19/powershell-how-to-retrieve-disk-size-free-disk-space-for-a-list-of-computers-input-file/#comment-80</guid>
		<description>thanks for the script...works great...how do i get this to output to a file and send an email to myself?

I tried to pipeline to csv or txt...but it failed. shouldnt it just be this:

Get-WMIObject Win32_LogicalDisk -filter &quot;DriveType=3&quot; -computer (Get-Content c:\scripts\computers.txt) &#124; Select SystemName,DeviceID,VolumeName,@{Name=&quot;size(GB)&quot;;Expression={&quot;{0:N1}&quot; -f($_.size/1gb)}},@{Name=&quot;freespace(GB)&quot;;Expression={&quot;{0:N1}&quot; -f($_.freespace/1gb)}} &#124; Export-CSV drivesizes.csv

$msg = new-object Net.Mail.MailMessage
$att = new-object Net.Mail.Attachment($filename)
$smtp = new-object Net.Mail.SmtpClient($smtpServer)

$msg.From = “admin”
$msg.To.Add(”admin”)
$msg.Subject = “drive size”
$msg.Body = “The drive size file is attached”
$msg.Attachments.Add($att)

$smtp.Send($msg



Am I missing something?  any help will be appreciated...thanks.</description>
		<content:encoded><![CDATA[<p>thanks for the script&#8230;works great&#8230;how do i get this to output to a file and send an email to myself?</p>
<p>I tried to pipeline to csv or txt&#8230;but it failed. shouldnt it just be this:</p>
<p>Get-WMIObject Win32_LogicalDisk -filter &#8220;DriveType=3&#8243; -computer (Get-Content c:\scripts\computers.txt) | Select SystemName,DeviceID,VolumeName,@{Name=&#8221;size(GB)&#8221;;Expression={&#8220;{0:N1}&#8221; -f($_.size/1gb)}},@{Name=&#8221;freespace(GB)&#8221;;Expression={&#8220;{0:N1}&#8221; -f($_.freespace/1gb)}} | Export-CSV drivesizes.csv</p>
<p>$msg = new-object Net.Mail.MailMessage<br />
$att = new-object Net.Mail.Attachment($filename)<br />
$smtp = new-object Net.Mail.SmtpClient($smtpServer)</p>
<p>$msg.From = “admin”<br />
$msg.To.Add(”admin”)<br />
$msg.Subject = “drive size”<br />
$msg.Body = “The drive size file is attached”<br />
$msg.Attachments.Add($att)</p>
<p>$smtp.Send($msg</p>
<p>Am I missing something?  any help will be appreciated&#8230;thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MSDTC service fails after transfer PDC role by Alexwebmaster</title>
		<link>http://bartvdw.wordpress.com/2008/12/16/msdtc-service-fails-after-transfer-pdc-role/#comment-79</link>
		<dc:creator>Alexwebmaster</dc:creator>
		<pubDate>Tue, 03 Mar 2009 08:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://bartvdw.wordpress.com/2008/12/16/msdtc-service-fails-after-transfer-pdc-role/#comment-79</guid>
		<description>Hello webmaster 
I would like to share with you a link to your site 
write me here preonrelt@mail.ru</description>
		<content:encoded><![CDATA[<p>Hello webmaster<br />
I would like to share with you a link to your site<br />
write me here <a href="mailto:preonrelt@mail.ru">preonrelt@mail.ru</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Michael Tim</title>
		<link>http://bartvdw.wordpress.com/about/#comment-78</link>
		<dc:creator>Michael Tim</dc:creator>
		<pubDate>Sat, 28 Feb 2009 18:05:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-78</guid>
		<description>I love your site! :)

_____________________
Experiencing a slow PC recently? &lt;a href=&quot;http://tinyurl.com/makemypcfaster&quot; rel=&quot;nofollow&quot;&gt;Fix it now!&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I love your site! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>_____________________<br />
Experiencing a slow PC recently? <a href="http://tinyurl.com/makemypcfaster" rel="nofollow">Fix it now!</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
