<?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>Fri, 20 Jan 2012 09:46:38 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Comment on The Number One Best PowerShell Script on this site by Sami</title><link>http://poshtips.com/2011/10/28/the-number-one-best-powershell-script-on-this-site/comment-page-1/#comment-424</link> <dc:creator>Sami</dc:creator> <pubDate>Fri, 20 Jan 2012 09:46:38 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=716#comment-424</guid> <description>Sorry, found it in your script :)
Thanks</description> <content:encoded><![CDATA[<p>Sorry, found it in your script <img
src='http://poshtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Thanks</p> ]]></content:encoded> </item> <item><title>Comment on Run External Commands through PowerShell by Sami</title><link>http://poshtips.com/2009/11/19/run-external-commands-through-powershell/comment-page-1/#comment-422</link> <dc:creator>Sami</dc:creator> <pubDate>Fri, 20 Jan 2012 07:53:09 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=112#comment-422</guid> <description>Hi
Is that a backtick before the number 80 ?? What is it needed for ?
TIA</description> <content:encoded><![CDATA[<p>Hi</p><p>Is that a backtick before the number 80 ?? What is it needed for ?</p><p>TIA</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-421</link> <dc:creator>xb90</dc:creator> <pubDate>Wed, 18 Jan 2012 04:15:17 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=548#comment-421</guid> <description>I&#039;m guessing that your DNS infrastructure will determine whether you get ipV6 or ipV4 results from the GetHostEntry method call. If anyone else is more savvy on this, feel free to post a comment.
Thanks!</description> <content:encoded><![CDATA[<p>I&#8217;m guessing that your DNS infrastructure will determine whether you get ipV6 or ipV4 results from the GetHostEntry method call. If anyone else is more savvy on this, feel free to post a comment.</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by Tim</title><link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-420</link> <dc:creator>Tim</dc:creator> <pubDate>Tue, 17 Jan 2012 20:09:37 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=548#comment-420</guid> <description>Is there any way to force the -DNSLookUp piece to use IPv4 when writing the IP address instead of writing MAC address?</description> <content:encoded><![CDATA[<p>Is there any way to force the -DNSLookUp piece to use IPv4 when writing the IP address instead of writing MAC address?</p> ]]></content:encoded> </item> <item><title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by Mikhail</title><link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-419</link> <dc:creator>Mikhail</dc:creator> <pubDate>Sun, 15 Jan 2012 12:16:56 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=548#comment-419</guid> <description>Hello, Tom.
Here&#039;s, I think the solution
$hostlist = (Get-ADComputer -Searchbase &quot;OU=Computers, dc=domainname, dc=com&quot; -f * &#124;% {$_.name}) &#124; select -skip $offset -first $batchsize</description> <content:encoded><![CDATA[<p>Hello, Tom.</p><p>Here&#8217;s, I think the solution</p><p>$hostlist = (Get-ADComputer -Searchbase &#8220;OU=Computers, dc=domainname, dc=com&#8221; -f * |% {$_.name}) | select -skip $offset -first $batchsize</p> ]]></content:encoded> </item> <item><title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by Tom</title><link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-418</link> <dc:creator>Tom</dc:creator> <pubDate>Mon, 09 Jan 2012 11:50:37 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=548#comment-418</guid> <description>The problem were the spaces that were written to the textfile created with the out-file command (I don&#039;t have a clue why). If you delete them after creating the hosts file BgPing works.</description> <content:encoded><![CDATA[<p>The problem were the spaces that were written to the textfile created with the out-file command (I don&#8217;t have a clue why). If you delete them after creating the hosts file BgPing works.</p> ]]></content:encoded> </item> <item><title>Comment on Kill a hung process with PowerShell by Robin Kay</title><link>http://poshtips.com/2010/02/01/kill-a-hung-process-with-powershell/comment-page-1/#comment-416</link> <dc:creator>Robin Kay</dc:creator> <pubDate>Fri, 06 Jan 2012 00:59:00 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=249#comment-416</guid> <description>Also, these will work:
ps iex* &#124; kill
or
kill -name ie*</description> <content:encoded><![CDATA[<p>Also, these will work:</p><p> ps iex* | kill</p><p>or</p><p> kill -name ie*</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-415</link> <dc:creator>xb90</dc:creator> <pubDate>Thu, 05 Jan 2012 23:35:10 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=548#comment-415</guid> <description>I am not at all familiar with powergui cmdlets, but I&#039;ll bet that the list you are generating is not in a standard text format. I suggest that you generate your host list with output to a text file so that you can inspect the contents and make sure that you have only host names (1 per line) and no extraneous characters.
Hope this helps...</description> <content:encoded><![CDATA[<p>I am not at all familiar with powergui cmdlets, but I&#8217;ll bet that the list you are generating is not in a standard text format. I suggest that you generate your host list with output to a text file so that you can inspect the contents and make sure that you have only host names (1 per line) and no extraneous characters.</p><p>Hope this helps&#8230;</p> ]]></content:encoded> </item> <item><title>Comment on BgPing &#8211; A High Performance Bulk Ping Utility by Tom</title><link>http://poshtips.com/2011/03/28/bgping-a-high-performance-bulk-ping-utility/comment-page-1/#comment-414</link> <dc:creator>Tom</dc:creator> <pubDate>Thu, 05 Jan 2012 15:10:14 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=548#comment-414</guid> <description>I can&#039;t get this script to work with a list I create with the Get-QADComputer Commandlet. (All failed with 99999)
Can any of the readers give me a working example of this approach?</description> <content:encoded><![CDATA[<p>I can&#8217;t get this script to work with a list I create with the Get-QADComputer Commandlet. (All failed with 99999)<br
/> Can any of the readers give me a working example of this approach?</p> ]]></content:encoded> </item> <item><title>Comment on How to Parse CSV data by xb90</title><link>http://poshtips.com/2009/11/10/how-to-parse-csv-data-with-windows-powershell/comment-page-1/#comment-411</link> <dc:creator>xb90</dc:creator> <pubDate>Thu, 15 Dec 2011 18:32:07 +0000</pubDate> <guid
isPermaLink="false">http://poshtips.com/?p=23#comment-411</guid> <description>Let&#039;s say that your file is named &quot;names.txt&quot;
Here&#039;s how you can reformat the data as First Letter of First Name + Last Name :
gc names.txt &#124; % {$_.split(&quot;,&quot;)[1][0] + $_.split(&quot;,&quot;)[0]}
here&#039;s the output:
BSmith
RChicken
ACar
Explanation:
gc = get-content from the file
then pipe to the split method (parsed by comma)
$_.split(&quot;,&quot;)[1][0] = get first letter of the first name
$_.split(&quot;,&quot;)[0]  = get the entire last name
use the plus &quot;+&quot; operator to concatenate the two name elements
hopefully this makes sense
good luck!</description> <content:encoded><![CDATA[<p>Let&#8217;s say that your file is named &#8220;names.txt&#8221;</p><p>Here&#8217;s how you can reformat the data as First Letter of First Name + Last Name :</p><p>gc names.txt | % {$_.split(&#8220;,&#8221;)[1][0] + $_.split(&#8220;,&#8221;)[0]}</p><p>here&#8217;s the output:</p><p>BSmith<br
/> RChicken<br
/> ACar</p><p>Explanation:</p><p>gc = get-content from the file</p><p>then pipe to the split method (parsed by comma)<br
/> $_.split(&#8220;,&#8221;)[1][0] = get first letter of the first name<br
/> $_.split(&#8220;,&#8221;)[0]  = get the entire last name</p><p>use the plus &#8220;+&#8221; operator to concatenate the two name elements</p><p>hopefully this makes sense</p><p>good luck!</p> ]]></content:encoded> </item> </channel> </rss>
