<?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>NZ DSE</title><link>http://blogs.technet.com/b/nzdse/</link><description>Hosted Messaging &amp;amp; Collaboration, Exchange and System Center Operations Manager.</description><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.21163 (Build: 5.6.583.21163)</generator><item><title>PowerShell Script: Extract Operations Manager Severity &amp; Priority Information</title><link>http://blogs.technet.com/b/nzdse/archive/2011/12/11/powershell-script-extract-operations-manager-severity-amp-priority-information.aspx</link><pubDate>Sun, 11 Dec 2011 04:01:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3470184</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3470184</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2011/12/11/powershell-script-extract-operations-manager-severity-amp-priority-information.aspx#comments</comments><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/b/boris_yanushpolsky/archive/2008/06/25/mpviewer-1-7-now-works-with-latest-e12-mp.aspx"&gt;MPViewer v1.7&lt;/a&gt; returns no rule severity/priority data for the System Center Configuration Manager Management Pack version &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=20463"&gt;6.0.6000.3 (27/9/2011)&lt;/a&gt;.    &lt;br /&gt;This script can be used to extract that information.&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #008000"&gt;#requires -version 2&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt; &amp;lt;&lt;span style="color: #008000"&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt; author:              Johan Vosloo&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt; date:                3/11/2011&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt; info:                Must be executed from within the Operations Manager shell&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt;   6:&lt;/span&gt; severity/alertlevel: http://msdn.microsoft.com/en-us/library/ms813440.aspx&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt;   7:&lt;/span&gt; &lt;span style="color: #008000"&gt;#&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt;   8:&lt;/span&gt; $error.clear()&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum9"&gt;   9:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;trap&lt;/span&gt; [System.Management.Automation.CommandNotFoundException] {&lt;span style="color: #006080"&gt;&amp;quot;Command entered does not exist. Please ensure that you are running this script from within the System Center Operations Manager Shell.&amp;quot;&lt;/span&gt;;&lt;span style="color: #0000ff"&gt;continue&lt;/span&gt;} &lt;span style="color: #0000ff"&gt;trap&lt;/span&gt; {&lt;span style="color: #006080"&gt;&amp;quot;Errors were found.&amp;quot;&lt;/span&gt;;&lt;span style="color: #0000ff"&gt;continue&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum10"&gt;  10:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($error){&lt;span style="color: #0000ff"&gt;return&lt;/span&gt;} &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum11"&gt;  11:&lt;/span&gt; {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum12"&gt;  12:&lt;/span&gt;     &lt;span style="color: #008000"&gt;#MP&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum13"&gt;  13:&lt;/span&gt;     $configmp=get-managementpack -Name Microsoft.SystemCenter.ConfigurationManager.2007&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum14"&gt;  14:&lt;/span&gt;     &lt;span style="color: #008000"&gt;#Rules&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum15"&gt;  15:&lt;/span&gt;     $ruleinfo=@()&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum16"&gt;  16:&lt;/span&gt;     $configmp_rules=$configmp.getrules()&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum17"&gt;  17:&lt;/span&gt;     $configmp_enabledrules=$configmp_rules | ?{$_.enabled &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum18"&gt;  18:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;foreach&lt;/span&gt;($configmp_enabledrule &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; $configmp_enabledrules)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum19"&gt;  19:&lt;/span&gt;         {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum20"&gt;  20:&lt;/span&gt;             &lt;span style="color: #0000ff"&gt;foreach&lt;/span&gt; ($WriteAction &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; $configmp_enabledrule.WriteActionCollection)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum21"&gt;  21:&lt;/span&gt;                 {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum22"&gt;  22:&lt;/span&gt;                 $config=$writeaction.configuration&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum23"&gt;  23:&lt;/span&gt;                 &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($config.contains(&lt;span style="color: #006080"&gt;&amp;quot;&amp;lt;GenerateAlert&amp;gt;true&amp;quot;&lt;/span&gt;)){&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum24"&gt;  24:&lt;/span&gt;                 $config &lt;span style="color: #cc6633"&gt;-match&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;&amp;lt;/Description&amp;gt;&amp;lt;AlertLevel&amp;gt;(?&amp;lt;content&amp;gt;.*)&amp;lt;/AlertLevel&amp;gt;&amp;lt;ResolutionState/&amp;gt;&amp;lt;Source&amp;gt;&amp;quot;&lt;/span&gt; | out-null&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum25"&gt;  25:&lt;/span&gt;                 &lt;span style="color: #0000ff"&gt;switch&lt;/span&gt; ($matches[&lt;span style="color: #006080"&gt;'content'&lt;/span&gt;])&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum26"&gt;  26:&lt;/span&gt;                 {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum27"&gt;  27:&lt;/span&gt;                     {$_ &lt;span style="color: #cc6633"&gt;-le&lt;/span&gt; 20} {$alertlevel=&lt;span style="color: #006080"&gt;&amp;quot;Information&amp;quot;&lt;/span&gt;;&lt;span style="color: #0000ff"&gt;break&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum28"&gt;  28:&lt;/span&gt;                     {$_ &lt;span style="color: #cc6633"&gt;-le&lt;/span&gt; 40} {$alertlevel=&lt;span style="color: #006080"&gt;&amp;quot;Warning&amp;quot;&lt;/span&gt;;&lt;span style="color: #0000ff"&gt;break&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum29"&gt;  29:&lt;/span&gt;                     {$_ &lt;span style="color: #cc6633"&gt;-le&lt;/span&gt; 70} {$alertlevel=&lt;span style="color: #006080"&gt;&amp;quot;Critical&amp;quot;&lt;/span&gt;;&lt;span style="color: #0000ff"&gt;break&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum30"&gt;  30:&lt;/span&gt;                 }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum31"&gt;  31:&lt;/span&gt;                 }    &lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum32"&gt;  32:&lt;/span&gt;                 }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum33"&gt;  33:&lt;/span&gt;             $ruletmpobj=New-Object -Typename psobject –property @{displayname=$configmp_enabledrule.displayname;priority=$configmp_enabledrule.priority;severity=$alertlevel}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum34"&gt;  34:&lt;/span&gt;             $ruleinfo+=$ruletmpobj&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum35"&gt;  35:&lt;/span&gt;         }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum36"&gt;  36:&lt;/span&gt;            $ruleinfo | export-csv $home\Desktop\info.csv -notypeinformation&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum37"&gt;  37:&lt;/span&gt;            write-host &lt;span style="color: #006080"&gt;&amp;quot;Rule data was extracted to $home\Desktop\info.csv&amp;quot;&lt;/span&gt; -ForegroundColor green&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum38"&gt;  38:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Requirements:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;System Center Operations Manager 2007 R2 (tested with CU4)&lt;/li&gt;

  &lt;li&gt;System Center Operations Manager 2007 R2 command shell&lt;/li&gt;

  &lt;li&gt;System Center Operations Manager 2007 R2 Administrator Privileges&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3470184" width="1" height="1"&gt;</description></item><item><title>PowerShell Script: Retrieve Specific Event ID’s From Event Log On Multiple Computers</title><link>http://blogs.technet.com/b/nzdse/archive/2011/12/11/powershell-script-retrieve-specific-event-id-s-from-event-log-on-multiple-computers.aspx</link><pubDate>Sun, 11 Dec 2011 02:59:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3470182</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3470182</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2011/12/11/powershell-script-retrieve-specific-event-id-s-from-event-log-on-multiple-computers.aspx#comments</comments><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This script was put together very quickly to accomplish the objective stated in the title.&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #008000"&gt;#requires -version 2.0&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt; &amp;lt;&lt;span style="color: #008000"&gt;#&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt; author: Johan Vosloo&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt; date: 24/11/2011&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt; purpose: Retrieve event id’s from multiple machines and add to a CSV file.&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt;   6:&lt;/span&gt; &lt;span style="color: #008000"&gt;#&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt;   7:&lt;/span&gt; Try&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt;   8:&lt;/span&gt;     {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum9"&gt;   9:&lt;/span&gt;     $servers=get-content c:\scripts\servers.txt&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum10"&gt;  10:&lt;/span&gt;     $date=(Get-Date).AddDays(-7)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum11"&gt;  11:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;foreach&lt;/span&gt; ($server &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; $servers)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum12"&gt;  12:&lt;/span&gt;         {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum13"&gt;  13:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (test-connection $server -quiet)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum14"&gt;  14:&lt;/span&gt;             {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum15"&gt;  15:&lt;/span&gt;             $arr1+=get-eventlog -logname system -cn $server -after $date | ?{$_.eventid &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;21&amp;quot;&lt;/span&gt; -or $_.eventid &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;4201&amp;quot;&lt;/span&gt;} | select MachineName,EventID,EntryType,Message&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum16"&gt;  16:&lt;/span&gt;             $arr2+=get-eventlog -logname application -cn $server -after $date | ?{$_.eventid &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;902&amp;quot;&lt;/span&gt; -or $_.eventid &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;1003&amp;quot;&lt;/span&gt;} | select MachineName,EventID,EntryType,Message&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum17"&gt;  17:&lt;/span&gt;             $arr3+=get-eventlog -logname &lt;span style="color: #006080"&gt;&amp;quot;windows powershell&amp;quot;&lt;/span&gt; -cn $server -after $date | ?{$_.eventid &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;4004&amp;quot;&lt;/span&gt;} | select MachineName,EventID,EntryType,Message&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum18"&gt;  18:&lt;/span&gt;             }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum19"&gt;  19:&lt;/span&gt;         }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum20"&gt;  20:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($arr1)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum21"&gt;  21:&lt;/span&gt;             {$arr1 | export-csv c:\scripts\sysoutput.csv -notypeinformation}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum22"&gt;  22:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum23"&gt;  23:&lt;/span&gt;             {&lt;span style="color: #006080"&gt;&amp;quot;No matching system log events found...&amp;quot;&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum24"&gt;  24:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($arr2)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum25"&gt;  25:&lt;/span&gt;             {$arr2 | export-csv c:\scripts\appoutput.csv -notypeinformation}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum26"&gt;  26:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum27"&gt;  27:&lt;/span&gt;             {&lt;span style="color: #006080"&gt;&amp;quot;No matching application log events found...&amp;quot;&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum28"&gt;  28:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($arr3)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum29"&gt;  29:&lt;/span&gt;             {$arr3 | export-csv c:\scripts\psoutput.csv -notypeinformation}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum30"&gt;  30:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum31"&gt;  31:&lt;/span&gt;             {&lt;span style="color: #006080"&gt;&amp;quot;No matching powershell log events found...&amp;quot;&lt;/span&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum32"&gt;  32:&lt;/span&gt;     }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum33"&gt;  33:&lt;/span&gt; Catch&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum34"&gt;  34:&lt;/span&gt;     {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum35"&gt;  35:&lt;/span&gt;     &lt;span style="color: #006080"&gt;&amp;quot;An error occurred&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum36"&gt;  36:&lt;/span&gt;     }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Requirements:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;PowerShell v2.0&lt;/li&gt;

  &lt;li&gt;A servers.txt file in a c:\scripts folder&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3470182" width="1" height="1"&gt;</description></item><item><title>Creating a Performance Baseline for SQL Server with System Center Operations Manager 2007 R2</title><link>http://blogs.technet.com/b/nzdse/archive/2011/02/12/create-a-performance-baseline-for-sql-server-with-system-center-operations-manager-2007-r2.aspx</link><pubDate>Fri, 11 Feb 2011 12:09:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3386784</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3386784</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2011/02/12/create-a-performance-baseline-for-sql-server-with-system-center-operations-manager-2007-r2.aspx#comments</comments><description>&lt;p&gt;Time for a Friday night post. &lt;a href="http://blogs.technet.com/controlpanel/blogs/posteditor.aspx/Microsoft PFE" title="http://download.microsoft.com/download/E/0/2/E022A49D-0A6B-4396-809B-F8BBCB917BD5/Premier%20Field%20Engineer.pdf"&gt;Microsoft PFE&lt;/a&gt; raise the absence of system performance baselines pretty much in every &lt;a href="http://download.microsoft.com/documents/australia/services/mssrvcat_current_lowres.pdf"&gt;Risk Assessment Program (RAP) or Health Check&lt;/a&gt;. Customers do not generally create performance baselines.&lt;/p&gt;
&lt;p&gt;So, what are the typical uses for a performance baseline? Troubleshooting performance-related issues and facilitating capacity management comes to mind. &amp;ldquo;Hey, doesn&amp;rsquo;t Opsmgr have that information by default?&amp;rdquo; I hear you say. Opsmgr does indeed have some of it, but the performance information, for SQL Server at least, is not complete and only available for 7 days in the OperationsManager database and 10 days in the OperationsManagerDW database (with a default data retention configuration). We need to track performance baselines for systems over a much longer period.&lt;/p&gt;
&lt;p&gt;Okay, so what is the plan (and make that step-by-step please)? &lt;/p&gt;
&lt;ol sizcache="6" sizset="0"&gt;
&lt;li&gt;Create a super-thorough WinWord template for a SQL Server (+ underlying Windows OS) Performance Baseline, so we know what performance counters, etc will be required &amp;ndash; &lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-03-38-67-84/SQL-Performance-Baseline-Template-v0.docx" title="see attached docx"&gt;see attached docx&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;List all current Opsmgr performance counter collections. The following PowerShell script can be used to do this:
&lt;div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; height: 39px; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;"&gt;
&lt;div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;Get-PerformanceCounter | Export-Csv $env:HOMEDRIVE\All_Hosts_All_PerfCounters.csv -NoTypeInformation&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li sizcache="6" sizset="0"&gt;Compare the template created in 1 above with the list created in 2 above. Identify performance collections not done by Opsmgr at present. &lt;strong&gt;Note:&lt;/strong&gt; v6.1.314.35 (July 2010) of the SQL Management Pack and v6.0.6667.0 (September 2009) of the Base OS Management Pack are installed in my lab (yep, my OS MP upgrade release schedule for my personal lab is shocking, in terms of current priorities, it comes right after watching &lt;a href="http://en.wikipedia.org/wiki/Outrageous_Fortune_(TV_series)" title="Outrageous Fortune"&gt;Outrageous Fortune&lt;/a&gt;, the &lt;a href="http://en.wikipedia.org/wiki/V_(2009_TV_series)" title="V TV Series"&gt;V TV Series&lt;/a&gt;, analysing the skies for noticeable changes to the ozone layer and about a thousand other things). In my lab, this is the list of performance counters that are not collected: &lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;&lt;strong&gt;Object Name&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;&lt;strong&gt;Counter Name&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;Memory&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Pages Input/Sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;Memory&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Free System Page Table Entries&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;Paging file&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;%Usage Peak&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;Process (sqlservr)&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;%Processor Time&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;Process (msmdsrv)&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;%Processor Time&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Access Methods&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Forwarded Records/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Access Methods&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Full Scans / sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Access Methods&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Index Searches/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Access Methods&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Page Splits/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Access Methods&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Workfiles Created/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Access Methods&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Worktables From Cache Ratio&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Access Methods&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Table Lock Escalations/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Transactions&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Longest Running Transaction Time&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Memory Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Granted Workspace Memory (KB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Memory Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Maximum Workspace Memory (KB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Memory Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Memory Grants Outstanding&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Memory Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Memory Grants Pending&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Memory Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Total Server Memory (KB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Memory Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Target Server Memory (KB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Data File(s) Size (KB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log Bytes Flushed/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log File(s) Size (KB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log File(s) Used Size (KB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log Flush Wait Time&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log Flush Waits/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log Flushes/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log Growths&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log Shrinks&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Log Truncations&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Databases&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Percent Log Used&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Free List Stalls/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Lazy Writes/Sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Checkpoint Pages/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Page Life Expectancy&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Page Lookups/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Page Reads/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Page Writes/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Readahead/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Database Pages&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQLServer:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Procedure Cache Pages&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Target Pages&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Free Pages&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Buffer Manager&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Stolen Pages/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:SQL Statistics&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Batch requests/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:SQL Statistics&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;SQL Attention Rate/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Cursor Manager by Type&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Active Cursors&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:SQL Errors&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Errors/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Deprecated Features&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Usage&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:General Statistics&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Logouts/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Latches&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Latch Waits/sec&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Latches&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Avg Latch Wait Time (ms)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Latches&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Total Latch Wait Time (ms)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Locks&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Lock Wait Time (ms)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="237" valign="top"&gt;
&lt;p&gt;SQL Server:Locks&lt;/p&gt;
&lt;/td&gt;
&lt;td width="233" valign="top"&gt;
&lt;p&gt;Avg Wait Time (ms)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/li&gt;
&lt;li&gt;Create &lt;a href="http://technet.microsoft.com/en-us/library/bb381248.aspx"&gt;custom windows performance collection rules&lt;/a&gt; in Opsmgr for the missing performance counters (i.e. those above). &lt;strong&gt;Note:&lt;/strong&gt; There are obvious best practices that should be followed to make sure that you don&amp;rsquo;t blow-up, destroy or cripple your Opsmgr or SQL Server systems (or at least create a semblance of following good practice)&amp;hellip;e.g. deploy in your test environment first (yep, soooo many of us have them for Opsmgr, right?), choose a sensible performance collection sample frequency (tip, every 1 sec is not it), calculate the additional storage requirements in the OperationsManager and OperationsManagerDW databases, enable the new rules for a limited number of target instances to start with, etc. &lt;/li&gt;
&lt;li&gt;Okay, now use PowerShell to export raw data for all of the performance counters in the attached file. The script below will export &amp;lsquo;SQL Re-Compilations/sec&amp;rsquo; counter data for all &amp;lsquo;Microsoft.SQLServer.2008.DBEngine&amp;rsquo; discovered instances. &lt;br /&gt;
&lt;div class="csharpcode"&gt;
&lt;div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; height: 58px; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;"&gt;
&lt;div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;Get-MonitoringClass -Name &lt;span style="color: #006080"&gt;"Microsoft.SQLServer.2008.DBEngine"&lt;/span&gt; | Get-MonitoringObject | % `&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;{$aaa=$_.Id;$bbb=$_.PathName;Get-PerformanceCounter | ? {$_.MonitoringObjectId &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; $aaa -and $_.ObjectName &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;"SQLSERVER:SQL Statistics"&lt;/span&gt; -and $_.CounterName &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; &lt;span style="color: #006080"&gt;"SQL Re-Compilations/sec"&lt;/span&gt;} | Get-PerformanceCounterValue -StartTime ((get-date).adddays(-7)) -EndTime (get-date) | Select TimeSampled,SampleValue | Export-Csv -NoTypeInformation $env:HOMEDRIVE\$bbb.csv};&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Manually edit the script above for all desired counters&amp;hellip;&lt;img src="http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-73-66-metablogapi/1307.wlEmoticon_2D00_smile_5F00_27A5982B.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt;&amp;hellip;I know, I know&amp;hellip;it is real easy to automate that &amp;lt;sigh&amp;gt;&amp;hellip;The PowerShell script below will get the raw performance data only for relevant Objects and Counters specified in a CSV file: &lt;br /&gt;
&lt;div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; height: 73px; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;"&gt;
&lt;div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;Import-Csv c:\JVTools\SQL.csv | % `&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;{$Counter=$_.Counter;$Object=$_.Object;Get-MonitoringClass -Name &lt;span style="color: #006080"&gt;"Microsoft.SQLServer.2008.DBEngine"&lt;/span&gt; | Get-MonitoringObject | % `&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;{$aaa=$_.Id;$bbb=$_.PathName;$Object;$Counter;$count++;$CounterStr=$Counter-replace(&lt;span style="color: #006080"&gt;"/"&lt;/span&gt;,&lt;span style="color: #006080"&gt;" per "&lt;/span&gt;);$ObjectStr=$Object-replace(&lt;span style="color: #006080"&gt;":"&lt;/span&gt;,&lt;span style="color: #006080"&gt;"-"&lt;/span&gt;);Get-PerformanceCounter | ? {$_.MonitoringObjectId &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; $aaa -and $_.ObjectName &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; $Object -and $_.CounterName &lt;span style="color: #cc6633"&gt;-eq&lt;/span&gt; $Counter} | Get-PerformanceCounterValue -StartTime ((get-date).adddays(-7)) -EndTime (get-date) | Select TimeSampled,SampleValue | Export-Csv -NoTypeInformation $env:HOMEDRIVE\$Count$ObjectStr$CounterStr$bbb.csv}};&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;strong&gt;Note:&lt;/strong&gt; The CSV format is simply: Object,Counter. Use at least two different CSV's for the OS and SQL Server and replace &lt;span style="color: #006080"&gt;"Microsoft.SQLServer.2008.DBEngine" &lt;span style="color: #000000"&gt;with &lt;span style="color: #006080"&gt;"Microsoft.Windows.OperatingSystem" &lt;span style="color: #000000"&gt;(or a class more relevant to your scenario like &lt;span style="color: #006080"&gt;"Microsoft.Windows.LogicalDisk"&lt;/span&gt;) and the pointer to the CSV&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000"&gt;in the above script for the OS performance data collection.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/li&gt;
&lt;li&gt;Finally, manually crunch the data in Excel and complete the attached WinWord template&amp;hellip;&amp;lt;sigh&amp;gt; or use the&lt;a href="http://technet.microsoft.com/en-us/library/ee176900.aspx" title="Measure-Object"&gt; Measure-Object&lt;/a&gt; (not &lt;a href="http://technet.microsoft.com/en-us/library/ee176899.aspx" title="Measure-Command"&gt;Measure-Command&lt;/a&gt;) in PowerShell to create the 7 day averages where required. Now at least manually fill out the WinWord template and create the baseline graphs-over-time&amp;hellip;&amp;lt;sigh&amp;gt; or use PowerShell to do that as well &lt;img src="http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-73-66-metablogapi/1307.wlEmoticon_2D00_smile_5F00_27A5982B.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt;. A post for another day perhaps? &lt;/li&gt;
&lt;li&gt;Repeat this baseline creation every 3 or so months (depending on how dynamic and/or important your system is), before and after major changes like service packs, etc. Use it for troubleshooting, load balancing, fighting off business and application owners that want to overload your system and to help in getting that next salary increase when your boss asks you for a list of proactive things you have done lately. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I know that this data can also be retrieved from the OperationsManager&lt;strong&gt;DW&lt;/strong&gt; database in SQL (the OperationsManager database is not a good idea from an Opsmgr performance perspective...as the SQL guy, you may have the pesky Opsmgr Admin on your case with his own pesky Opsmgr performance baseline indicating that system stats degraded since you started fiddling) and I also know that a custom Opsmgr report to replace the WinWord template is very possible. That is a post for another time, this time the focus was on using PowerShell. I am also aware that this view is largely server-centric and that a more holistic end-to-end service performance baseline would be a useful thing...hmm Opsmgr does include features for creating Distributed Applications...wonder if I can target that with the MonitoringObject?&lt;/p&gt;
&lt;p&gt;Have fun!&lt;/p&gt;
&lt;p&gt;Johan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3386784" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-38-67-84/SQL-Performance-Baseline-Template-v0.docx" length="125913" type="application/vnd.openxmlformats-officedocument.word" /><category domain="http://blogs.technet.com/b/nzdse/archive/tags/Powershell/">Powershell</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/SCOM/">SCOM</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/System+Center+Operations+Manager/">System Center Operations Manager</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/OpsMgr/">OpsMgr</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/SQL/">SQL</category></item><item><title>PowerShell Script: Bulk move Mailboxes using a CSV Input File (HMC 4.0)</title><link>http://blogs.technet.com/b/nzdse/archive/2011/01/14/powershell-script-bulk-move-mailboxes-using-a-csv-input-file-hmc-4-0.aspx</link><pubDate>Fri, 14 Jan 2011 05:25:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3380264</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3380264</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2011/01/14/powershell-script-bulk-move-mailboxes-using-a-csv-input-file-hmc-4-0.aspx#comments</comments><description>&lt;p&gt;   &lt;br /&gt;This script can be used to move mailboxes, specified within a CSV input file, between mailbox servers. It will also update the MPS Resource Manager database.&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Author: Johan Vosloo&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Date: 12/10/2009&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Purpose: Bulk move mailboxes from a CSV input file.&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Disclaimer: This script is provided as-is without any support. The script was tested against HMC 4.0, Exchange Server 2007 SP1 and Powershell 1.0. Please test in a test environment prior to production use.      &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Process:      &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# 1. Use the Exchange Management Shell to get the source server name with Get-ExchangeServer | Select Name      &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# 2. Use the Exchange Management Shell to populate the input CSV file with Get-MailboxDatabase | where {$_.ServerName.Contains(&amp;quot;sourceservername&amp;quot;) -eq &amp;quot;true&amp;quot;} | Get-Mailbox | Select Alias,Database | Export-Csv C:\Temp\MbxsToBeMoved.csv –NoTypeInformation      &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# 3. Change ‘Database’ field header to ‘TargetDB’      &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# 4. Modify database/targetdb field entries as required in the CSV     &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# 5. Change preferredDomainController in mailbox move script     &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# 6. Run mailbox move script:     &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# CSV Example:     &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Alias,TargetDB     &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# bloggsj,mytargetservername &lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;$path = &lt;span style="color: #006080"&gt;&amp;quot;C:\jv\MoveMailbox\MbxsToBeMoved.csv&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;*******************&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Move Mailbox Script&amp;quot;&lt;/span&gt; -Foregroundcolor Blue -Backgroundcolor White;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;*******************&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;A CSV is required (i.e. $path)&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;$Ver1 = Read-Host &lt;span style="color: #006080"&gt;&amp;quot;CONTINUE script execution? [Y] to continue or [ANY OTHER KEY] to exit&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($Ver1 &lt;span style="color: #cc6633"&gt;-ne&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;Y&amp;quot;&lt;/span&gt;)&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  {exit;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  } &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host; &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Valid entries in CSV:&amp;quot;&lt;/span&gt; -Foregroundcolor Blue -Backgroundcolor White;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Note: Checks are not performed to avoid scenarios where sourcedb = targetdb in this version of the script. This is the administrators responsibility.&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Alias,TargetDB&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Import-csv -path $path | &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;foreach&lt;/span&gt; `&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;{ &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;               $TDBs = Get-MailboxDatabase $_.TargetDB -ErrorVariable MyError -ErrorAction SilentlyContinue;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;# Note: Checks are not performed to avoid scenarios where the Alias is invalid in this version of the script. This is the administrators responsibility.&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $A = $_.Alias&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;               Write-Host &lt;span style="color: #006080"&gt;&amp;quot;$A,$TDBS&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;If ($MyError &lt;span style="color: #cc6633"&gt;-ne&lt;/span&gt; $null)`&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;{ &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;               Write-Host;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    Write-Host &lt;span style="color: #006080"&gt;&amp;quot;*******&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;               Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Error&amp;quot;&lt;/span&gt; -Foregroundcolor Red -Backgroundcolor White;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    Write-Host &lt;span style="color: #006080"&gt;&amp;quot;*******&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Invalid TargetDB in CSV. Script terminating...&amp;quot;&lt;/span&gt; -Foregroundcolor Blue -Backgroundcolor White;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Error Description:&amp;quot;&lt;/span&gt; -Foregroundcolor Blue -Backgroundcolor White;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $MyError;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    Write-Host;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;               exit;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;} &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;$Ver2 = Read-Host &lt;span style="color: #006080"&gt;&amp;quot;CONTINUE moving ALL mailboxes in CSV? [Y] to continue or [ANY OTHER KEY] to exit&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($Ver2 &lt;span style="color: #cc6633"&gt;-ne&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;Y&amp;quot;&lt;/span&gt;)&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  {exit;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  }&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Function SendMPSRequest([string]$xmlRequestStr)&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;{&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  $oMpf = new-object -comobject &lt;span style="color: #006080"&gt;&amp;quot;Provisioning.ProvEngineClient&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  $xmlResponseStr = $oMPF.SubmitTrustedRequest($xmlRequest.get_InnerXml());&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  $xmlResponse = new-object &lt;span style="color: #006080"&gt;&amp;quot;System.Xml.XmlDocument&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  $xmlResponse.LoadXml($xmlResponseStr);&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  $xmlResponse;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;[string]$xmlRequestStr = &lt;span style="color: #006080"&gt;@&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;?xml version=&amp;quot;1.0&lt;span style="color: #006080"&gt;&amp;quot; encoding=&amp;quot;&lt;/span&gt;utf-8&lt;span style="color: #006080"&gt;&amp;quot;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;request&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  &amp;lt;data&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    &amp;lt;preferredDomainController&amp;gt;ad01.fabrikam.com&amp;lt;/preferredDomainController&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    &amp;lt;user&amp;gt;CSVPopulated&amp;lt;/user&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    &amp;lt;targetDatabase&amp;gt;CSVPopulated&amp;lt;/targetDatabase&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  &amp;lt;/data&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  &amp;lt;procedure&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    &amp;lt;execute namespace=&amp;quot;Hosted Email 2007&lt;span style="color: #006080"&gt;&amp;quot; procedure=&amp;quot;&lt;/span&gt;MoveMailbox&lt;span style="color: #006080"&gt;&amp;quot; impersonate=&amp;quot;&lt;/span&gt;1&lt;span style="color: #006080"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;      &amp;lt;before source=&amp;quot;data&lt;span style="color: #006080"&gt;&amp;quot; destination=&amp;quot;&lt;/span&gt;executeData&lt;span style="color: #006080"&gt;&amp;quot; mode=&amp;quot;&lt;/span&gt;merge&lt;span style="color: #006080"&gt;&amp;quot; /&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;      &amp;lt;after source=&amp;quot;executeData&lt;span style="color: #006080"&gt;&amp;quot; destination=&amp;quot;&lt;/span&gt;data&lt;span style="color: #006080"&gt;&amp;quot; mode=&amp;quot;&lt;/span&gt;merge&lt;span style="color: #006080"&gt;&amp;quot; /&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    &amp;lt;/execute&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  &amp;lt;/procedure&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;/request&amp;gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;quot;@&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;[string]$excXmlStr = &lt;span style="color: #006080"&gt;@&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;?xml version=&amp;quot;1.0&lt;span style="color: #006080"&gt;&amp;quot; encoding=&amp;quot;&lt;/span&gt;utf-8&lt;span style="color: #006080"&gt;&amp;quot;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;quot;@&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Starting procedure...&amp;quot;&lt;/span&gt; -Foregroundcolor Blue -Backgroundcolor White;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;$CSV = Import-csv -path $path&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Foreach ($line &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; $CSV)`&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  {&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $mailbox = Get-Mailbox $line.Alias | Select Alias, DistinguishedName; &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $userName = $mailbox.Alias;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $userDN = $mailbox.DistinguishedName;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $TDB = $line.TargetDB&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Moving $userName to $TDB...&amp;quot;&lt;/span&gt; -ForegroundColor White&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    Write-Host &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $xmlRequest = new-object &lt;span style="color: #006080"&gt;&amp;quot;System.Xml.XmlDocument&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $xmlRequest.LoadXml($xmlRequestStr);  &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $xmlRequest.request.data.user = &lt;span style="color: #006080"&gt;&amp;quot;LDAP://&amp;quot;&lt;/span&gt; + $userDN;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $xmlRequest.request.data.targetDatabase = $TDB;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $xmlResponse = $null;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    $xmlResponse = SendMPSRequest($xmlRequestStr.ToString());&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; ($xmlResponse.Response.Data.User &lt;span style="color: #cc6633"&gt;-ne&lt;/span&gt; $null)`&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        {&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            $MPSUser = New-Object System.Object;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            $MPSUser | Add-Member -Type NoteProperty -Name &lt;span style="color: #006080"&gt;&amp;quot;DistinguishedName&amp;quot;&lt;/span&gt; -Value $userDN;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            $MPSUser | Add-Member -Type NoteProperty -Name &lt;span style="color: #006080"&gt;&amp;quot;User&amp;quot;&lt;/span&gt; -Value $xmlResponse.Response.Data.user;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            $MPSUser | Add-Member -Type NoteProperty -Name &lt;span style="color: #006080"&gt;&amp;quot;TargetDB&amp;quot;&lt;/span&gt; -Value $xmlResponse.Response.Data.targetDatabase;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            $MPSUser | FL;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        }&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;  }            &lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;********************************************************************************************************************************************************************************************&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;Script execution complete. In pre-HMC4.0 Hosted Exchange Update Rollup 5 environments, please remember to run the Managed Email 2007::RepairExchangeObject procedure on all mailboxes moved.&amp;quot;&lt;/span&gt; -Foregroundcolor Blue -Backgroundcolor White;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host &lt;span style="color: #006080"&gt;&amp;quot;********************************************************************************************************************************************************************************************&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;!--crlf--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;Write-Host;&lt;/pre&gt;
&lt;!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/!--crlf--&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3380264" width="1" height="1"&gt;</description></item><item><title>Best lessons learnt while moving part of my LAB from Virtual Server 2005 R2 to Windows Server 2008 R2 Hyper-V</title><link>http://blogs.technet.com/b/nzdse/archive/2010/06/08/best-lessons-learnt-while-moving-part-of-my-lab-from-virtual-server-2005-r2-to-windows-server-2008-r2-hyper-v.aspx</link><pubDate>Mon, 07 Jun 2010 23:14:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3336532</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3336532</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2010/06/08/best-lessons-learnt-while-moving-part-of-my-lab-from-virtual-server-2005-r2-to-windows-server-2008-r2-hyper-v.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Issue:&lt;/strong&gt; Laptop Wireless NIC is not available by default to VM&amp;rsquo;s in Hyper-V :-(&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In &lt;strong&gt;Hyper-V Virtual Network Manager&lt;/strong&gt;, create a new &amp;lsquo;Internal Only&amp;rsquo; NIC e.g. &lt;strong&gt;Virtual Wireless Network&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Windows Server 2008 R2&lt;/strong&gt; &lt;strong&gt;Network Connections&lt;/strong&gt;, create a bridge between the &lt;strong&gt;Wireless Network Connection&lt;/strong&gt; and the &lt;strong&gt;Virtual Wireless Network&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;Add a NIC and connect it to the &lt;strong&gt;Virtual Wireless Network&lt;/strong&gt; for a &lt;strong&gt;VM&lt;/strong&gt; in its &lt;strong&gt;Settings&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Issue: &lt;/strong&gt;Migrating VM&amp;rsquo;s from Virtual Server to Hyper-V result in no mouse integration, no network adapter and a &amp;lsquo;VMBus&amp;rsquo; device that cannot be installed (i.e. Yellow exclamation mark in Device Manager) :-(&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution: &lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Uninstall old virtual server integration components &lt;/li&gt;
&lt;li&gt;Restart VM &lt;/li&gt;
&lt;li&gt;Install new Hyper-V integration services &lt;/li&gt;
&lt;li&gt;Run msconfig.exe, Boot, Advanced Options, Detect HAL, Enable &lt;/li&gt;
&lt;li&gt;Restart VM &lt;/li&gt;
&lt;li&gt;Run msconfig.exe, Boot, Advanced Options, Detect HAL, Disable &lt;/li&gt;
&lt;li&gt;Restart VM &lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3336532" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/nzdse/archive/tags/Virtual+Server+2005+R2/">Virtual Server 2005 R2</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Installing Forefront Threat Management Gateway (New ISA) in my System Center Operations Manager Lab</title><link>http://blogs.technet.com/b/nzdse/archive/2010/06/08/installing-forefront-threat-management-gateway-new-isa-in-my-system-center-operations-manager-lab.aspx</link><pubDate>Mon, 07 Jun 2010 23:13:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3336530</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3336530</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2010/06/08/installing-forefront-threat-management-gateway-new-isa-in-my-system-center-operations-manager-lab.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(Simple high-level step-by-step for the admin that does not require screenshots. The process below is probably useful for building a lab, production deployments would require little more planning.)&lt;/p&gt;
&lt;h1&gt;Basic Info&lt;/h1&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/forefront/threat-management-gateway/en/us/default.aspx"&gt;TMG&lt;/a&gt; is basically an Outbound Proxy.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/forefront/unified-access-gateway/en/us/default.aspx"&gt;UAG&lt;/a&gt; is basically an Inbound Proxy.&lt;/p&gt;
&lt;p&gt;TMG consists of 3 roles:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;TMG Server (x64) &lt;/li&gt;
&lt;li&gt;Enterprise Management Server (x64) &amp;ndash; i.e. The old Configuration Storage Server (CSS) &lt;/li&gt;
&lt;li&gt;Management Console (x86/x64) &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;E-mail protection must be installed separately. It is not installed by default!&lt;/p&gt;
&lt;h1&gt;High-level Forefront TMG Deployment Steps&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Run the &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=01b2f7a5-8165-4ead-9693-994504f66449"&gt;Forefront Threat Management Gateway 2010 Capacity Planning Tool&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://technet.microsoft.com/en-us/library/dd897048.aspx"&gt;Review workgroup and domain considerations&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://technet.microsoft.com/en-us/library/dd896981.aspx" title="http://technet.microsoft.com/en-us/library/dd896981.aspx"&gt;Review System requirements for Forefront TMG&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Install Operating System (Windows Server 2008 R2) &lt;/li&gt;
&lt;li&gt;Join Domain (or leave in Workgroup) &lt;/li&gt;
&lt;li&gt;Run Windows Update &lt;/li&gt;
&lt;li&gt;Activate Windows &lt;/li&gt;
&lt;li&gt;Configure NIC&amp;rsquo;s 
&lt;ul&gt;
&lt;li&gt;Private &lt;/li&gt;
&lt;li&gt;Public &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc441440.aspx"&gt;Install Forefront TMG&lt;/a&gt; 
&lt;ul&gt;
&lt;li&gt;Run Preparation Tool (requires internet access) &lt;/li&gt;
&lt;li&gt;Restart Computer &lt;/li&gt;
&lt;li&gt;Run Installation Wizard &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Configure TMG 
&lt;ul&gt;
&lt;li&gt;Allow Web Access (HTTP/HTTPs) &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Install the &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=5bfce6be-b681-48bf-bda9-a93d005820dd"&gt;Microsoft Forefront Threat Management Gateway (TMG) 2010 Management Pack for Operations Manager 2007&lt;/a&gt;&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Review the Management Pack Guide &lt;/li&gt;
&lt;li&gt;Install/Configure MP pre-requisites 
&lt;ul&gt;
&lt;li&gt;Enable manual Agent Installation in the Operations Console &lt;/li&gt;
&lt;li&gt;Create Access Rule in the TMG Management Console &lt;/li&gt;
&lt;li&gt;Manually install the Agent on the TMG Server &lt;/li&gt;
&lt;li&gt;Manually apply the latest CU to the Agent on the TMG Server &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Import MP &lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3336530" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/nzdse/archive/tags/SCOM/">SCOM</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/System+Center+Operations+Manager/">System Center Operations Manager</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/OpsMgr/">OpsMgr</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/TMG/">TMG</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/UAG/">UAG</category></item><item><title>Audit Alert Scenarios: System Center Operations Manager (OpsMgr) 2007 R2</title><link>http://blogs.technet.com/b/nzdse/archive/2009/11/10/audit-alert-scenarios-system-center-operations-manager-opsmgr-2007-r2.aspx</link><pubDate>Tue, 10 Nov 2009 04:33:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3292652</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3292652</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2009/11/10/audit-alert-scenarios-system-center-operations-manager-opsmgr-2007-r2.aspx#comments</comments><description>&lt;p&gt;The other day I was asked to assist with implementing the scenarios below:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Scenario 1: Alert for changes to the &amp;lsquo;Domain Admin&amp;rsquo; group membership&lt;/li&gt;
&lt;li&gt;Scenario 2: Alert when the Audit Policy is changed (Default Domain or Domain Controller)&lt;/li&gt;
&lt;li&gt;Scenario 3: Alert when xx number of unsuccessful logons occur within nn hours&lt;/li&gt;
&lt;li&gt;Scenario 4: Account locked out &lt;i&gt;x&lt;/i&gt; number of times in a 24 hour period&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;ve decided to blog about it as I am likely to need it again in the future and it may help someone else as well!&lt;/p&gt;
&lt;h3&gt;Scenario 1: Alert for changes to the &amp;lsquo;Domain Admin&amp;rsquo; group membership&lt;/h3&gt;
&lt;h5&gt;Prerequisites&lt;/h5&gt;
&lt;ol&gt;
&lt;li&gt;OpsMgr agent installed on domain controllers (&lt;a href="http://technet.microsoft.com/en-us/library/cc540363.aspx"&gt;more info...&lt;/a&gt;) &lt;/li&gt;
&lt;li&gt;Notification Channel, Subscriber &amp;amp; Subscription configured (&lt;a href="http://technet.microsoft.com/en-us/library/dd440890.aspx"&gt;more info...&lt;/a&gt;) &lt;/li&gt;
&lt;li&gt;Enable &amp;lsquo;&lt;b&gt;Audit Account Management&lt;/b&gt;&amp;rsquo; for the &amp;lsquo;Default Domain Controllers Policy&amp;rsquo; (&lt;a href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/cc787268(WS.10).aspx"&gt;how to&lt;/a&gt;) &lt;/li&gt;
&lt;/ol&gt;
&lt;h5&gt;Step-by-Step&lt;/h5&gt;
&lt;p&gt;Create an &amp;lsquo;Alert Generating Rule&amp;rsquo; as below: &lt;br /&gt;(&lt;a href="http://technet.microsoft.com/en-us/library/dd440894.aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/bb381357.aspx"&gt;how to&lt;/a&gt;) &lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; Rules are used here instead of monitors as monitors will affect Parent Monitors while rules will not.&lt;/p&gt;
&lt;ol sizset="0" sizcache="11"&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 807px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Operations Console &amp;gt; Authoring &amp;gt; Rules &amp;gt; Create a new rule&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Create a new destination management pack if required.&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="605" valign="top"&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_6.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_2.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select &amp;gt; &amp;lsquo;Windows Domain Controller&amp;rsquo; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Un-tick the &amp;lsquo;Rule is enabled&amp;rsquo; checkbox.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="605" valign="top"&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_8.png"&gt;&lt;img height="484" width="547" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_3.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select Security as the log name. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="605" valign="top"&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_10.png"&gt;&lt;img height="484" width="545" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_4.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Configure the event expression as depicted in the image.&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="605" valign="top"&gt;
&lt;p&gt;We will use the following event id&amp;rsquo;s in this section:&lt;/p&gt;
&lt;p&gt;632 &amp;ndash; A member was added to a global group. &lt;/p&gt;
&lt;p&gt;633 &amp;ndash; A member was removed from a global group.&lt;/p&gt;
&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_2.png"&gt;&lt;img height="484" width="547" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;br /&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note there are two ways to do this:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use Parameter 3 in screenshot above (more info &lt;a href="http://support.microsoft.com/kb/299475/en-us"&gt;here&lt;/a&gt; and &lt;a href="http://support.microsoft.com/kb/301677/en-us"&gt;here&lt;/a&gt;) or;&lt;/li&gt;
&lt;li&gt;&amp;lsquo;Use parameter name not specified above&amp;rsquo; and &amp;lsquo;EventDescription&amp;rsquo;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Method 1 is preferred.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Change the severity and priority settings as required. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create&lt;/td&gt;
&lt;td width="605" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_4.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_1.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="605" valign="top"&gt;
&lt;p&gt;&lt;b&gt;Next steps:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable newly created rule for &amp;lsquo;all objects of class: Windows Domain Controller&amp;rsquo; by using an override. (&lt;a href="http://technet.microsoft.com/en-us/library/bb309719.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Create a notification subscription for the rule. (&lt;a href="http://technet.microsoft.com/en-us/library/dd440890.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/ol&gt;&lt;ol&gt;&lt;/ol&gt;&lt;ol&gt;&lt;/ol&gt;&lt;ol&gt;&lt;/ol&gt;&lt;ol&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h5&gt;Alert example&lt;/h5&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 849px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="847" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_12.png"&gt;&lt;img height="392" width="644" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_5.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h4&gt;Scenario 2: Alert when the Audit Policy is changed (Default Domain or Domain Controller)&lt;/h4&gt;
&lt;h5&gt;Prerequisites&lt;/h5&gt;
&lt;ol&gt;
&lt;li&gt;OpsMgr agent installed on domain controllers (&lt;a href="http://technet.microsoft.com/en-us/library/cc540363.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Notification Channel, Subscriber &amp;amp; Subscription configured (&lt;a href="http://technet.microsoft.com/en-us/library/dd440890.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Enable &amp;lsquo;&lt;b&gt;Audit Policy Change&lt;/b&gt;&amp;rsquo; for &amp;lsquo;Default Domain Policy&amp;rsquo; (&lt;a href="http://technet.microsoft.com/en-us/library/cc781549(WS.10).aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/cc787268(WS.10).aspx"&gt;how to&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;h5&gt;Step-by-Step&lt;/h5&gt;
&lt;p&gt;Create an &amp;lsquo;Alert Generating Rule&amp;rsquo; as below: &lt;br /&gt;(&lt;a href="http://technet.microsoft.com/en-us/library/dd440894.aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/bb381357.aspx"&gt;how to&lt;/a&gt;)&lt;/p&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 842px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Operations Console &amp;gt; Authoring &amp;gt; Rules &amp;gt; Create a new rule&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Create a new destination management pack if required. &lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="640" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_14.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_6.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select &amp;gt; &amp;lsquo;Windows Domain Controller&amp;rsquo; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Un-tick the &amp;lsquo;Rule is enabled&amp;rsquo; checkbox.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="640" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_16.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_7.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select Security as the log name. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="640" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_18.png"&gt;&lt;img height="484" width="545" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_8.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Configure the event expression as depicted in the image. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="640" valign="top"&gt;
&lt;p&gt;We will use the following event id in this section: &lt;/p&gt;
&lt;p&gt;612 &amp;ndash; An audit policy was changed.&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_20.png"&gt; &lt;br /&gt;&lt;img height="484" width="542" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_9.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Change the severity and priority settings as required. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create&lt;/td&gt;
&lt;td width="640" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_22.png"&gt;&lt;img height="484" width="546" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_10.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="640" valign="top"&gt;
&lt;p&gt;&lt;b&gt;Next steps:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable newly created rule for &amp;lsquo;all objects of class: Windows Domain Controller&amp;rsquo; by using an override. (&lt;a href="http://technet.microsoft.com/en-us/library/bb309719.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Create a notification subscription for the rule. (&lt;a href="http://technet.microsoft.com/en-us/library/dd440890.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h5&gt;Alert example&lt;/h5&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 842px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="840" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_24.png"&gt;&lt;img height="484" width="521" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_11.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h4&gt;Scenario 3: Alert when xx number of unsuccessful logons occur within nn hours&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; This is a complex scenario and I am not sure that my proposed solution is the simplest...it works though! :-)&lt;/p&gt;
&lt;p&gt;The following is relatively easy to do though:&lt;/p&gt;
&lt;p&gt;&amp;middot; Create an alert for each Unsuccessful Logon.&lt;/p&gt;
&lt;p&gt;&amp;middot; Create an alert for each Unsuccessful Logon for a specific user.&lt;/p&gt;
&lt;p&gt;&amp;middot; Create one suppressed alert (i.e. repeat count is increased) for all Unsuccessful Logons.&lt;/p&gt;
&lt;p&gt;&amp;middot; Create one suppressed alert per user account that attempted an unsuccessful logon. Add 1 to the &amp;lsquo;RepeatCount&amp;rsquo; for each subsequent occurrence in a 24 hour period. Create a rule to auto-resolve all related active alerts. Create a rule to send hourly notifications when the &amp;lsquo;RepeatCount&amp;rsquo; exceeds xx. I documented only this scenario below.&lt;/p&gt;
&lt;h5&gt;Prerequisites&lt;/h5&gt;
&lt;ol&gt;
&lt;li&gt;OpsMgr agent installed on domain controllers (&lt;a href="http://technet.microsoft.com/en-us/library/cc540363.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Notification Channel, Subscriber &amp;amp; Subscription configured (&lt;a href="http://technet.microsoft.com/en-us/library/dd440890.aspx"&gt;more info...&lt;/a&gt;) &amp;ndash; not strictly speaking necessary for the proposed solution.&lt;/li&gt;
&lt;li&gt;Enable &amp;lsquo;&lt;strong&gt;Audit Account Logon Events&lt;/strong&gt;&amp;rsquo; for &amp;lsquo;Default Domain Controller Policy&amp;rsquo; (&lt;a href="http://technet.microsoft.com/en-us/library/cc787176(WS.10).aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/cc787268(WS.10).aspx"&gt;how to&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;h5&gt;Step-By-Step&lt;/h5&gt;
&lt;p&gt;(Create one suppressed alert per user account that attempted an unsuccessful logon. Add 1 to the &amp;lsquo;RepeatCount&amp;rsquo; for each subsequent occurrence in a 24 hour period. Create a rule to auto-resolve all related active alerts. Create a rule to send hourly notifications when the &amp;lsquo;RepeatCount&amp;rsquo; exceeds xx.)&lt;/p&gt;
&lt;p&gt;Create an &amp;lsquo;Alert Generating Rule&amp;rsquo; as below: &lt;br /&gt;(&lt;a href="http://technet.microsoft.com/en-us/library/dd440894.aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/bb381357.aspx"&gt;how to&lt;/a&gt;)&lt;/p&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 834px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Operations Console &amp;gt; Authoring &amp;gt; Rules &amp;gt; Create a new rule &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Create a new destination management pack if required. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="632" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_26.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_12.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select &amp;gt; &amp;lsquo;Windows Domain Controller&amp;rsquo; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Un-tick the &amp;lsquo;Rule is enabled&amp;rsquo; checkbox.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="632" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_28.png"&gt;&lt;img height="484" width="542" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_13.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select Security as the log name. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="632" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_30.png"&gt;&lt;img height="484" width="545" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_14.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Configure the event expression as depicted in the image. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="632" valign="top"&gt;We will use the following event id in this section: &lt;br /&gt;675 - Preauthentication failed. This event is generated on a Key Distribution Center (KDC) when a user types in an incorrect password.&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_32.png"&gt; &lt;br /&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_15.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Change the severity and priority settings as required. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Alert Suppression&lt;/td&gt;
&lt;td width="632" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_34.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_16.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Configure the alert suppression fields as depicted in the image. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ok&lt;/td&gt;
&lt;td width="632" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_36.png"&gt;&lt;img height="484" width="472" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_17.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Create&lt;/td&gt;
&lt;td width="632" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_38.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_18.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="632" valign="top"&gt;
&lt;p&gt;&lt;b&gt;Next steps:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Enable newly created rule for &amp;lsquo;all objects of class: Windows Domain Controller&amp;rsquo; by using an override. (&lt;a href="http://technet.microsoft.com/en-us/library/bb309719.aspx"&gt;more info...&lt;/a&gt;)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h5&gt;Alert example&lt;/h5&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 835px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="833" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_40.png"&gt;&lt;img height="450" width="644" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_19.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h5&gt;Create a rule to resolve all unsuccessful logon alerts on a daily basis&lt;/h5&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 836px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Operations Console &amp;gt; Authoring &amp;gt; Rules &amp;gt; Create a new rule &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Create a new destination management pack if required. &lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="634" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_42.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_20.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select &amp;gt; &amp;lsquo;Root Management Server&amp;rsquo; as the rule target. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Un-tick the &amp;lsquo;Rule is enabled&amp;rsquo; checkbox.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="634" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_44.png"&gt;&lt;img height="484" width="543" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_21.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Define the schedule as required.&lt;/td&gt;
&lt;td width="634" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_46.png"&gt;&lt;img height="484" width="546" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_22.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Create a directory on the root management server i.e. c:\scripts &amp;gt; Save the following powershell script in the directory. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Change the script as required i.e. path to OpsMgr startup.ps1 and rule name. &lt;/td&gt;
&lt;td width="634" valign="top"&gt;# ResolveUL.ps1 &lt;br /&gt;# Author: Johan Vosloo &lt;br /&gt;# Date: 29-10-2009 &lt;br /&gt;# Note: The name i.e. "Custom
&lt;p&gt;Rule - Count Unsuccessful Logons" below must match the rule name that is used to create the surpressed alert.&lt;/p&gt;
&lt;p&gt;# Script requires Microsoft.EnterpriseManagement.OperationsManager.ClientShell.Startup.ps1 to be in "c:\Program Files\System Center Operations Manager 2007" - Change as required.&lt;/p&gt;
&lt;p&gt;add-pssnapin "Microsoft.EnterpriseManagement.OperationsManager.Client";&lt;/p&gt;
&lt;p&gt;Set-Location "c:\Program Files\System Center Operations Manager 2007";&lt;/p&gt;
&lt;p&gt;.\Microsoft.EnterpriseManagement.OperationsManager.ClientShell.Startup.ps1;&lt;/p&gt;
&lt;p&gt;get-alert | where {($_.Name -eq "Custom Rule - Count Unsuccessful Logons") -and ($_.ResolutionState -eq "0")} | resolve-alert -comment "CLOSE daily informational alerts" | out-Null;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Configure command line execution settings as depicted in the image. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create&lt;/td&gt;
&lt;td width="634" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_48.png"&gt;&lt;img height="484" width="546" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_23.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="634" valign="top"&gt;
&lt;p&gt;&lt;b&gt;Next steps:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Enable newly created rule for &amp;lsquo;all objects of class: Root Management Server&amp;rsquo; by using an override. (&lt;a href="http://technet.microsoft.com/en-us/library/bb309719.aspx"&gt;more info...&lt;/a&gt;)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h5&gt;Create a rule to send notification when alert &amp;lsquo;RepeatCount&amp;rsquo; equal xx within nn hours&lt;/h5&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 835px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Operations Console &amp;gt; Authoring &amp;gt; Rules &amp;gt; Create a new rule &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Create a new destination management pack if required. &lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="633" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_50.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_24.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select &amp;gt; &amp;lsquo;Root Management Server&amp;rsquo; as the rule target. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Un-tick the &amp;lsquo;Rule is enabled&amp;rsquo; checkbox.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="633" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_52.png"&gt;&lt;img height="484" width="547" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_25.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Define the schedule as required.&lt;/td&gt;
&lt;td width="633" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_54.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_26.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Create a directory on the root management server i.e. c:\scripts &amp;gt; Save the following powershell script in the directory. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Change the script as required i.e. path to OpsMgr startup.ps1 and rule name. &lt;/td&gt;
&lt;td width="633" valign="top"&gt;
&lt;p&gt;# NotifyULogon.ps1 &lt;br /&gt;# Author: Johan Vosloo &lt;br /&gt;# Date: 29-10-2009 &lt;br /&gt;# Credit: Adapted from &lt;a href="http://contoso.se/blog/?p=290"&gt;http://contoso.se/blog/?p=290&lt;/a&gt; # Script requires Microsoft.EnterpriseManagement.OperationsManager.ClientShell.Startup.ps1 to be in "c:\Program Files\System Center Operations Manager 2007" - Change as required.&lt;br /&gt;# Change the Notification Recipient below.&lt;br /&gt;$Recipient = &lt;a href="mailto:security@paris.com"&gt;security@paris.com&lt;/a&gt;;&lt;br /&gt;add-pssnapin "Microsoft.EnterpriseManagement.OperationsManager.Client";&lt;br /&gt;Set-Location "c:\Program Files\System Center Operations Manager 2007";&lt;br /&gt;.\Microsoft.EnterpriseManagement.OperationsManager.ClientShell.Startup.ps1;&lt;br /&gt;# The name i.e. "Custom Rule - Count Unsuccessful Logons" below must match the rule name that is used to create the surpressed alert.&lt;br /&gt;$alertdata = get-alert | where {($_.Name -eq "Custom Rule - Count Unsuccessful Logons") -and ($_.ResolutionState -eq "0") -and ($_.RepeatCount -gt "3") -and ($_.CustomField1 -lt 0)} | &lt;br /&gt;Foreach &lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $_.Id;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_id = $_.Id;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_name = $_.Name;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_TimeRaised = $_.TimeRaised;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_Desc = $_.Description;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_RepeatCount = $_.RepeatCount;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_Severity = $_.Severity;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_priority = $_.Priority;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert_MonitoringObjectDisplayName = $_.MonitoringObjectDisplayName;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ($alert_RepeatCount -gt 3)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Send Email&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ($alert_ID -eq $NULL)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"Alert ID is NULL, dont send e-mail";}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSEIF ($recipient -eq $NULL)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"Recipient is NULL, dont send e-mail";}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Change the from address and the mailserver below&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $smtpServer = "mailserver.paris.com";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $smtpClient = new-object system.net.mail.smtpClient($smtpServer);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $From = &lt;a href="mailto:notification@paris.com"&gt;notification@paris.com&lt;/a&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $To = $recipient;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $Title = "Notification from Ops Mgr. $alert_name $alert_Severity";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $Body = @"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Notification from Operations Manager 2007&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RepeatCount: $alert_RepeatCount&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Raised: $alert_TimeRaised&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name: $alert_name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object: $alert_MonitoringObjectDisplayName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Priority: $alert_Priority&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Severity: $alert_Severity&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description: $alert_description&lt;br /&gt;"@&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $SmtpClient.Send($From,$To,$Title,$Body);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Update Custom Field 1 on the alert. Else the script will send multiple e-mails for the same alert&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert = Get-Alert | where {$_.Id -eq $Alert_ID};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert.Customfield1 = "Ops Mgr has sent e-mail to $recipient";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $alert.Update("");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;br /&gt;};&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Configure command line execution settings as depicted in the image. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create&lt;/td&gt;
&lt;td width="633" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_56.png"&gt;&lt;img height="484" width="544" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_27.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="633" valign="top"&gt;
&lt;p&gt;&lt;b&gt;Next steps:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Enable newly created rule for &amp;lsquo;all objects of class: Root Management Server&amp;rsquo; by using an override. (&lt;a href="http://technet.microsoft.com/en-us/library/bb309719.aspx"&gt;more info...&lt;/a&gt;)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Scenario 4: Account locked out &lt;i&gt;x&lt;/i&gt; number of times in a 24 hour period&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; This is another complex scenario and I am again not sure that my proposed solution is the simplest...it works though! J&lt;/p&gt;
&lt;h5&gt;Prerequisites&lt;/h5&gt;
&lt;ol&gt;
&lt;li&gt;OpsMgr agent installed on domain controllers (&lt;a href="http://technet.microsoft.com/en-us/library/cc540363.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Notification Channel, Subscriber &amp;amp; Subscription configured (&lt;a href="http://technet.microsoft.com/en-us/library/dd440890.aspx"&gt;more info...&lt;/a&gt;) &lt;/li&gt;
&lt;li&gt;Enable &amp;lsquo;&lt;b&gt;Audit Account Management&lt;/b&gt;&amp;rsquo; for the &amp;lsquo;Default Domain Controllers Policy&amp;rsquo; (&lt;a href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/cc787268(WS.10).aspx"&gt;how to&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;h5&gt;Step-By-Step&lt;/h5&gt;
&lt;p&gt;(Create one suppressed alert per locked out user account. Add 1 to the &amp;lsquo;RepeatCount&amp;rsquo; for each subsequent occurrence in a 24 hour period. Create a rule to auto-resolve all related active alerts. Create a rule to send hourly notifications when the &amp;lsquo;RepeatCount&amp;rsquo; exceeds xx.)&lt;/p&gt;
&lt;p&gt;Create an &amp;lsquo;Alert Generating Rule&amp;rsquo; as below: &lt;br /&gt;(&lt;a href="http://technet.microsoft.com/en-us/library/dd440894.aspx"&gt;more info...&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/bb381357.aspx"&gt;how to&lt;/a&gt;)&lt;/p&gt;
&lt;table cellpadding="2" cellspacing="0" border="0" style="width: 841px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Operations Console &amp;gt; Authoring &amp;gt; Rules &amp;gt; Create a new rule &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Create a new destination management pack if required. &lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="639" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_58.png"&gt;&lt;img height="484" width="543" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_28.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select &amp;gt; &amp;lsquo;Windows Domain Controller&amp;rsquo; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;br /&gt;Un-tick the &amp;lsquo;Rule is enabled&amp;rsquo; checkbox.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="639" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_60.png"&gt;&lt;img height="484" width="545" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_29.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Select Security as the log name. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;/td&gt;
&lt;td width="639" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_62.png"&gt;&lt;img height="484" width="545" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_30.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;
&lt;p&gt;Configure the event expression as depicted in the image. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;/td&gt;
&lt;td width="639" valign="top"&gt;We will use the following event id in this section: &lt;br /&gt;644 - A user account was auto locked.&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_64.png"&gt; &lt;br /&gt;&lt;img height="484" width="545" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_31.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Change the severity and priority settings as required. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Alert Suppression&lt;/td&gt;
&lt;td width="639" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_68.png"&gt;&lt;img height="484" width="542" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_33.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Configure the alert suppression fields as depicted in the image. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ok&lt;/td&gt;
&lt;td width="639" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_66.png"&gt;&lt;img height="484" width="473" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_32.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Create&lt;/td&gt;
&lt;td width="639" valign="top"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_68.png"&gt;&lt;img height="484" width="542" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditAlertScenariosSystemCenterOperation_F6F4/image_thumb_33.png" alt="image" border="0" title="image" style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" /&gt;&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="639" valign="top"&gt;
&lt;p&gt;&lt;b&gt;Next steps:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable newly created rule for &amp;lsquo;all objects of class: Windows Domain Controller&amp;rsquo; by using an override. (&lt;a href="http://technet.microsoft.com/en-us/library/bb309719.aspx"&gt;more info...&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Repeat &amp;lsquo;Create a rule to resolve all Unsuccessful Logon Alerts on a daily basis&amp;rsquo; section in scenario 3 above.&lt;/li&gt;
&lt;li&gt;Repeat &amp;lsquo;Create a rule to send notification when RepeatCount equal xx within nn hours&amp;rsquo; in scenario 3 above.&lt;/li&gt;
&lt;/ol&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3292652" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/nzdse/archive/tags/SCOM/">SCOM</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/System+Center+Operations+Manager/">System Center Operations Manager</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/OpsMgr/">OpsMgr</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/Audit/">Audit</category></item><item><title>Audit Report Scenarios: How to create custom reports with System Center Operations Manager 2007 R2 and Audit Collection Services (ACS)</title><link>http://blogs.technet.com/b/nzdse/archive/2009/11/06/audit-scenarios-system-center-operations-manager-2007-r2-and-audit-collection-services-acs.aspx</link><pubDate>Fri, 06 Nov 2009 05:05:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3291878</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3291878</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2009/11/06/audit-scenarios-system-center-operations-manager-2007-r2-and-audit-collection-services-acs.aspx#comments</comments><description>&lt;p&gt;Scenarios that are discussed in this blog post include:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Scenario 1: Computers joined to the domain (names and description) &lt;/li&gt;    &lt;li&gt;Scenario 2: User passwords expired &lt;/li&gt;    &lt;li&gt;Scenario 3: User accounts locked out &lt;/li&gt;    &lt;li&gt;Scenario 4: Group policy changes &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Scenario 1: Computers joined to the domain (names and description)&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The following Event Id’s will be used in this procedure:&lt;/p&gt;  &lt;p&gt;645 - A computer account was created.&lt;/p&gt;  &lt;p&gt;646 - A computer account was changed.&lt;/p&gt;  &lt;p&gt;647 - A computer account was deleted.&lt;/p&gt;  &lt;p&gt;Note: Computer description cannot be reported on as it is not a parameter of the events.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Computer Accounts Created&lt;/strong&gt;&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="740"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="84"&gt;&lt;strong&gt;Step1&lt;/strong&gt;           &lt;br /&gt;Operations Console &amp;gt; Reporting &amp;gt; Audit Reports &amp;gt; Design a new report&lt;/td&gt;        &lt;td valign="top" width="654"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" width="644" height="466" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="84"&gt;&lt;strong&gt;Step 2&lt;/strong&gt;           &lt;br /&gt;Select fields as shown in the image from ‘Explorer pane, Fields:’ section&lt;/td&gt;        &lt;td valign="top" width="654"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_4.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_1.png" width="644" height="464" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_1.png" /&gt;&lt;/a&gt;&amp;#160;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="84"&gt;&lt;strong&gt;Step 3&lt;/strong&gt;           &lt;br /&gt;Rename fields&lt;/td&gt;        &lt;td valign="top" width="654"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_6.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_2.png" width="644" height="464" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_2.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="84"&gt;&lt;strong&gt;Step 4&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘Date’ field (i.e. 1/1/2009)           &lt;br /&gt;&amp;gt; Format &amp;gt; Select a format to suit your requirements&lt;/td&gt;        &lt;td valign="top" width="654"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" width="471" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="84"&gt;&lt;strong&gt;Step 5&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘Computer’ field &amp;gt; Edit Formula &amp;gt; Enter the formula as indicated in the image&lt;/td&gt;        &lt;td valign="top" width="654"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_14.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_6.png" width="584" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_6.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="84"&gt;&lt;strong&gt;Step 6&lt;/strong&gt;           &lt;br /&gt;Select Filter from the toolbar. Add Event Id and select &lt;strong&gt;645            &lt;br /&gt;            &lt;br /&gt;Note             &lt;br /&gt;&lt;/strong&gt;Event Id 645 will not be available if &lt;a href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx"&gt;Audit Account Management&lt;/a&gt; is not enabled or a DC is not configured to forward this event to an ACS collector or ACS is configured to filter out this event.&lt;/td&gt;        &lt;td valign="top" width="654"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_8.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_3.png" width="629" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_3.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="84"&gt;&lt;strong&gt;Report example&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="654"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_16.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_7.png" width="644" height="463" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_7.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;strong&gt;Computer Accounts Deleted&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Save the report created above as a different name, change the title and simply change the event id in step 6 above to &lt;strong&gt;647&lt;/strong&gt; to report on &lt;strong&gt;deleted computer accounts&lt;/strong&gt;.&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="748"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="70"&gt;&lt;strong&gt;Report example&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="676"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_18.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_8.png" width="644" height="465" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_8.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;strong&gt;Computer Accounts Changed&lt;/strong&gt;&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="754"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="97"&gt;&lt;strong&gt;Step1&lt;/strong&gt;           &lt;br /&gt;Operations Console &amp;gt; Reporting &amp;gt; Audit Reports &amp;gt; Design a new report&lt;/td&gt;        &lt;td valign="top" width="655"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" width="644" height="466" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" /&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="96"&gt;&lt;strong&gt;Step 2&lt;/strong&gt;           &lt;br /&gt;Select fields as shown in the image from ‘Explorer pane, Fields:’ section           &lt;br /&gt;and rename as appropriate&lt;/td&gt;        &lt;td valign="top" width="656"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_22.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_10.png" width="644" height="464" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_10.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="96"&gt;&lt;strong&gt;Step 3&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘Date’ field (i.e. 1/1/2009)           &lt;br /&gt;&amp;gt; Format &amp;gt; Select a format to suit your requirements&lt;/td&gt;        &lt;td valign="top" width="656"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" width="471" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="96"&gt;&lt;strong&gt;Step 4&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘Action’ field &amp;gt; Edit Formula &amp;gt; Enter the formula as indicated in the image&lt;/td&gt;        &lt;td valign="top" width="656"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_26.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_12.png" width="586" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_12.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="96"&gt;&lt;strong&gt;Step 5&lt;/strong&gt;           &lt;br /&gt;Select Filter from the toolbar. Add Event Id and equals &lt;strong&gt;647&lt;/strong&gt;. Also add &lt;strong&gt;&amp;#160; &lt;br /&gt;&lt;/strong&gt;String 06 and not equal to &lt;strong&gt;-            &lt;br /&gt;            &lt;br /&gt;Note             &lt;br /&gt;&lt;/strong&gt;Event Id 647 will not be available if &lt;a href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx"&gt;Audit Account Management&lt;/a&gt; is not enabled or a DC is not configured to forward this event to an ACS collector or ACS is configured to filter out this event.&lt;/td&gt;        &lt;td valign="top" width="656"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_24.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_11.png" width="626" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_11.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="96"&gt;&lt;strong&gt;Report example&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="657"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_28.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_13.png" width="644" height="463" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_13.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;strong&gt;Scenario 2: User passwords expired&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Event Id 535 (Logon failure. The password for the specified account has expired) will be used in this procedure.&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="735"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="83"&gt;&lt;strong&gt;Step1&lt;/strong&gt;           &lt;br /&gt;Operations Console &amp;gt; Reporting &amp;gt; Audit Reports &amp;gt; Design a new report&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" width="644" height="466" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" /&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="83"&gt;&lt;strong&gt;Step 2&lt;/strong&gt;           &lt;br /&gt;Select fields as shown in the image from ‘Explorer pane, Fields:’ section           &lt;br /&gt;and rename as appropriate&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_48.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_48.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_9.png" width="644" height="464" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_9.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="83"&gt;&lt;strong&gt;Step 3&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘Date’ field (i.e. 1/1/2009)           &lt;br /&gt;&amp;gt; Format &amp;gt; Select a format to suit your requirements&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" width="471" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="83"&gt;&lt;strong&gt;Step 4&lt;/strong&gt;           &lt;br /&gt;Select Filter from the toolbar. Add Event Id and equals &lt;strong&gt;535&lt;/strong&gt;. Also add &lt;strong&gt;&amp;#160; &lt;br /&gt;&lt;/strong&gt;String 06 and not equal to &lt;strong&gt;-            &lt;br /&gt;            &lt;br /&gt;Note             &lt;br /&gt;&lt;/strong&gt;Event Id 535 will not be available if &lt;a title="http://technet.microsoft.com/en-us/library/cc787567(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc787567(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/cc787567(WS.10).aspx"&gt;Audit logon events&lt;/a&gt; is not enabled or a DC is not configured to forward this event to an ACS collector or ACS is configured to filter out this event or there were no logon attempts by users with expired passwords.&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_50.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_50.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_21.png" width="628" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_21.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="83"&gt;&lt;strong&gt;Report example&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_52.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_52.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_23.png" width="644" height="464" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_23.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;strong&gt;Scenario 3: User accounts locked out&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Event Id 644 (A user account was auto locked) will be used in this procedure.&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="762"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="92"&gt;&lt;strong&gt;Step1&lt;/strong&gt;           &lt;br /&gt;Operations Console &amp;gt; Reporting &amp;gt; Audit Reports &amp;gt; Design a new report&lt;/td&gt;        &lt;td valign="top" width="668"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" width="644" height="466" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" /&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="96"&gt;&lt;strong&gt;Step 2&lt;/strong&gt;           &lt;br /&gt;Select fields as shown in the image from ‘Explorer pane, Fields:’ section           &lt;br /&gt;and rename as appropriate&lt;/td&gt;        &lt;td valign="top" width="670"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_30.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_14.png" width="644" height="463" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_14.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="98"&gt;&lt;strong&gt;Step 3&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘Date’ field (i.e. 1/1/2009)           &lt;br /&gt;&amp;gt; Format &amp;gt; Select a format to suit your requirements&lt;/td&gt;        &lt;td valign="top" width="669"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" width="471" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="99"&gt;&lt;strong&gt;Step 4&lt;/strong&gt;           &lt;br /&gt;Select Filter from the toolbar. Add Event Id and equals &lt;strong&gt;644&lt;/strong&gt;.           &lt;br /&gt;&lt;strong&gt;Note            &lt;br /&gt;&lt;/strong&gt;Event Id 644 will not be available if &lt;a href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/cc737542(WS.10).aspx"&gt;Audit Account Management&lt;/a&gt; is not enabled or a DC is not configured to forward this event to an ACS collector or ACS is configured to filter out this event or if the Account Lockout Policy is not configured with a threshold for logon attempts.&lt;/td&gt;        &lt;td valign="top" width="669"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_32.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_15.png" width="629" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_15.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="99"&gt;&lt;strong&gt;Report example&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="669"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_34.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_16.png" width="644" height="463" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_16.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&lt;strong&gt;Scenario 4: Group policy changes&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Event Id 566 (A generic object operation took place) will be used in this procedure.&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="806"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="154"&gt;&lt;strong&gt;Step1&lt;/strong&gt;           &lt;br /&gt;Operations Console &amp;gt; Reporting &amp;gt; Audit Reports &amp;gt; Design a new report&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" width="644" height="466" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb.png" /&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="154"&gt;&lt;strong&gt;Step 2&lt;/strong&gt;           &lt;br /&gt;Select fields as shown in the image from ‘Explorer pane, Fields:’ section           &lt;br /&gt;and rename as appropriate&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_36.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_36.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_17.png" width="644" height="389" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_17.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="154"&gt;&lt;strong&gt;Step 3&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘Date’ field (i.e. 1/1/2009)           &lt;br /&gt;&amp;gt; Format &amp;gt; Select a format to suit your requirements&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" width="471" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_4.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="154"&gt;&lt;strong&gt;Step 4&lt;/strong&gt;           &lt;br /&gt;Select Filter from the toolbar. Add Event Id and equals &lt;strong&gt;566&lt;/strong&gt;. Also add String 01 contains &lt;strong&gt;groupPolicyContainer&lt;/strong&gt;&amp;#160; &lt;br /&gt;&lt;strong&gt;           &lt;br /&gt;Note             &lt;br /&gt;&lt;/strong&gt;Event Id 566 will not be available if &lt;a title="http://technet.microsoft.com/en-us/library/cc728087(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc728087(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/cc728087(WS.10).aspx"&gt;Audit Directory Service Access&lt;/a&gt; is not enabled or a DC is not configured to forward this event to an ACS collector or ACS is configured to filter out this event.&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_38.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_18.png" width="630" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_18.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="154"&gt;&lt;strong&gt;Step 5&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘GPO’ field &amp;gt; Edit Formula &amp;gt; Enter the formula as indicated in the image&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_40.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_40.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_19.png" width="588" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_19.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="154"&gt;&lt;strong&gt;Step 6&lt;/strong&gt;           &lt;br /&gt;Right click inside the ‘GPO’ field &amp;gt; Edit Formula &amp;gt; Enter the formula as indicated in the image&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_42.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_20.png" width="586" height="484" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_20.png" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="154"&gt;&lt;strong&gt;Report example&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="650"&gt;&lt;a href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_46.png" mce_href="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_22.png" width="644" height="480" mce_src="http://blogs.technet.com/blogfiles/nzdse/WindowsLiveWriter/AuditScenariosSystemCenterOperationsMana_10C5F/image_thumb_22.png" /&gt;&lt;/a&gt;           &lt;br /&gt;Note: I added a text box with the &lt;a href="http://support.microsoft.com/kb/216359"&gt;KB URL to convert GPO GUID’s to GPO names&lt;/a&gt;.&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3291878" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/nzdse/archive/tags/SCOM/">SCOM</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/System+Center+Operations+Manager/">System Center Operations Manager</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/ACS/">ACS</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/OpsMgr/">OpsMgr</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/Audit/">Audit</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/Custom+Reports/">Custom Reports</category></item><item><title>Quick Tip: How to run an ACS Forwarder, Collector, RMS and DC on the same host</title><link>http://blogs.technet.com/b/nzdse/archive/2009/11/06/quick-tip-how-to-run-an-acs-forwarder-collector-rms-and-dc-on-the-same-host.aspx</link><pubDate>Thu, 05 Nov 2009 23:38:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3291848</guid><dc:creator>JVosloo</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3291848</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2009/11/06/quick-tip-how-to-run-an-acs-forwarder-collector-rms-and-dc-on-the-same-host.aspx#comments</comments><description>&lt;OL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Manually enable the ‘Operations Manager Audit Forwarding Service’ (AdtAgent.exe).&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;Regedit &amp;gt; [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AdtAgent\Parameters] &amp;gt; New &amp;gt; Multi-String Value &amp;gt; AdtServers &amp;gt; ‘CollectorFQDN’&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Note: Step 2&amp;nbsp;resolved Event ID 4369 (with a blank list of collectors) for me.&lt;/P&gt;
&lt;P&gt;Hopefully this configuration of roles will only ever be used in a lab environment!&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3291848" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/nzdse/archive/tags/SCOM/">SCOM</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/System+Center+Operations+Manager/">System Center Operations Manager</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/ACS/">ACS</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/OpsMgr/">OpsMgr</category></item><item><title>Script: Bulk approve WSUS updates from CSV input file</title><link>http://blogs.technet.com/b/nzdse/archive/2009/10/16/script-to-bulk-approve-wsus-updates-from-csv-input-file.aspx</link><pubDate>Thu, 15 Oct 2009 23:39:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3287199</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3287199</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2009/10/16/script-to-bulk-approve-wsus-updates-from-csv-input-file.aspx#comments</comments><description>&lt;P&gt;Hope this script will help someone out there!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# Script&lt;/P&gt;
&lt;P&gt;# Author: Johan Vosloo&lt;BR&gt;# Date: 16-10-2009&lt;BR&gt;# Purpose: Bulk approve updates by specifying the UpdateID, WSUS Group Name and a Computer Name&amp;nbsp;(any computer that is a member of the applicable group).&lt;BR&gt;# Disclaimer: This script is provided as-is without any support. Script was tested on WSUS 3.0 SP1 and using Powershell 1.0. Please test in a test environment before production use.&lt;BR&gt;# Credit: Adapted from &lt;A href="http://gallery.technet.microsoft.com/ScriptCenter/en-us/e3b33372-1e7f-41ea-ad83-ecc10ba5f0f6" mce_href="http://gallery.technet.microsoft.com/ScriptCenter/en-us/e3b33372-1e7f-41ea-ad83-ecc10ba5f0f6"&gt;http://gallery.technet.microsoft.com/ScriptCenter/en-us/e3b33372-1e7f-41ea-ad83-ecc10ba5f0f6&lt;/A&gt;&lt;BR&gt;# CSV Example:&lt;BR&gt;## updateID,grp,cName&lt;BR&gt;## 82aa7a7a-c2c3-47b4-ab32-cb35c0e41ffc,Group2,wsus.labrootad.local&lt;BR&gt;## 82aa7a7a-c2c3-47b4-ab32-cb35c0e41ffc,Group3,wsus.labrootad.local&lt;/P&gt;
&lt;P&gt;# Specify path to CSV and ensure CSV is similar to example.&lt;BR&gt;$path = "C:\Temp\Test.csv";&lt;/P&gt;
&lt;P&gt;[reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration") | out-null;&lt;BR&gt;$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer();&lt;BR&gt;Import-csv -path $path | foreach `&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $groupName = $_.grp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $computerName = $_.cName;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $UId = $_.updateID;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Use '$false' to return CSV-specified update information only. That is, updates will not be approved.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $approveUpdates = $true;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #$approveUpdates = $false;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $group = $null;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $computer = $wsus.GetComputerTargetByName($computerName);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $groups = $computer.GetComputerTargetGroups() | foreach `&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ($_.Name&amp;nbsp; -eq&amp;nbsp; $groupName) {$group = $_};&lt;BR&gt;&amp;nbsp;};&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($group -eq $null) {throw new-object System.Exception($computerName + " is not a member of group: " + $groupName)};&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Use UpdateScope to 'filter' the list that will be used to match the CSV-specified UpdateId.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $updateScope = new-object Microsoft.UpdateServices.Administration.UpdateScope;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #IncludedInstallationStates [eg. All/Downloaded/Failed/Installed/NotInstalled/InstalledPendingReboot/NotApplicable/Unknown] - &lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.updateservices.administration.updateinstallationstates(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/microsoft.updateservices.administration.updateinstallationstates(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.updateservices.administration.updateinstallationstates(VS.85).aspx&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $updateScope.IncludedInstallationStates = "All";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #ApprovedStates [eg. Any/Declined/HasStaleUpdateApprovals/LatestRevisionApproved/NotApproved] - &lt;A href="http://msdn.microsoft.com/en-us/library/bb313233(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb313233(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/bb313233(VS.85).aspx&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $updateScope.ApprovedStates = "Any";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $action = [Microsoft.UpdateServices.Administration.UpdateApprovalAction]::Install;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $updates = $computer.GetUpdateInstallationInfoPerUpdate($updateScope);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $updates | foreach `&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ($_.UpdateId -eq $UId)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $u = $wsus.GetUpdate($_.UpdateId);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Properties [Title/State/Etc] - &lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.updateservices.administration.iupdate_members(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/microsoft.updateservices.administration.iupdate_members(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.updateservices.administration.iupdate_members(VS.85).aspx&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host "Processing UpdateID: " $_.UpdateId;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ($approveUpdates) {$u.Approve($action,$group) | out-null}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {Write-host “Need to approve:" $u.Title};&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;BR&gt;};&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3287199" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/nzdse/archive/tags/WSUS/">WSUS</category><category domain="http://blogs.technet.com/b/nzdse/archive/tags/Powershell/">Powershell</category></item><item><title>How to determine Paged and Nonpaged pool limits</title><link>http://blogs.technet.com/b/nzdse/archive/2009/09/19/how-to-determine-paged-and-nonpaged-pool-limits.aspx</link><pubDate>Sat, 19 Sep 2009 02:04:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3282021</guid><dc:creator>JVosloo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/nzdse/rsscomments.aspx?WeblogPostID=3282021</wfw:commentRss><comments>http://blogs.technet.com/b/nzdse/archive/2009/09/19/how-to-determine-paged-and-nonpaged-pool-limits.aspx#comments</comments><description>&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;This is yet another article on how to determine Paged and Nonpaged pool limits. This method does not require internet access on the computer that we want to analyse.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;I recently had a customer that experienced pool exhaustion on a failover cluster and this method helped to understand the effects of various changes (e.g. /3GB, PAE, more/less RAM) on the pool limits.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: EN-US; mso-ansi-language: EN-NZ; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;Steps&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;FONT face=Calibri&gt;
&lt;OL style="MARGIN-TOP: 0cm" type=1&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Download &lt;/FONT&gt;&lt;A href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" mce_href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx"&gt;&lt;FONT color=#0000ff size=3&gt;Process Explorer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Create a folder e.g. &amp;lt;driveletter:&amp;gt;\symbols.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Download the applicable &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/whdc/DevTools/Debugging/symbolpkg.mspx" mce_href="http://www.microsoft.com/whdc/DevTools/Debugging/symbolpkg.mspx"&gt;&lt;FONT color=#0000ff size=3&gt;symbols&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; e.g. &lt;/FONT&gt;&lt;A href="http://msdl.microsoft.com/download/symbols/packages/windows2003/WindowsServer2003-KB933548-v1-x86-symbols-NRL-ENU.exe" mce_href="http://msdl.microsoft.com/download/symbols/packages/windows2003/WindowsServer2003-KB933548-v1-x86-symbols-NRL-ENU.exe"&gt;&lt;FONT color=#0000ff size=3&gt;Windows Server 2003 with Service Pack 2 x86 retail symbols, all languages&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Install the Symbols MSI or extract the files, depending on the installation source. &lt;BR&gt;(Can be done on a non-prod computer) &lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Copy the symbols to &amp;lt;driveletter:&amp;gt;\symbols.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Run ‘procexp’.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Select &lt;STRONG&gt;Options&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Configure Symbols&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Type &amp;lt;driveletter:&amp;gt;\symbols in Symbols Path.&lt;BR&gt;&lt;IMG src="http://blogs.technet.com/photos/nzdse/images/3282024/original.aspx" mce_src="http://blogs.technet.com/photos/nzdse/images/3282024/original.aspx"&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Select &lt;STRONG&gt;View&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;System Information&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI style="MARGIN: 0cm 0cm 10pt; mso-list: l0 level1 lfo1" class=MsoNormal&gt;&lt;FONT size=3&gt;Note the values for Paged, Paged Limit and Nonpaged, Nonpaged Limit.&lt;BR&gt;&lt;IMG src="http://blogs.technet.com/photos/nzdse/images/3282023/original.aspx" mce_src="http://blogs.technet.com/photos/nzdse/images/3282023/original.aspx"&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3282021" width="1" height="1"&gt;</description></item></channel></rss>