<?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: Quickly Ping A Range of IP to Find Dead IP on Windows	</title>
	<atom:link href="https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:20:56 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Crapflinger		</title>
		<link>https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-258293</link>

		<dc:creator><![CDATA[Crapflinger]]></dc:creator>
		<pubDate>Thu, 06 Oct 2022 12:18:11 +0000</pubDate>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4195#comment-258293</guid>

					<description><![CDATA[if (!$status)
    {
        $computer + &quot; - available&quot; 
    }
    else
    {
    $computer + &quot; - not available&quot; 
    }

will give you &quot;both&quot; available and not available, i know it&#039;s simple to infer not available from the list of available but if you&#039;re exporting for a report it would be cleaner for the list to not have gaps. like if you&#039;re trying to find a contiguous block it&#039;ll be easier to pick one out of the list if everything is in there.]]></description>
			<content:encoded><![CDATA[<p>if (!$status)<br />
    {<br />
        $computer + &#8221; &#8211; available&#8221;<br />
    }<br />
    else<br />
    {<br />
    $computer + &#8221; &#8211; not available&#8221;<br />
    }</p>
<p>will give you &#8220;both&#8221; available and not available, i know it&#8217;s simple to infer not available from the list of available but if you&#8217;re exporting for a report it would be cleaner for the list to not have gaps. like if you&#8217;re trying to find a contiguous block it&#8217;ll be easier to pick one out of the list if everything is in there.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt		</title>
		<link>https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-253446</link>

		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Mon, 20 Jun 2022 13:23:12 +0000</pubDate>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4195#comment-253446</guid>

					<description><![CDATA[Simple solution, I like it. Very easy to expand the one liner to multiple subnets as well! Thanks heaps for the post! 

Also, I did a test with Test-Connection and using the Ping class directly on the same network and subnet and the ping class directly seem to be quite a lot quicker. 
Test-Connection TotalMinutes: 17.550881065
Ping Class TotalMinutes: 3.81168999

A version of the final one liner I ended up using: 
0..254 &#124; foreach { $i = $_; 1..254 &#124; foreach{ $isOnline = (New-Object System.Net.NetworkInformation.Ping).Send(&quot;192.168.$i.$_&quot;, 1000); &quot;192.168.$i.$_`: $($isOnline.Status)&quot; }}






Thanks for the post!]]></description>
			<content:encoded><![CDATA[<p>Simple solution, I like it. Very easy to expand the one liner to multiple subnets as well! Thanks heaps for the post! </p>
<p>Also, I did a test with Test-Connection and using the Ping class directly on the same network and subnet and the ping class directly seem to be quite a lot quicker.<br />
Test-Connection TotalMinutes: 17.550881065<br />
Ping Class TotalMinutes: 3.81168999</p>
<p>A version of the final one liner I ended up using:<br />
0..254 | foreach { $i = $_; 1..254 | foreach{ $isOnline = (New-Object System.Net.NetworkInformation.Ping).Send(&#8220;192.168.$i.$_&#8221;, 1000); &#8220;192.168.$i.$_`: $($isOnline.Status)&#8221; }}</p>
<p>Thanks for the post!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shawn		</title>
		<link>https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-230382</link>

		<dc:creator><![CDATA[Shawn]]></dc:creator>
		<pubDate>Thu, 26 Aug 2021 16:12:49 +0000</pubDate>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4195#comment-230382</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-230329&quot;&gt;Kent Chen&lt;/a&gt;.

Thank you Kent. I appreciate your help.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-230329">Kent Chen</a>.</p>
<p>Thank you Kent. I appreciate your help.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kent Chen		</title>
		<link>https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-230329</link>

		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Wed, 25 Aug 2021 22:45:26 +0000</pubDate>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4195#comment-230329</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-230328&quot;&gt;Shawn&lt;/a&gt;.

taking out the ! in the if line. 
if ($status) {
 $computer + &#039;- taken&#039;
}]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-230328">Shawn</a>.</p>
<p>taking out the ! in the if line.<br />
if ($status) {<br />
 $computer + &#8216;- taken&#8217;<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shawn		</title>
		<link>https://www.kjctech.net/quickly-ping-a-range-of-ip-to-find-dead-ip-on-windows/comment-page-1/#comment-230328</link>

		<dc:creator><![CDATA[Shawn]]></dc:creator>
		<pubDate>Wed, 25 Aug 2021 22:41:27 +0000</pubDate>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4195#comment-230328</guid>

					<description><![CDATA[What parameters would you change to make the top script show active connections as opposed to dead IPs?]]></description>
			<content:encoded><![CDATA[<p>What parameters would you change to make the top script show active connections as opposed to dead IPs?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
