<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Automatically resolving alerts… such as resume ownership…</title><link>http://blogs.technet.com/b/dpm/archive/2010/06/04/automatically-resolving-alerts-such-as-resume-ownership.aspx</link><description>Alerts are not generated to be dismissed without evaluation and some resolve automatically but there are moments when automatic handling of alerts is appreciated. More often than not alerts are predictably handled the same anyway, namely using the “recommended</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Automatically resolving alerts… such as resume ownership…</title><link>http://blogs.technet.com/b/dpm/archive/2010/06/04/automatically-resolving-alerts-such-as-resume-ownership.aspx#3461720</link><pubDate>Thu, 27 Oct 2011 10:14:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3461720</guid><dc:creator>Ben Ashdown</dc:creator><description>&lt;p&gt;This works great. I want to output the alerts to a log file which i&amp;#39;m using the following within the foreach statement&lt;/p&gt;
&lt;p&gt;$alert.AffectedArea + &amp;quot;,&amp;quot; + $alert.errorinfo.shortproblem + &amp;quot;,&amp;quot; + $alert.OccurredSince + &amp;quot;,&amp;quot; + $alert.errorinfo.resolution | out-file $LogFile -confirm:$false&lt;/p&gt;
&lt;p&gt;However when running from DOS so i can set it up as a schedukled task the output is blank.&lt;/p&gt;
&lt;p&gt;powershell -psconsolefile &amp;quot;F:\DPM\DPM\bin\dpmshell.psc1&amp;quot; -command &amp;quot;&amp;amp; {C:\DPMAlerts.ps1}&amp;quot;&lt;/p&gt;
&lt;p&gt; Is there a limitation of DOS at parsing the data out of DPM when calling the PS script?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3461720" width="1" height="1"&gt;</description></item></channel></rss>