<?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: Enumerate The Remote Event Log with .NET</title>
	<atom:link href="http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/</link>
	<description>Sharing the Experience</description>
	<lastBuildDate>Mon, 06 Sep 2010 23:05:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-445</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 17 Feb 2010 17:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-445</guid>
		<description>Is there a way to pass domain credentials with this script so it can be run against a different domain?</description>
		<content:encoded><![CDATA[<p>Is there a way to pass domain credentials with this script so it can be run against a different domain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumudro</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-429</link>
		<dc:creator>Sumudro</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-429</guid>
		<description>The script run with email facility with 32-bit pc events log. With 64-bit Exchange Server 2007, it&#039;s not retruning events log. I checked $colItems.count returning 0, so that the for loop is not working and then logs return. Anyone has any solution. Thanks</description>
		<content:encoded><![CDATA[<p>The script run with email facility with 32-bit pc events log. With 64-bit Exchange Server 2007, it&#8217;s not retruning events log. I checked $colItems.count returning 0, so that the for loop is not working and then logs return. Anyone has any solution. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumudro</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-428</link>
		<dc:creator>Sumudro</dc:creator>
		<pubDate>Wed, 18 Nov 2009 13:05:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-428</guid>
		<description>I am new in PowerShell. The event log script is great. I ran without email that is ok.  I also run with email, but the email body is showing empty. I am not sure the function EvtReader is returning empty string or ..... Can anyone reply, why i am getting no logs as body as email. Thanks</description>
		<content:encoded><![CDATA[<p>I am new in PowerShell. The event log script is great. I ran without email that is ok.  I also run with email, but the email body is showing empty. I am not sure the function EvtReader is returning empty string or &#8230;.. Can anyone reply, why i am getting no logs as body as email. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J Kavanagh</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-400</link>
		<dc:creator>J Kavanagh</dc:creator>
		<pubDate>Fri, 28 Aug 2009 20:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-400</guid>
		<description>Okay so you now the value for $logs[#] but the number of logs is not the same (depending on OS, products installed, etc...) is there a way to for example get the System log entries?</description>
		<content:encoded><![CDATA[<p>Okay so you now the value for $logs[#] but the number of logs is not the same (depending on OS, products installed, etc&#8230;) is there a way to for example get the System log entries?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Hamrick</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-359</link>
		<dc:creator>Jesse Hamrick</dc:creator>
		<pubDate>Thu, 18 Jun 2009 22:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-359</guid>
		<description>Create the following variables and add it as part of the filter:
$Now = Get-Date
$lastWrite = $Now.AddDays(-7)

#now place in filter
-and($_.TimeWritten -ge $lastWrite)

I haven&#039;t tested it yet but this works in other scripts I&#039;ve written which get all errors recorded within last 7 days...</description>
		<content:encoded><![CDATA[<p>Create the following variables and add it as part of the filter:<br />
$Now = Get-Date<br />
$lastWrite = $Now.AddDays(-7)</p>
<p>#now place in filter<br />
-and($_.TimeWritten -ge $lastWrite)</p>
<p>I haven&#8217;t tested it yet but this works in other scripts I&#8217;ve written which get all errors recorded within last 7 days&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad B</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-358</link>
		<dc:creator>Brad B</dc:creator>
		<pubDate>Thu, 18 Jun 2009 22:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-358</guid>
		<description>Great script...  But I too would like to narrow down the results to 7 days or 24 hours..
Still new to PS</description>
		<content:encoded><![CDATA[<p>Great script&#8230;  But I too would like to narrow down the results to 7 days or 24 hours..<br />
Still new to PS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sal</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-319</link>
		<dc:creator>Sal</dc:creator>
		<pubDate>Mon, 13 Apr 2009 19:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-319</guid>
		<description>This script is great.  Do you know of a way to add multiple host and filter by, say last   7 days?

Thanks</description>
		<content:encoded><![CDATA[<p>This script is great.  Do you know of a way to add multiple host and filter by, say last   7 days?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel Flores</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-308</link>
		<dc:creator>Samuel Flores</dc:creator>
		<pubDate>Wed, 25 Mar 2009 17:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-308</guid>
		<description>Hi, this post it&#039;s great, easy and simple to use!!</description>
		<content:encoded><![CDATA[<p>Hi, this post it&#8217;s great, easy and simple to use!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Hamrick</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-248</link>
		<dc:creator>Jesse Hamrick</dc:creator>
		<pubDate>Mon, 10 Nov 2008 17:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-248</guid>
		<description>Hal,
Excellent suggestion of using an array to simplify the filter.</description>
		<content:encoded><![CDATA[<p>Hal,<br />
Excellent suggestion of using an array to simplify the filter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hal Rottenberg</title>
		<link>http://www.powershellpro.com/enumerate-the-remote-event-log-with-net/280/comment-page-1/#comment-247</link>
		<dc:creator>Hal Rottenberg</dc:creator>
		<pubDate>Mon, 10 Nov 2008 00:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/?p=280#comment-247</guid>
		<description>Great post!  I&#039;ve got something which will simplify the filter quite a bit.

$events = @( 608, 609, 626, 627 ) # and so on...
if ( $events -contains $item.EventID ) { doStuff }</description>
		<content:encoded><![CDATA[<p>Great post!  I&#8217;ve got something which will simplify the filter quite a bit.</p>
<p>$events = @( 608, 609, 626, 627 ) # and so on&#8230;<br />
if ( $events -contains $item.EventID ) { doStuff }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
