<?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: Ping all Domain Computers with Powershell</title>
	<atom:link href="http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/feed" rel="self" type="application/rss+xml" />
	<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209</link>
	<description>making DBAs everywhere curse!</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:13:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-1802</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Fri, 30 Dec 2011 17:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-1802</guid>
		<description>Hi Chris,

Depending on what you want you can probably use the Start-Transcript cmdlet to monitor progress - http://technet.microsoft.com/en-us/library/dd347721.aspx

Or perhaps this - http://www.youdidwhatwithtsql.com/using-progress-bars-within-the-powershell-console/366

Cheers,

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Depending on what you want you can probably use the Start-Transcript cmdlet to monitor progress &#8211; <a href="http://technet.microsoft.com/en-us/library/dd347721.aspx" rel="nofollow">http://technet.microsoft.com/en-us/library/dd347721.aspx</a></p>
<p>Or perhaps this &#8211; <a href="http://www.youdidwhatwithtsql.com/using-progress-bars-within-the-powershell-console/366" rel="nofollow">http://www.youdidwhatwithtsql.com/using-progress-bars-within-the-powershell-console/366</a></p>
<p>Cheers,</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-1801</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 30 Dec 2011 16:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-1801</guid>
		<description>That was exactly right: I needed another OU present.  I&#039;ve also included a bit that writes specific log files to a remote destination, so the script is doing a lot. It&#039;s been running for 48 hours on 550 machines. Is there a way to track progress in the future?  Enjoy the holidays! No rush on this answer, your page has already been incredibly helpful.</description>
		<content:encoded><![CDATA[<p>That was exactly right: I needed another OU present.  I&#8217;ve also included a bit that writes specific log files to a remote destination, so the script is doing a lot. It&#8217;s been running for 48 hours on 550 machines. Is there a way to track progress in the future?  Enjoy the holidays! No rush on this answer, your page has already been incredibly helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-1800</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Fri, 30 Dec 2011 12:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-1800</guid>
		<description>Hi Chris,

Sorry for the delay in getting back to you. I&#039;ve been a bit tied up over the holiday period.

Your code seems sound to me. I&#039;ve managed to get a modified copy working. Probably best your check that your ldap url is correct. Specifically I&#039;d double check to see if you have an OU called Workstations. You can check this with the following ps snippet...

http://www.youdidwhatwithtsql.com/list-ad-organizational-units-powershell/1424

Cheers,

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Sorry for the delay in getting back to you. I&#8217;ve been a bit tied up over the holiday period.</p>
<p>Your code seems sound to me. I&#8217;ve managed to get a modified copy working. Probably best your check that your ldap url is correct. Specifically I&#8217;d double check to see if you have an OU called Workstations. You can check this with the following ps snippet&#8230;</p>
<p><a href="http://www.youdidwhatwithtsql.com/list-ad-organizational-units-powershell/1424" rel="nofollow">http://www.youdidwhatwithtsql.com/list-ad-organizational-units-powershell/1424</a></p>
<p>Cheers,</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-1792</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 27 Dec 2011 21:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-1792</guid>
		<description>Exception calling &quot;FindAll&quot; with &quot;0&quot; argument(s): &quot;There is no such object on the server.
&quot;
At C:\Users\cpadilla\Desktop\alive-or-dead.ps1:19 char:35
+ $colResults = $objSearcher.FindAll &lt;&lt;&lt;&lt; ();
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException


I tried to modify it to search a specific OU and got the error above. Any advice appreciated:

$objDomain = New-Object System.DirectoryServices.DirectoryEntry
$objOU = New-Object System.DirectoryServices.DirectoryEntry(&quot;LDAP://OU=Workstations,dc=delacy,dc=com&quot;);
$objSearcher = New-Object System.DirectoryServices.DirectorySearcher; # AD Searcher object
$objSearcher.SearchRoot = $objOU; # Set Search specific OU
$objSearcher.Filter = (&quot;(objectCategory=$strCategory)&quot;); # Search filter
$objSearcher.SearchScope = &quot;Subtree&quot;</description>
		<content:encoded><![CDATA[<p>Exception calling &#8220;FindAll&#8221; with &#8220;0&#8243; argument(s): &#8220;There is no such object on the server.<br />
&#8221;<br />
At C:\Users\cpadilla\Desktop\alive-or-dead.ps1:19 char:35<br />
+ $colResults = $objSearcher.FindAll &lt;&lt;&lt;&lt; ();<br />
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException<br />
    + FullyQualifiedErrorId : DotNetMethodException</p>
<p>I tried to modify it to search a specific OU and got the error above. Any advice appreciated:</p>
<p>$objDomain = New-Object System.DirectoryServices.DirectoryEntry<br />
$objOU = New-Object System.DirectoryServices.DirectoryEntry(&quot;LDAP://OU=Workstations,dc=delacy,dc=com&quot;);<br />
$objSearcher = New-Object System.DirectoryServices.DirectorySearcher; # AD Searcher object<br />
$objSearcher.SearchRoot = $objOU; # Set Search specific OU<br />
$objSearcher.Filter = (&quot;(objectCategory=$strCategory)&quot;); # Search filter<br />
$objSearcher.SearchScope = &quot;Subtree&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-111</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Thu, 08 Oct 2009 21:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-111</guid>
		<description>Hi Tony,

Nice addition, I&#039;ll have to give that a whirl!

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Tony,</p>
<p>Nice addition, I&#8217;ll have to give that a whirl!</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-110</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Thu, 08 Oct 2009 20:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-110</guid>
		<description>Sweet script.  I put this search filter in to only ping servers:

# Uncomment to seach only Servers
# $objSearcher.Filter = (”(&amp;(objectCategory=$strCategory)(OperatingSystem=$strOS))”)</description>
		<content:encoded><![CDATA[<p>Sweet script.  I put this search filter in to only ping servers:</p>
<p># Uncomment to seach only Servers<br />
# $objSearcher.Filter = (”(&amp;(objectCategory=$strCategory)(OperatingSystem=$strOS))”)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-92</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 02 Jul 2009 14:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-92</guid>
		<description>Hi Ryan,

Glad you like it.

Here&#039;s a good tutorial on running Powershell scripts

http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>Glad you like it.</p>
<p>Here&#8217;s a good tutorial on running Powershell scripts</p>
<p><a href="http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx" rel="nofollow">http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx</a></p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209/comment-page-1#comment-91</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 01 Jul 2009 18:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/ping-all-domain-computers-with-powershell/209#comment-91</guid>
		<description>Great script this is EXACTLY what I&#039;m looking for.  We haven&#039;t cleaned out our server in a long time and currently have about 1000 computers that say their on our server when in reality only 100 or so are currently active.  I&#039;m new to powershell (and scripting in general).  How do I go about running this script off powershell?  In other words
An e-mail would be preferred please.
-Ryan</description>
		<content:encoded><![CDATA[<p>Great script this is EXACTLY what I&#8217;m looking for.  We haven&#8217;t cleaned out our server in a long time and currently have about 1000 computers that say their on our server when in reality only 100 or so are currently active.  I&#8217;m new to powershell (and scripting in general).  How do I go about running this script off powershell?  In other words<br />
An e-mail would be preferred please.<br />
-Ryan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

