<?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 for PeetersOnline.nl</title>
	<atom:link href="http://www.peetersonline.nl/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peetersonline.nl</link>
	<description>Virtually Everything about Powershell and PowerCLI</description>
	<lastBuildDate>Fri, 22 Feb 2013 21:21:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Finding Shares with Powershell by Jon</title>
		<link>http://www.peetersonline.nl/2008/11/finding-shares-with-powershell/#comment-65128</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 22 Feb 2013 21:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/index.php/powershell/finding-shares-with-powershell/#comment-65128</guid>
		<description><![CDATA[Actually, if you&#039;re going to use ValueFromPipeline you need to have a Process{} block.]]></description>
		<content:encoded><![CDATA[<p>Actually, if you&#8217;re going to use ValueFromPipeline you need to have a Process{} block.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Examine VMware CPU Ready Times with Powershell by Chris McEwan</title>
		<link>http://www.peetersonline.nl/2009/06/examine-vmware-cpu-ready-times-with-powershell/#comment-65124</link>
		<dc:creator>Chris McEwan</dc:creator>
		<pubDate>Fri, 15 Feb 2013 11:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=398#comment-65124</guid>
		<description><![CDATA[Answered one part myself  Added

        $Time = $VM &#124; Get-Stat -Stat Cpu.Ready.Summation -RealTime  

And

			$myObj = &quot;&quot; &#124; Select VMHost, VM, Instance, %RDY, %USED, %WAIT, %TIME

and

            $myObj.&quot;%TIME&quot; = [Math]::Round((($Time &#124; Where {$_.Instance -eq $a} &#124; Measure-Object -Property Value -Average).Average))

to get time in milliseconds.

Just need to figure out how i can do this over the past month]]></description>
		<content:encoded><![CDATA[<p>Answered one part myself  Added</p>
<p>        $Time = $VM | Get-Stat -Stat Cpu.Ready.Summation -RealTime  </p>
<p>And</p>
<p>			$myObj = &#8220;&#8221; | Select VMHost, VM, Instance, %RDY, %USED, %WAIT, %TIME</p>
<p>and</p>
<p>            $myObj.&#8221;%TIME&#8221; = [Math]::Round((($Time | Where {$_.Instance -eq $a} | Measure-Object -Property Value -Average).Average))</p>
<p>to get time in milliseconds.</p>
<p>Just need to figure out how i can do this over the past month</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Examine VMware CPU Ready Times with Powershell by Chris McEwan</title>
		<link>http://www.peetersonline.nl/2009/06/examine-vmware-cpu-ready-times-with-powershell/#comment-65123</link>
		<dc:creator>Chris McEwan</dc:creator>
		<pubDate>Fri, 15 Feb 2013 11:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=398#comment-65123</guid>
		<description><![CDATA[Id like to see an extra column of CPU ready time in Milliseconds.  AND to be able to run this over a month or year instead of using the realtime.]]></description>
		<content:encoded><![CDATA[<p>Id like to see an extra column of CPU ready time in Milliseconds.  AND to be able to run this over a month or year instead of using the realtime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Poor Man&#8217;s Virtual Machine Backup with PowerCLI by Thomas</title>
		<link>http://www.peetersonline.nl/2012/07/poor-mans-virtual-machine-backup-with-powercli/#comment-65120</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Sun, 03 Feb 2013 18:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=512#comment-65120</guid>
		<description><![CDATA[Hi Hugo,

I like your script very much. Can you confirm this will also work on two &quot;standalone&quot; vm hosts (using only the free license).
Thank you!]]></description>
		<content:encoded><![CDATA[<p>Hi Hugo,</p>
<p>I like your script very much. Can you confirm this will also work on two &#8220;standalone&#8221; vm hosts (using only the free license).<br />
Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Gather NIC properties (including Speed and Duplex) by KrazY</title>
		<link>http://www.peetersonline.nl/2008/08/gather-nic-properties-including-speed-and-duplex/#comment-65115</link>
		<dc:creator>KrazY</dc:creator>
		<pubDate>Sat, 26 Jan 2013 06:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/index.php/powershell/gather-nic-properties-including-speed-and-duplex/#comment-65115</guid>
		<description><![CDATA[RicNsa when i user you script for a 2003 server i am getting the below error. 

Some one Help me I need a script to find for finding

IPAddress, IPSubnet, DefaultIPGateway, DNSServers, WinServer ,NICModel, SpeedDuplex.

duplex speed i need to know like 100MB Full or Half and what is there in device manager settings.


Unexpected token &#039;Broadcom&quot;
$requestedMediaType = $subKey.GetValue(&quot;RequestedMediaType&quot;)
$enum = $subKey.OpenSubKey(&quot;Ndi\Params\RequestedMediaType\Enum&quot;)
$myObj.SpeedDuplex = $enum.GetValue(&quot;$requestedMediaType&quot;) }
#HP cards with Chipset Broadcom
ElseIf ($componentID -match &quot;b06bdrv&quot;) {
$myObj.NICModel = &quot;HP&quot;
$SD = $subKey.GetValue(&quot;*SpeedDuplex&quot;)
$enum = $subKey.OpenSubKey(&quot;BRCMNdi\Params\*SpeedDuplex\Enum&quot;)
$myObj.SpeedDuplex = $enum.GetValue(&quot;$SD&quot;) }
#Broadcom Teaming
ElseIf ($componentID -match &quot;brcm_blfm&quot;){
$SheetNIC.Cells.Item($intRowNIC,9) = &quot;Teaming&#039; in expression or statement.
    + CategoryInfo          : ParserError: (Broadcom&quot;
$req...C,9) = &quot;Teaming:String) [], ParseException
    + FullyQualifiedErrorId : UnexpectedToken]]></description>
		<content:encoded><![CDATA[<p>RicNsa when i user you script for a 2003 server i am getting the below error. </p>
<p>Some one Help me I need a script to find for finding</p>
<p>IPAddress, IPSubnet, DefaultIPGateway, DNSServers, WinServer ,NICModel, SpeedDuplex.</p>
<p>duplex speed i need to know like 100MB Full or Half and what is there in device manager settings.</p>
<p>Unexpected token &#8216;Broadcom&#8221;<br />
$requestedMediaType = $subKey.GetValue(&#8220;RequestedMediaType&#8221;)<br />
$enum = $subKey.OpenSubKey(&#8220;Ndi\Params\RequestedMediaType\Enum&#8221;)<br />
$myObj.SpeedDuplex = $enum.GetValue(&#8220;$requestedMediaType&#8221;) }<br />
#HP cards with Chipset Broadcom<br />
ElseIf ($componentID -match &#8220;b06bdrv&#8221;) {<br />
$myObj.NICModel = &#8220;HP&#8221;<br />
$SD = $subKey.GetValue(&#8220;*SpeedDuplex&#8221;)<br />
$enum = $subKey.OpenSubKey(&#8220;BRCMNdi\Params\*SpeedDuplex\Enum&#8221;)<br />
$myObj.SpeedDuplex = $enum.GetValue(&#8220;$SD&#8221;) }<br />
#Broadcom Teaming<br />
ElseIf ($componentID -match &#8220;brcm_blfm&#8221;){<br />
$SheetNIC.Cells.Item($intRowNIC,9) = &#8220;Teaming&#8217; in expression or statement.<br />
    + CategoryInfo          : ParserError: (Broadcom&#8221;<br />
$req&#8230;C,9) = &#8220;Teaming:String) [], ParseException<br />
    + FullyQualifiedErrorId : UnexpectedToken</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get-VMDiskUsage by David Dionne</title>
		<link>http://www.peetersonline.nl/script-repository/get-vmdiskusage/#comment-65113</link>
		<dc:creator>David Dionne</dc:creator>
		<pubDate>Sat, 19 Jan 2013 12:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?page_id=352#comment-65113</guid>
		<description><![CDATA[FWIW, `du -hs` will list the actual amount of space used in a vmdk regardless of what OS it&#039;s running or if it&#039;s online or offline....but it only works for the vmdk, it can&#039;t discriminate partitions on a multi partition vmdk.

I have a vm with a 1TB thin provisioned disk.  The `ls` command will show it as a 1TB file, the `du` command will show how much of that 1TB is actually being used.

Example:

~ # ls -alh /vmfs/volumes/OF/vcha1/
drwxr-xr-x    1 root     root         560 Jan 19 12:25 .
drwxr-xr-t    1 root     root         12.3K Jan 19 11:34 ..
-rw-------     1 root     root     1000.0G Jan 19 12:25 vcha1-flat.vmdk
-rw-------     1 root     root         545 Jan 19 12:25 vcha1.vmdk
~ # du -hs /vmfs/volumes/OF/vcha1/*
17.1G   /vmfs/volumes/OF/vcha1/vcha1-flat.vmdk
0           /vmfs/volumes/OF/vcha1/vcha1.vmdk

Should be pretty easy to work into a script (perl or powershell).]]></description>
		<content:encoded><![CDATA[<p>FWIW, `du -hs` will list the actual amount of space used in a vmdk regardless of what OS it&#8217;s running or if it&#8217;s online or offline&#8230;.but it only works for the vmdk, it can&#8217;t discriminate partitions on a multi partition vmdk.</p>
<p>I have a vm with a 1TB thin provisioned disk.  The `ls` command will show it as a 1TB file, the `du` command will show how much of that 1TB is actually being used.</p>
<p>Example:</p>
<p>~ # ls -alh /vmfs/volumes/OF/vcha1/<br />
drwxr-xr-x    1 root     root         560 Jan 19 12:25 .<br />
drwxr-xr-t    1 root     root         12.3K Jan 19 11:34 ..<br />
-rw&#8212;&#8212;-     1 root     root     1000.0G Jan 19 12:25 vcha1-flat.vmdk<br />
-rw&#8212;&#8212;-     1 root     root         545 Jan 19 12:25 vcha1.vmdk<br />
~ # du -hs /vmfs/volumes/OF/vcha1/*<br />
17.1G   /vmfs/volumes/OF/vcha1/vcha1-flat.vmdk<br />
0           /vmfs/volumes/OF/vcha1/vcha1.vmdk</p>
<p>Should be pretty easy to work into a script (perl or <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" target='_blank'>powershell</a>).
<p style="opacity:0.5;padding:0;margin:0;display:inline;"><sub><a href="#" onclick="window.open('http://www.janhvizdak.com/rdr.me.1'); return false;" target="_blank" style="cursor:help;"><b>&#187;crosslinked&#171;</b></a></sub></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Managing Scheduled Tasks Remotely Using Powershell by Abhijeet</title>
		<link>http://www.peetersonline.nl/2009/06/managing-scheduled-tasks-remotely-using-powershell/#comment-65112</link>
		<dc:creator>Abhijeet</dc:creator>
		<pubDate>Fri, 18 Jan 2013 14:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=395#comment-65112</guid>
		<description><![CDATA[Hi, I am migrating schedule task from windows server 2003 to windows server 2008. One way is from Task scheduler GUI using export from and import to technique and then edit the arguments in Action. I am interested in knowing how to do it using a powershell script for automation using PS version 2.0. The version 3.0 has the cmdlets but i am not thinking of using it.]]></description>
		<content:encoded><![CDATA[<p>Hi, I am migrating schedule task from windows server 2003 to windows server 2008. One way is from Task scheduler GUI using export from and import to technique and then edit the arguments in Action. I am interested in knowing how to do it using a <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" target='_blank'>powershell</a> script for automation using PS version 2.0. The version 3.0 has the cmdlets but i am not thinking of using it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WSUS Cleanup with Powershell by Capricorn</title>
		<link>http://www.peetersonline.nl/2009/04/wsus-cleanup-with-powershell/#comment-65111</link>
		<dc:creator>Capricorn</dc:creator>
		<pubDate>Fri, 18 Jan 2013 13:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=369#comment-65111</guid>
		<description><![CDATA[My one is on 8530 and after changing the port no the script is working fine. 

Thanks Hugo.]]></description>
		<content:encoded><![CDATA[<p>My one is on 8530 and after changing the port no the script is working fine. </p>
<p>Thanks Hugo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WSUS Cleanup with Powershell by Capricorn</title>
		<link>http://www.peetersonline.nl/2009/04/wsus-cleanup-with-powershell/#comment-65110</link>
		<dc:creator>Capricorn</dc:creator>
		<pubDate>Fri, 18 Jan 2013 13:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=369#comment-65110</guid>
		<description><![CDATA[Check your port number. May be Wsus server is listening on 8530 not 80.]]></description>
		<content:encoded><![CDATA[<p>Check your port number. May be Wsus server is listening on 8530 not 80.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Finding Shares with Powershell by Pranab Misra</title>
		<link>http://www.peetersonline.nl/2008/11/finding-shares-with-powershell/#comment-65109</link>
		<dc:creator>Pranab Misra</dc:creator>
		<pubDate>Tue, 15 Jan 2013 06:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/index.php/powershell/finding-shares-with-powershell/#comment-65109</guid>
		<description><![CDATA[Where do I put the Remote Server name? I am new in using powershell , I want to gather all shares and sharesize of a remote server?]]></description>
		<content:encoded><![CDATA[<p>Where do I put the Remote Server name? I am new in using <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" target='_blank'>powershell</a> , I want to gather all shares and sharesize of a remote server?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
