<?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 Posh Tips</title>
	<atom:link href="http://poshtips.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://poshtips.com</link>
	<description>PowerShell Tips and Scripting Samples</description>
	<lastBuildDate>Thu, 17 May 2012 06:14:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by xb90</title>
		<link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-690</link>
		<dc:creator>xb90</dc:creator>
		<pubDate>Thu, 17 May 2012 06:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=548#comment-690</guid>
		<description>Hi Vishal,
Scroll to the bottom of the post and click the &quot;View Code&quot; link. If you look to the right of &quot;View Code&quot; link, there&#039;s a down-pointing arrow. Use that to expand the code within the post.
The filetype is &quot;.ps1&quot; since it&#039;s a Powershell script. For starters, you can run it from the Powershell command-line like this: ./bgping.ps1 -help
Good Luck!</description>
		<content:encoded><![CDATA[<p>Hi Vishal,</p>
<p>Scroll to the bottom of the post and click the &#8220;View Code&#8221; link. If you look to the right of &#8220;View Code&#8221; link, there&#8217;s a down-pointing arrow. Use that to expand the code within the post.</p>
<p>The filetype is &#8220;.ps1&#8243; since it&#8217;s a Powershell script. For starters, you can run it from the Powershell command-line like this: ./bgping.ps1 -help</p>
<p>Good Luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by Vishal</title>
		<link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-689</link>
		<dc:creator>Vishal</dc:creator>
		<pubDate>Thu, 17 May 2012 02:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=548#comment-689</guid>
		<description>Hi,
Your script is looks like greate... But i could not understand how to run this tool?
mean to say is there any .bat or .vbs source code you have given..
Please let me know or send me all details for how to run it from beginings...
Many many thanks in adv...
Thanks,
Vishal</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Your script is looks like greate&#8230; But i could not understand how to run this tool?</p>
<p>mean to say is there any .bat or .vbs source code you have given..</p>
<p>Please let me know or send me all details for how to run it from beginings&#8230;</p>
<p>Many many thanks in adv&#8230;</p>
<p>Thanks,<br />
Vishal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parse Your Path in PowerShell by Pat Richard</title>
		<link>http://poshtips.com/2009/11/13/parse-your-path-in-powershell/comment-page-1/#comment-541</link>
		<dc:creator>Pat Richard</dc:creator>
		<pubDate>Thu, 05 Apr 2012 13:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=59#comment-541</guid>
		<description>Even shorter:
$env:path &#124; % {$_.split(&quot;;&quot;)}
and still shorter:
$env:path.split(&quot;;&quot;)</description>
		<content:encoded><![CDATA[<p>Even shorter:<br />
$env:path | % {$_.split(&#8220;;&#8221;)}</p>
<p>and still shorter:</p>
<p>$env:path.split(&#8220;;&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by xb90</title>
		<link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-448</link>
		<dc:creator>xb90</dc:creator>
		<pubDate>Sat, 24 Mar 2012 20:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=548#comment-448</guid>
		<description>To troubleshoot I recommend taking all of you variables and writing them out to a text file:
if ($regex.IsMatch($regexsubject)){
    (&quot;fromemail:{0}`n$users:{1}`nHTMLmessage:{2}`nserver:{3}`n” -f $fromemail,$users,$HTMLmessage,$server)
    }
If everything looks good, try manually running the send-email cmdlet and see what happens.
Good Luck!</description>
		<content:encoded><![CDATA[<p>To troubleshoot I recommend taking all of you variables and writing them out to a text file:</p>
<p>if ($regex.IsMatch($regexsubject)){<br />
    (&#8220;fromemail:{0}`n$users:{1}`nHTMLmessage:{2}`nserver:{3}`n” -f $fromemail,$users,$HTMLmessage,$server)<br />
    }</p>
<p>If everything looks good, try manually running the send-email cmdlet and see what happens.</p>
<p>Good Luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Script Template with Built-in Help for PowerShell by xb90</title>
		<link>http://poshtips.com/2011/03/04/simple-script-template-with-built-in-help-for-powershell/comment-page-1/#comment-432</link>
		<dc:creator>xb90</dc:creator>
		<pubDate>Sun, 11 Mar 2012 03:22:45 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=471#comment-432</guid>
		<description>Hey Mike,
I understand the frustration with the lack of any easy-to-use download button and I do appreciate knowing what google search landed you here, Thanks!
At one time the plugin that I use on this site to display the syntax-colorized powershell code also allowed had a download feature but unfortunately that seems to have been broken a while back after another necessary update was applied to the site. I&#039;ve not yet found another plugin to replace the broken one so I started adding my own download links on some more recent posts.
I&#039;ve added a download link to the page (just above the code listing).
For now, the easy way to get the code off any other pages that haven&#039;t yet been updated would be to click the &quot;VIEW CODE&quot; link at the top of the code listing. That should open a new browser window that will contain only the code shown in the script. Next, you can copy the code out of the new browser page (Ctrl-A to select all, then Ctrl-C to copy) then open a text editor and Ctrl-V to paste it all into the text editor. All that is left is to save the file and then run it in Powershell.
Hope this Helps and thanks for visiting PoshTips.com!</description>
		<content:encoded><![CDATA[<p>Hey Mike,</p>
<p>I understand the frustration with the lack of any easy-to-use download button and I do appreciate knowing what google search landed you here, Thanks!</p>
<p>At one time the plugin that I use on this site to display the syntax-colorized powershell code also allowed had a download feature but unfortunately that seems to have been broken a while back after another necessary update was applied to the site. I&#8217;ve not yet found another plugin to replace the broken one so I started adding my own download links on some more recent posts.</p>
<p>I&#8217;ve added a download link to the page (just above the code listing).</p>
<p>For now, the easy way to get the code off any other pages that haven&#8217;t yet been updated would be to click the &#8220;VIEW CODE&#8221; link at the top of the code listing. That should open a new browser window that will contain only the code shown in the script. Next, you can copy the code out of the new browser page (Ctrl-A to select all, then Ctrl-C to copy) then open a text editor and Ctrl-V to paste it all into the text editor. All that is left is to save the file and then run it in Powershell.</p>
<p>Hope this Helps and thanks for visiting PoshTips.com!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Script Template with Built-in Help for PowerShell by Mike</title>
		<link>http://poshtips.com/2011/03/04/simple-script-template-with-built-in-help-for-powershell/comment-page-1/#comment-431</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 10 Mar 2012 19:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=471#comment-431</guid>
		<description>It would be totally awesome if you would put a download button around here somewhere. Sadly, i&#039;m an idiot with computer code and I have no idea if we are supposed to use the code above to somehow use your template. If that&#039;s the case, then a quick instructional on how to use the coding to run your program would be awesomely helpful for a sap like me and probably a lot of other people.
I found this site by googling &quot;simple script template.&quot; I don&#039;t know if you really care how I found the site, but just in case.</description>
		<content:encoded><![CDATA[<p>It would be totally awesome if you would put a download button around here somewhere. Sadly, i&#8217;m an idiot with computer code and I have no idea if we are supposed to use the code above to somehow use your template. If that&#8217;s the case, then a quick instructional on how to use the coding to run your program would be awesomely helpful for a sap like me and probably a lot of other people. </p>
<p>I found this site by googling &#8220;simple script template.&#8221; I don&#8217;t know if you really care how I found the site, but just in case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generate Complex Passwords with PowerShell by Nobody</title>
		<link>http://poshtips.com/2011/09/12/generate-complex-passwords-with-powershell/comment-page-1/#comment-429</link>
		<dc:creator>Nobody</dc:creator>
		<pubDate>Fri, 09 Mar 2012 14:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=698#comment-429</guid>
		<description>I use just a one liner like this:
1..10 &#124; ForEach { $Password = $Password + [char]((Get-Random -Minimum 33 -Maximum 127) + (Get-Random -Maximum 2)*32) }</description>
		<content:encoded><![CDATA[<p>I use just a one liner like this:<br />
1..10 | ForEach { $Password = $Password + [char]((Get-Random -Minimum 33 -Maximum 127) + (Get-Random -Maximum 2)*32) }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by xb90</title>
		<link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-428</link>
		<dc:creator>xb90</dc:creator>
		<pubDate>Fri, 24 Feb 2012 19:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=548#comment-428</guid>
		<description>Hey David, It&#039;s true that -AsJob returns a reduced subset of data but MACAddress is not returned by the test-connection cmdlet anyway. To see this, do a &quot;test-connection localhost &#124; gm&quot;.
I think you&#039;d have to make a separate WMI call to determine the MAC address.
Something like:
   gwmi Win32_NetworkAdapterConfiguration `
        -computername $hostname &#124;? {$_.IpEnabled -eq $true} &#124; select MacAddress
The reason *I* would not add MacAddress lookup to the script is because the extra WMI call would really kill the performance, especially if you got time-outs on machines that you might not have administrative access to (not to mention the possibility of non-windows devices). The intent of the script is to get ping results for thousands of hosts as quickly as possible.
Having said that, I think you could incorporate the WMI call (mentioned above) into the script but it would have to be processed as a separate pass from the actual pinging process (like the DnsLookup code).
Good Luck!</description>
		<content:encoded><![CDATA[<p>Hey David, It&#8217;s true that -AsJob returns a reduced subset of data but MACAddress is not returned by the test-connection cmdlet anyway. To see this, do a &#8220;test-connection localhost | gm&#8221;.</p>
<p>I think you&#8217;d have to make a separate WMI call to determine the MAC address.<br />
Something like:</p>
<p>   gwmi Win32_NetworkAdapterConfiguration `<br />
        -computername $hostname |? {$_.IpEnabled -eq $true} | select MacAddress</p>
<p>The reason *I* would not add MacAddress lookup to the script is because the extra WMI call would really kill the performance, especially if you got time-outs on machines that you might not have administrative access to (not to mention the possibility of non-windows devices). The intent of the script is to get ping results for thousands of hosts as quickly as possible. </p>
<p>Having said that, I think you could incorporate the WMI call (mentioned above) into the script but it would have to be processed as a separate pass from the actual pinging process (like the DnsLookup code).</p>
<p>Good Luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Run External Commands through PowerShell by alfa</title>
		<link>http://poshtips.com/2009/11/19/run-external-commands-through-powershell/comment-page-1/#comment-427</link>
		<dc:creator>alfa</dc:creator>
		<pubDate>Fri, 24 Feb 2012 12:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=112#comment-427</guid>
		<description>Sami: escape the &quot; character</description>
		<content:encoded><![CDATA[<p>Sami: escape the &#8221; character</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by David</title>
		<link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-426</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 21 Feb 2012 22:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://poshtips.com/?p=548#comment-426</guid>
		<description>This is a great script.  It would be awesome for me if I could get it to also write MAC addresses to the output file, but I&#039;m a PowerShell newbie and can&#039;t for the life of me figure out where to add that to the $result object.  I know it would look something like this...
$result &#124; add-member -membertype noteproperty -Name macaddress -value $x.MACAddress -Force
...but I&#039;ve tried it in several various for-each statements (and added &quot;macaddress&quot; to the &quot;select&quot; statement in the if($OutFile) section) and I always get a blank column in the CSV output.  I&#039;ve found other PS scripts that can do this given a single IP address I provide, but I think it&#039;s the -asjob parameter in BGPing that is throwing me off.</description>
		<content:encoded><![CDATA[<p>This is a great script.  It would be awesome for me if I could get it to also write MAC addresses to the output file, but I&#8217;m a PowerShell newbie and can&#8217;t for the life of me figure out where to add that to the $result object.  I know it would look something like this&#8230;</p>
<p>$result | add-member -membertype noteproperty -Name macaddress -value $x.MACAddress -Force</p>
<p>&#8230;but I&#8217;ve tried it in several various for-each statements (and added &#8220;macaddress&#8221; to the &#8220;select&#8221; statement in the if($OutFile) section) and I always get a blank column in the CSV output.  I&#8217;ve found other PS scripts that can do this given a single IP address I provide, but I think it&#8217;s the -asjob parameter in BGPing that is throwing me off.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

