<?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 on: Moving unpingable computers</title>
	<atom:link href="http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/</link>
	<description>Dmitry Sotnikov's view on PowerShell, PowerGUI and everything he sees around</description>
	<lastBuildDate>Mon, 30 Nov 2009 16:13:28 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: halr9000</title>
		<link>http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/#comment-2405</link>
		<dc:creator>halr9000</dc:creator>
		<pubDate>Sat, 01 Dec 2007 18:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/#comment-2405</guid>
		<description>Hmm, my script might need slight modifications in order to work with $_.name.  It expects $_ to be a parseable string.  Seems like Guarhoth (http://thepowershellguy.com/blogs/gaurhoth/) dealt with a similar situation by checking the object type in a switch statement and pulling out the right property names as needed.  I&#039;ll have to do that.  :)</description>
		<content:encoded><![CDATA[<p>Hmm, my script might need slight modifications in order to work with $_.name.  It expects $_ to be a parseable string.  Seems like Guarhoth (<a href="http://thepowershellguy.com/blogs/gaurhoth/" rel="nofollow">http://thepowershellguy.com/blogs/gaurhoth/</a>) dealt with a similar situation by checking the object type in a switch statement and pulling out the right property names as needed.  I&#8217;ll have to do that.  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: halr9000</title>
		<link>http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/#comment-2404</link>
		<dc:creator>halr9000</dc:creator>
		<pubDate>Sat, 01 Dec 2007 18:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/#comment-2404</guid>
		<description>You may wnat to check out my Select-Alive function.  It acts like a filter, making the where-object part unnecessary.  Your example turns into this:

Get-QADComputer &#124; select-alive &#124; Move-QADObject -NewParentContainer ps64.local/Recycled

http://halr9000.com/article/447</description>
		<content:encoded><![CDATA[<p>You may wnat to check out my Select-Alive function.  It acts like a filter, making the where-object part unnecessary.  Your example turns into this:</p>
<p>Get-QADComputer | select-alive | Move-QADObject -NewParentContainer ps64.local/Recycled</p>
<p><a href="http://halr9000.com/article/447" rel="nofollow">http://halr9000.com/article/447</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BSonPosh</title>
		<link>http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/#comment-1390</link>
		<dc:creator>BSonPosh</dc:creator>
		<pubDate>Thu, 11 Oct 2007 19:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://dmitrysotnikov.wordpress.com/2007/10/11/moving-unpingable-computers/#comment-1390</guid>
		<description>While I appreciate the trackback, I should warn that Test-Port isn&#039;t really a ping. It just makes a TCP Socket connection to a given port (135 RPC by default.) If you want a ping I use the function below for that. It is an actual ICMP ping. Test-Port is great if your company blocks pings or you want to specify a timeout, also the port is configurable. 

function Ping-Server {
  Param([string]$server) 
  $pingresult = Get-WmiObject win32_pingstatus -f &quot;address=&#039;$Server&#039;&quot;
  if($pingresult.statuscode -eq 0) {$true} else {$false} 
}</description>
		<content:encoded><![CDATA[<p>While I appreciate the trackback, I should warn that Test-Port isn&#8217;t really a ping. It just makes a TCP Socket connection to a given port (135 RPC by default.) If you want a ping I use the function below for that. It is an actual ICMP ping. Test-Port is great if your company blocks pings or you want to specify a timeout, also the port is configurable. </p>
<p>function Ping-Server {<br />
  Param([string]$server)<br />
  $pingresult = Get-WmiObject win32_pingstatus -f &#8220;address=&#8217;$Server&#8217;&#8221;<br />
  if($pingresult.statuscode -eq 0) {$true} else {$false}<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
