<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
	<channel>
	<title>operations manager</title>
	<link>http://www.systemcentercentral.com/Home/tabid/38/RSS/1/Default.aspx</link>
	<description />
	<language>en-us</language>
	<copyright>Copyright 2009 System Center Central All Rights Reserved.</copyright>
	<lastBuildDate>Tue, 10 Nov 2009 15:46:10 GMT</lastBuildDate>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/OperationsManager" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
			<title><![CDATA[Forums: Re: Bulk Maintenance mode script from CSV]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/A1RyylZvz3k/Default.aspx</link>
			<description>Hi Pete, only saw this now. Will update my profile etc - and yeah, message me please:)&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/A1RyylZvz3k" height="1" width="1"/&gt;</description>
			<pubDate>Tue, 10 Nov 2009 14:12:25 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/indexId/50502/tag/Forums+Operations_Manager/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/indexId/50502/tag/Forums+Operations_Manager/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: SCOM/SCCM Coexist?]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/DUqUtFb-zNU/Default.aspx</link>
			<description>&lt;p&gt;I'm looking for info regarding whether SCOM R2 and SCCM R2 can coexist on the same server and SQL instance. Has anyone tried or come across any official statement regarding installing both products on the same hardware? Specifically my environment is a dedicated SQL server, 2005 SP2 and a second server running the SCOM application components. My plan would to be load SCCM app components on the same app server and install the database in the same SQL instance if possible.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/DUqUtFb-zNU" height="1" width="1"/&gt;</description>
			<pubDate>Tue, 10 Nov 2009 13:54:17 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50496/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50496/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Blog: OpsMgr: Most Common Alerts Report (rule and monitor generated) with Powershell FINALLY]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/T2qxTXkmT_w/Default.aspx</link>
			<description>&lt;p&gt;Recently in a forum thread, we had another discussion on the now age old problem: &lt;em&gt;Creating an OpsMgr Top Alerts Reports based on repeat count tell you which rules are noisy is easy, &lt;strong&gt;but what about the top monitor-generated alerts?&lt;/strong&gt; &lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;In the past, we would use T-SQL to get this, as shown here&lt;/em&gt;&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;SELECT&lt;/span&gt;  [AlertName], [Severity] ,[RaisedDateTime] ,[SiteName] ,[RepeatCount] ,[DBCreatedDateTime] 
&lt;span class="kwrd"&gt;FROM&lt;/span&gt; [OperationsManagerDW].[Alert].[vAlert]
&lt;span class="kwrd"&gt;WHERE&lt;/span&gt; ( RaisedDateTime &lt;span class="kwrd"&gt;BETWEEN&lt;/span&gt; DATEADD(HH, DATEDIFF(HH, GETDATE(), getutcdate()), @startdate) &lt;span class="kwrd"&gt;AND&lt;/span&gt; DATEADD(HH, DATEDIFF(HH, GETDATE(), getutcdate()), @en&lt;/pre&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;em&gt;I was pleased to see that &lt;/em&gt;&lt;a href="/blogs/tenchuu" target="_blank"&gt;&lt;em&gt;Tenchuu (Andreas Z)&lt;/em&gt;&lt;/a&gt;&lt;em&gt; has yet again brought a new answer to an old problem with his &lt;strong&gt;Top Alerts Reports, Powershell Edition&lt;/strong&gt;. &lt;strong&gt;&lt;font color="#0000ff"&gt;Great work Tenchuu!&lt;/font&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;strong&gt;&lt;font size="5"&gt;Top Alerts Report, Powershell Edition&lt;/font&gt;&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Instructions for Use: Save in notepad with a .ps1 extension and run from OpsMgr Command Shell Prompt&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="rem"&gt;#Create Datatable&lt;/span&gt;

$AlertTable = New-Object System.Data.DataTable &lt;span class="str"&gt;"AlertTable"&lt;/span&gt;

$AlertTable.Columns.Add((New-Object System.Data.DataColumn ID,([string])))

$AlertTable.Columns.Add((New-Object System.Data.DataColumn Name,([string])))

$AlertTable.Columns.Add((New-Object System.Data.DataColumn AlertCount,([int])))

$AlertTable.Columns.Add((New-Object System.Data.DataColumn IsMonitorAlert,([string])))

&lt;span class="kwrd"&gt;foreach&lt;/span&gt; ($Alert &lt;span class="kwrd"&gt;in&lt;/span&gt; (Get-Alert))

{    

    &lt;span class="rem"&gt;#Check if Alert exists already.&lt;/span&gt;

    $AlertExists = $false  

    &lt;span class="kwrd"&gt;foreach&lt;/span&gt; ($Row &lt;span class="kwrd"&gt;in&lt;/span&gt; $AlertTable.Rows)

    {

        &lt;span class="kwrd"&gt;if&lt;/span&gt; ($Row.ID &lt;span class="preproc"&gt;-eq&lt;/span&gt; $Alert.MonitoringRuleId.ToString())

        {    

            $AlertExists = $true

            &lt;span class="rem"&gt;#In case it does, we just merge the Repeatcount&lt;/span&gt;

            $Row.AlertCount = $Row.AlertCount + ($Alert.RepeatCount + 1)    

        }

    } 

    &lt;span class="kwrd"&gt;if&lt;/span&gt; ($AlertExists)

    {

    }

    &lt;span class="kwrd"&gt;else&lt;/span&gt;

    {

        &lt;span class="rem"&gt;#If the Alert doesn't exist, we add it to the DataTable.&lt;/span&gt;

        $NewRow = $AlertTable.NewRow()

        $NewRow.ID = $Alert.MonitoringRuleId.ToString()

        $NewRow.Name = $Alert.Name

        $NewRow.AlertCount = ($Alert.RepeatCount + 1)

        $NewRow.IsMonitorAlert = $Alert.IsMonitorAlert

        $AlertTable.Rows.Add($NewRow)

    }

}

$AlertTable = ($AlertTable | sort AlertCount -Descending)

$AlertTable | format-table -AutoSize | select-object -first 10&lt;/pre&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;p&gt;sdfsdf&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/systemcentercentral/blogs"&gt;RSS&lt;/a&gt; | &lt;a href="http://twitter.com/sysctrcentral"&gt;TWITTER&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/T2qxTXkmT_w" height="1" width="1"/&gt;</description>
			<pubDate>Tue, 10 Nov 2009 14:50:20 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50372/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50372/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: Re: Problem Installing Operations Manager 2007 Reporting]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/29hUpTIwKlk/Default.aspx</link>
			<description>Hi There, &lt;br&gt;&lt;br&gt;I have the same symptom when installing SCOM reporting services, the installation will run through quite happily until about 3/4's of the way through (while'st "Removing backup files") and then presume to rollback the installation after which I am presented with a Log file stating to look for "Value 3". It does not mention SSL/HTTPS in my log file however (or any logical reason why the install failed for that matter), so I don't think my issue is related to ssl, I'd appreciate some input though...  Our setup is SQL 2005SP3 on Win2008 (x64) with SQL reporting services, the SCOM SDK (2007 R2) is on a different server, all patched to the latest and greatest. &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;SCOM reporting was on this server (but non-functional) so I uninstalled it and now I am unable to reinstall it, SQL reporing services seems to be fine and I can browse to the Reports web page without issues. I performed a ResetSRS.exe and checked SQL reporting services before installing. If someone can tell me how to upload the log I will do so.... &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Any help would be appreciated, &lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;RV&lt;br&gt;&lt;br&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/29hUpTIwKlk" height="1" width="1"/&gt;</description>
			<pubDate>Tue, 10 Nov 2009 04:28:32 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/indexId/50303/tag/Forums+Operations_Manager/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/indexId/50303/tag/Forums+Operations_Manager/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Blog: ReSearch This! KB - Replication has been aborted]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/AjcZZZFULZY/Default.aspx</link>
			<description>&lt;p&gt;&lt;b&gt;Alert: &lt;/b&gt;Replication has been aborted&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Issue: &lt;/b&gt;A schema change was made but it was unable to replicate out successfully throughout the environment.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Resolution: &lt;/b&gt;Determined that one domain controller was running at 100% processor usage. Stopped the application causing the issue, and re-ran the schema change. Used this article: &lt;a href="http://support.microsoft.com/kb/556086/en-us?spid=3198"&gt;http://support.microsoft.com/kb/556086/en-us?spid=3198&lt;/a&gt; for details on how to determine the current schema version throughout the environment.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Submitted By: &lt;/b&gt;Cameron Fuller (MVP)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/AjcZZZFULZY" height="1" width="1"/&gt;</description>
			<pubDate>Tue, 10 Nov 2009 01:17:02 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50296/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50296/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Blog: ReSearch This! KB - Two replication partners have an inconsistent view of the FSMO role holders]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/Pbso0YlUVNo/Default.aspx</link>
			<description>&lt;p&gt;&lt;b&gt;Alert:&lt;/b&gt; Two replication partners have an inconsistent view of the FSMO role holders&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Issue: &lt;/b&gt;The Schema master was moved from one server to another server in the environment. These alerts occurred as the change was replicated throughout the environment.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Resolution:&lt;/b&gt; Closed the alerts as this move was planned and the alerts stopped occurring after a couple of hours.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Submitted By: &lt;/b&gt;Cameron Fuller (MVP)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/Pbso0YlUVNo" height="1" width="1"/&gt;</description>
			<pubDate>Tue, 10 Nov 2009 01:15:32 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50295/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50295/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Blog: ReSearch This! KB - RPC latency is above the threshold]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/MBzAfvunfqE/Default.aspx</link>
			<description>&lt;p&gt;&lt;b&gt;Alert: &lt;/b&gt;RPC latency is above the threshold&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Issue: &lt;/b&gt;One Exchange server in the environment was reporting this frequently and automatically closing itself as part of the IS RPC Latency Monitor alert monitor. Per the product knowledge these commonly occur due to issues communicating with the Active Directory service or due to disk bottlenecks. This specific server is experiencing high disk queue lengths on the C drive and both storage group drives.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Resolution: &lt;/b&gt;For this server we could not upgrade it and it is scheduled for replacement with new mailbox servers. As a result we configured an override for this object of class: Exchange IS Service and set the new threshold to 100 from the default value of 50 to minimize the number of alerts on this issue on this server. This override value will vary depending upon what the actual daily average is for this particular server which can be determined by right-clicking on the alert, opening the performance view and seeing the RPC Averaged Latency counter over a period of time.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Submitted By: &lt;/b&gt;Cameron Fuller (MVP)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/MBzAfvunfqE" height="1" width="1"/&gt;</description>
			<pubDate>Tue, 10 Nov 2009 01:12:16 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50294/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50294/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: RE: Clustered OPDB with replication or log shipping]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/VsXm6OOKJ84/Default.aspx</link>
			<description>&lt;p&gt; If by "fishy", you mean incorrect, then yes. On the MS site, it says this:&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; "&gt;Typically, when mirroring is used with clustering, the principal server and mirror server both reside on clusters, with the principal server running on the failover clustered instance of one cluster and the mirror server running on the failover clustered instance of a different cluster. &lt;/span&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; "&gt;You &lt;strong&gt;can&lt;/strong&gt; establish a mirroring session in which one partner resides on the failover clustered instance of a cluster and the other partner resides on a separate, unclustered computer, however.&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ms191309.aspx"&gt;http://technet.microsoft.com/en-us/library/ms191309.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/VsXm6OOKJ84" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 22:51:47 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50289/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50289/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: RE: Warnings when doing a failover on RMS cluster]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/w2uEfx3UY4w/Default.aspx</link>
			<description>&lt;p&gt;Your error appears on the OpsMgr 2007 Support Team Blog.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/operationsmgr/archive/2009/08/27/opsmgr-2007-event-id-29106-failed-to-connect-to-an-ipc-port-access-is-denied.aspx"&gt;http://blogs.technet.com/operationsmgr/archive/2009/08/27/opsmgr-2007-event-id-29106-failed-to-connect-to-an-ipc-port-access-is-denied.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This posts says:&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; "&gt;
&lt;h5&gt;Cause&lt;/h5&gt;
&lt;p&gt;This can occur if the OpsMgr SDK Service and the OpsMgr Config Service are running under different credentials.&lt;/p&gt;
&lt;h5&gt;Resolution&lt;/h5&gt;
&lt;p&gt;Make Sure the OpsMgr SDK Service and OpsMgr Config Service are configured to run using the same credentials.&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/w2uEfx3UY4w" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 22:44:10 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50288/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50288/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: RE: Substitution Variable options when formatting a notification message]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/fE3pfwL-TqQ/Default.aspx</link>
			<description>&lt;p&gt;Thank you Pete.  This is very helpful.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/fE3pfwL-TqQ" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 22:06:29 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50279/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50279/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: RE: Substitution Variable options when formatting a notification message]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/ixZZPXMQKU0/Default.aspx</link>
			<description>&lt;p&gt;There is the XML Cheat Sheet for OpsMgr that will give you some options.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.systemcentercentral.com/Portals/0/TabID/147/IndexID/7369/Default.aspx"&gt;http://www.systemcentercentral.com/Portals/0/TabID/147/IndexID/7369/Default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And  similar options from Kevin Holman.&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 14px; "&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;For event Rules:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;EventDisplayNumber (Event ID):             $Data/EventDisplayNumber$ &lt;br /&gt;
EventDescription (Description):               $Data/EventDescription$ &lt;br /&gt;
Publisher Name (Event Source):              $Data/PublisherName$ &lt;br /&gt;
EventCategory:                                    $Data/EventCategory$ &lt;br /&gt;
LoggingComputer:                                $Data/LoggingComputer$ &lt;br /&gt;
EventLevel:                                          $Data/EventLevel$ &lt;br /&gt;
Channel:                                              $Data/Channel$ &lt;br /&gt;
UserName:                                           $Data/UserName$ &lt;br /&gt;
EventNumber:                                      $Data/EventNumber$&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt; &lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;For event Monitors:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;EventDisplayNumber (Event ID):            $Data/Context/EventDisplayNumber$ &lt;br /&gt;
EventDescription (Description):              $Data/Context/EventDescription$ &lt;br /&gt;
Publisher Name (Event Source):             $Data/Context/PublisherName$ &lt;br /&gt;
EventCategory:                                    $Data/Context/EventCategory$ &lt;br /&gt;
LoggingComputer:                                $Data/Context/LoggingComputer$ &lt;br /&gt;
EventLevel:                                         $Data/Context/EventLevel$ &lt;br /&gt;
Channel:                                             $Data/Context/Channel$ &lt;br /&gt;
UserName:                                          $Data/Context/UserName$ &lt;br /&gt;
EventNumber:                                     $Data/Context/EventNumber$&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt; &lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;For Repeating Event Monitors:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;EventDisplayNumber (Event ID):              $Data/Context/Context/DataItem/EventDisplayNumber$ &lt;br /&gt;
EventDescription (Description):                $Data/Context/Context/DataItem/EventDescription$ &lt;br /&gt;
Publisher Name (Event Source):              $Data/Context/Context/DataItem/PublisherName$ &lt;br /&gt;
EventCategory:                                      $Data/Context/Context/DataItem/EventCategory$ &lt;br /&gt;
LoggingComputer:                                  $Data/Context/Context/DataItem/LoggingComputer$ &lt;br /&gt;
EventLevel:                                            $Data/Context/Context/DataItem/EventLevel$ &lt;br /&gt;
Channel:                                                $Data/Context/Context/DataItem/Channel$ &lt;br /&gt;
UserName:                                             $Data/Context/Context/DataItem/UserName$ &lt;br /&gt;
EventNumber:                                         $Data/Context/Context/DataItem/EventNumber$&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;  &lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;Performance Threshold Monitors:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;Object (Perf Object Name):                    $Data/Context/ObjectName$ &lt;br /&gt;
Counter (Perf Counter Name):                $Data/Context/CounterName$ &lt;br /&gt;
Instance (Perf Instance Name):              $Data/Context/InstanceName$ &lt;br /&gt;
Value (Perf Counter Value):                   $Data/Context/Value$&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt; &lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;Service Monitors:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;Service Name                         $Data/Context/Property[@Name='Name']$ &lt;br /&gt;
Service Dependencies             $Data/Context/Property[@Name='Dependencies']$ &lt;br /&gt;
Service Binary Path                $Data/Context/Property[@Name='BinaryPathName']$ &lt;br /&gt;
Service Display Name             $Data/Context/Property[@Name='DisplayName']$ &lt;br /&gt;
Service Description                 $Data/Context/Property[@Name='Description']$&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt; &lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;Logfile Monitors:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;Logfile Directory :                  $Data/Context/LogFileDirectory$ &lt;br /&gt;
Logfile name:                        $Data/Context/LogFileName$ &lt;br /&gt;
String:                                  $Data/Context/Params/Param[1]$&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt; &lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;Logfile rules:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;Logfile Directory:                   $Data/EventData/DataItem/LogFileDirectory$ &lt;br /&gt;
Logfile name:                        $Data/EventData/DataItem/LogFileName$ &lt;br /&gt;
String:                                  $Data/EventData/DataItem/Params/Param[1]$&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt; &lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;strong&gt;Notifications:&lt;/strong&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;$Data/Context/DataItem/AlertId$                                       The AlertID GUID &lt;br /&gt;
$Data/Context/DataItem/AlertName$                                   The Alert Name &lt;br /&gt;
$Data/Context/DataItem/Category$                                    The Alert category &lt;br /&gt;
$Data/Context/DataItem/CreatedByMonitor$                       True/False &lt;br /&gt;
$Data/Context/DataItem/Custom1$                                     CustomField1 &lt;br /&gt;
$Data/Context/DataItem/Custom2$                                    CustomField2 &lt;br /&gt;
$Data/Context/DataItem/Custom3$                                    CustomField3 &lt;br /&gt;
$Data/Context/DataItem/Custom4$                                    CustomField4 &lt;br /&gt;
$Data/Context/DataItem/Custom5$                                    CustomField5 &lt;br /&gt;
$Data/Context/DataItem/Custom6$                                     CustomField6 &lt;br /&gt;
$Data/Context/DataItem/Custom7$                                     CustomField7 &lt;br /&gt;
$Data/Context/DataItem/Custom8$                                     CustomField8 &lt;br /&gt;
$Data/Context/DataItem/Custom9$                                     CustomField9 &lt;br /&gt;
$Data/Context/DataItem/Custom10$                                  CustomField10 &lt;br /&gt;
$Data/Context/DataItem/DataItemCreateTime$                      UTC Date/Time of Dataitem created &lt;br /&gt;
$Data/Context/DataItem/DataItemCreateTimeLocal$               LocalTime Date/Time of Dataitem created &lt;br /&gt;
$Data/Context/DataItem/LastModified$                                 UTC Date/Time DataItem was modified &lt;br /&gt;
$Data/Context/DataItem/LastModifiedLocal$                          Local Date/Time DataItem was modified &lt;br /&gt;
$Data/Context/DataItem/ManagedEntity$                               ManagedEntity GUID &lt;br /&gt;
$Data/Context/DataItem/ManagedEntityDisplayName$             ManagedEntity Display name &lt;br /&gt;
$Data/Context/DataItem/ManagedEntityFullName$                   ManagedEntity Full name &lt;br /&gt;
$Data/Context/DataItem/ManagedEntityPath$                          Managed Entity Path &lt;br /&gt;
$Data/Context/DataItem/Priority$                                          The Alert Priority Number (High=1,Medium=2,Low=3) &lt;br /&gt;
$Data/Context/DataItem/Owner$                                           The Alert Owner &lt;br /&gt;
$Data/Context/DataItem/RepeatCount$                                  The Alert Repeat Count &lt;br /&gt;
$Data/Context/DataItem/ResolutionState$                               Resolution state ID (0=New, 255= Closed) &lt;br /&gt;
$Data/Context/DataItem/ResolutionStateLastModified$                 UTC Date/Time ResolutionState was last modified &lt;br /&gt;
$Data/Context/DataItem/ResolutionStateLastModifiedLocal$          Local Date/Time ResolutionState was last modified &lt;br /&gt;
$Data/Context/DataItem/ResolutionStateName$                       The Resolution State Name (New, Closed) &lt;br /&gt;
$Data/Context/DataItem/ResolvedBy$                                     Person resolving the alert &lt;br /&gt;
$Data/Context/DataItem/Severity$                                          The Alert Severity ID &lt;br /&gt;
$Data/Context/DataItem/TicketId$                                           The TicketID &lt;br /&gt;
$Data/Context/DataItem/TimeAdded$                                       UTC Time Added &lt;br /&gt;
$Data/Context/DataItem/TimeAddedLocal$                               Local Time Added &lt;br /&gt;
$Data/Context/DataItem/TimeRaised$                                      UTC Time Raised &lt;br /&gt;
$Data/Context/DataItem/TimeRaisedLocal$                              Local Time Raised &lt;br /&gt;
$Data/Context/DataItem/TimeResolved$                                  UTC Date/Time the Alert was resolved &lt;br /&gt;
$Data/Context/DataItem/WorkflowId$                                      The Workflow ID (GUID) &lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: rgb(51, 51, 51); line-height: 14px; "&gt;$Data/Recipients/To/Address/Address$                                    The name of the recipient&lt;/span&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/ixZZPXMQKU0" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 21:36:33 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50275/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50275/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: RE: SCOM 2007 r2 Management pack for DB2 on AIX?]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/ZPNugFyn2wQ/Default.aspx</link>
			<description>&lt;p&gt; There are two IBM DB2 management packs I am aware of. Both work with R2, but neither leverages the X-Plat agent.&lt;/p&gt;
&lt;p&gt;One from Quest&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.management-extensions.org/entry.jspa?externalID=100039&amp;categoryID=237"&gt;http://www.management-extensions.org/entry.jspa?externalID=100039&amp;categoryID=237&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One from Nice&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.nice.de/en/nice-products/nice-db2-management-pack-for-microsoft-scom"&gt;http://www.nice.de/en/nice-products/nice-db2-management-pack-for-microsoft-scom&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/ZPNugFyn2wQ" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 21:25:53 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50265/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50265/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: Substitution Variable options when formatting a notification message]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/y7fRgFgr04M/Default.aspx</link>
			<description>&lt;p&gt;In Operations Console | Administration | Notifications | Channels | Format - there is what appears to be fixed choices of variables I can use within a notification message.  Are these only popular choices and there are more avaible?  One option I need is $Data/Context/DataItem/ManagedEntityDisplayName$, which is the monitored device FQDN.  I need just the device name w/o the domain portion to keep my message short.  How do I accomplish this?  Thanks!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/y7fRgFgr04M" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 21:11:40 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50264/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50264/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: SCOM 2007 r2 Management pack for DB2 on AIX?]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/TxwrtuV1p2M/Default.aspx</link>
			<description>&lt;p&gt;Does anyone know of a SCOM 2007 MP for DB2 on AIX?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/TxwrtuV1p2M" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 20:14:31 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50252/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50252/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: Re: PowerShell and Ops Mgr 2007]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/lY4_EkF0Ns0/Default.aspx</link>
			<description>That worked flawlessly! Thank you!  Here is the finished porduct:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;get-mailboxstatistics | Where {$_.TotalItemSize -gt 475MB} | select-object DisplayName,@{name= "Size";expression={$_.TotalItemSize.Value.ToMB()}}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[string]$FailBoxes = @()&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;$Threshold = 475&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;foreach ($MB in (get-mailboxstatistics))&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;{&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[int]$MBSize = $MB.TotalItemSize.Value.ToMB()&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;if ($MBSize -ge $Threshold)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;{&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;$FailBoxes +=$MB.Displayname ,$MB.TotalItemSize.Value.ToMB()+"MB"&lt;br&gt;&lt;br&gt;$FailBoxes +="`n"&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;$evt=new-object System.Diagnostics.EventLog("Application")&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;$evt.Source="Exchange Mailbox Size"&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;$infoevent=[System.Diagnostics.EventLogEntryType]::Information&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;$evt.WriteEntry("`n `nThe Following Mailboxes Have Crossed The Warning Size Threshold (475MB):`n `n$Failboxes",$infoevent,55501)&lt;br&gt;&lt;br&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/lY4_EkF0Ns0" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 16:44:30 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/indexId/50190/tag/Forums+Operations_Manager/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/indexId/50190/tag/Forums+Operations_Manager/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: Re: Grey State will not resolve]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/tlVqc4RRjgw/Default.aspx</link>
			<description>According to the information provided, for SCOM it's just a new Domain Controller.&lt;br&gt;&lt;br&gt;Please check out the Operations Manager Event Log on that machine for any Errors, also - does SCOM have the appropriate rights on the machine? Just wondering if you have some GPO that's not active yet on the new machine.&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/tlVqc4RRjgw" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 16:16:06 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/indexId/50171/tag/Forums+Operations_Manager/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/indexId/50171/tag/Forums+Operations_Manager/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: Grey State will not resolve]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/jlrUxPx0Dnc/Default.aspx</link>
			<description>&lt;p&gt;I have a key Domain Controller that was recently replaced because the old one failed. The new one has a different name but has taken to role of the old one. I installed the SCOM agent several times but it only stays active for an hour, then goes into a grey state. It unloads the health service and goes grey. Restarting the health service only helps for a short time. Its physically close to the Management Server so its not a connectivity issue.&lt;/p&gt;
&lt;p&gt;What could cause this? How do I resolve it?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Gary&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/jlrUxPx0Dnc" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 16:08:12 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/IndexId/50170/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/IndexId/50170/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Blog: AWESOME SCOM Series: How to create a Two-State PowerShell Script Monitor using the Authoring Console]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/cA0UoY3Zh-c/Default.aspx</link>
			<description>&lt;p&gt;&lt;a target="_blank" href="/Community/tabid/119/controlType/ViewProfile/UserID/376/Default.aspx"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="89" alt="image" width="74" align="left" border="0" src="http://www.systemcentercentral.com/portals/0/VenexusIndexItem/Index50169/WLW-AWESOMESCOMSeriesHowtocreateaTwoStatePow_8CA1-image_3.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Stefan has finished up a brilliant series on the new native Powershell modules in OpsMgr 2007 R2. In addition to the step-by-step series,  he has included a sample management pack with the finished product to help you along in learning how to leverage the new functionality.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;font size="3"&gt;Great work Stefan!&lt;/font&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="5"&gt;Installments in the Series &lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 1)&lt;br /&gt;
&lt;a href="/BlogDetails/tabid/143/IndexID/44971/Default.aspx"&gt;http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/44971/Default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 2)&lt;br /&gt;
&lt;a href="/BlogDetails/tabid/143/IndexID/46908/Default.aspx"&gt;http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/46908/Default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 3)&lt;br /&gt;
&lt;a href="/BlogDetails/tabid/143/IndexID/48469/Default.aspx"&gt;http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/48469/Default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 4)&lt;br /&gt;
&lt;a href="/BlogDetails/tabid/143/IndexID/50085/Default.aspx"&gt;http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/50085/Default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="5"&gt;Sample MP Download&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can download the sample MP at &lt;a href="/tabid/144/IndexId/50087/Default.aspx"&gt;http://www.systemcentercentral.com/tabid/144/IndexId/50087/Default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/systemcentercentral/blogs" target="_blank"&gt;&lt;font color="#0000ff" size="3"&gt;RSS&lt;/font&gt;&lt;/a&gt;&lt;font color="#0000ff" size="3"&gt; | &lt;/font&gt;&lt;a href="http://twitter.com/sysctrcentral" target="_blank"&gt;&lt;font color="#0000ff" size="3"&gt;TWITTER&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/cA0UoY3Zh-c" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 22:25:25 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50169/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50169/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Forums: Re: Script or Executable Failed to start - Problem with Agent running Cscript ]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/bu9ppfIBfb4/Default.aspx</link>
			<description>I restarted the WMI service, but I wonder if the problem could be related to the very low bandwidth on that segment of the WAN. Logging in to that server via Terminal Services took almost 2 minutes versus 5 seconds on a normal system. If SCOM were attempting to run a script and its connection to the Management server was very slow, would that time-out the script and cause it to fail?&lt;br&gt;&lt;br&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/bu9ppfIBfb4" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 16:03:26 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/tabid/177/indexId/50168/tag/Forums+Operations_Manager/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/tabid/177/indexId/50168/tag/Forums+Operations_Manager/Default.aspx</feedburner:origLink></item>
		<item>
			<title><![CDATA[Blog: OpsMgr: New and Improved Two-State Monitor Script to Identify SQL Databases Never Backed Up]]></title>
			<link>http://feedproxy.google.com/~r/OperationsManager/~3/k3LYbIJP1FA/Default.aspx</link>
			<description>&lt;p&gt;&lt;a href="/Community/tabid/119/controlType/ViewProfile407/userID/1819/Default.aspx" target="_blank"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; margin: 0px 5px 5px 0px; border-left: 0px; border-bottom: 0px" height="87" alt="image" src="http://www.systemcentercentral.com/portals/0/VenexusIndexItem/Index50132/WLW-OpsMgrNewandImprovedScripttoIdentifySQLD_14741-image_3.png" width="79" align="left" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;While the code is listed here, you can download a copy of the script on the original discussion &lt;a href="/Forums/ForumPost/tabid/177/view/download/indexid/49395/Default.aspx" target="_blank"&gt;HERE&lt;/a&gt;. Bob's discovery of the root issue is definitely worth reading if have clustered SQL instances in your environment. Check out his account of the problem and solution &lt;a href="/Forums/tabid/60/categoryid/4/indexid/46911/Default.aspx" target="_blank"&gt;HERE&lt;/a&gt;.  &lt;strong&gt;&lt;font size="3"&gt;&lt;em&gt;Great work again Bob! &lt;/em&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;font size="3"&gt;Complete Script &lt;/font&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt; &lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;' ---------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;' SQL Full or Diff Backup check for OpsMgr 2007 2-state monitor&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;' ---------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;' Param 0: The SQL connection string for the server &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;' Param 1: The Database to use&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;' Param 2: The threshold (in hours) to use&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;' Author:  David Scheltens&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="rem"&gt;' Date:    02-02-2009&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;span class="rem"&gt;' ---------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;Option&lt;/span&gt; Explicit&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;Sub&lt;/span&gt; Main()&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;Dim&lt;/span&gt; oAPI, strServer, strDatabase, iThresholdHours, objBag, strErrDescription, objArgs, I, Param, strReason, strHours, strStatus&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;Const&lt;/span&gt; EVENT_TYPE_ERROR = 1&lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;Const&lt;/span&gt; EVENT_TYPE_WARNING = 2&lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;Const&lt;/span&gt; EVENT_TYPE_INFORMATION = 4&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;      &lt;span class="rem"&gt;' Initialize SCOM Script object&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;Set&lt;/span&gt; oAPI = CreateObject(&lt;span class="str"&gt;"MOM.ScriptAPI"&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;      &lt;span class="rem"&gt;' Write Parameters to eventlog&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;      &lt;span class="rem"&gt;' Enable for debugging.&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;      &lt;span class="kwrd"&gt;Set&lt;/span&gt; objArgs = Wscript.Arguments&lt;/pre&gt;&lt;pre&gt;      &lt;span class="kwrd"&gt;For&lt;/span&gt; I = 0 &lt;span class="kwrd"&gt;to&lt;/span&gt; objArgs.Count -1&lt;/pre&gt;&lt;pre class="alt"&gt;          Param = objArgs(I)&lt;/pre&gt;&lt;pre&gt;           &lt;span class="rem"&gt;'strErrDescription = strErrDescription &amp; ", " &amp; Param&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;      &lt;span class="kwrd"&gt;Next&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;          &lt;span class="rem"&gt;'call oAPI.LogScriptEvent("SQL Full or Diff Backup Check.vbs", 1313, EVENT_TYPE_INFORMATION, strErrDescription)    &lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;If&lt;/span&gt; WScript.Arguments.Count = 3 &lt;span class="kwrd"&gt;then&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;        &lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="rem"&gt;' Retrieve parameters&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;        strServer = &lt;span class="kwrd"&gt;CStr&lt;/span&gt;(WScript.Arguments(0))&lt;/pre&gt;&lt;pre class="alt"&gt;        strDatabase = &lt;span class="kwrd"&gt;CStr&lt;/span&gt;(WScript.Arguments(1))&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;If&lt;/span&gt; LCase(strDatabase) = &lt;span class="str"&gt;"tempdb"&lt;/span&gt; &lt;span class="kwrd"&gt;Then&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            &lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;Set&lt;/span&gt; objBag = oAPI.CreateTypedPropertyBag(2)&lt;/pre&gt;&lt;pre&gt;            &lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="rem"&gt;' tempdb is always ok&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"BackupType"&lt;/span&gt;, &lt;span class="str"&gt;"Full or differential backup"&lt;/span&gt;)&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"NumHours"&lt;/span&gt;, &lt;span class="str"&gt;"0"&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt;            &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Reason"&lt;/span&gt;, &lt;span class="str"&gt;"Database tempdb is skipped."&lt;/span&gt;)&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Status"&lt;/span&gt;,&lt;span class="str"&gt;"OK"&lt;/span&gt;)            &lt;/pre&gt;&lt;pre&gt;            strHours = &lt;span class="str"&gt;"0"&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            strStatus = &lt;span class="str"&gt;"OK"&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            strReason = &lt;span class="str"&gt;"Database tempdb is skipped."&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;/pre&gt;&lt;pre&gt;            oAPI.AddItem(objBag)        &lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;        &lt;span class="kwrd"&gt;Else&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;            iThresholdHours = 0&lt;/pre&gt;&lt;pre class="alt"&gt;            iThresholdHours = &lt;span class="kwrd"&gt;CInt&lt;/span&gt;(WScript.Arguments(2))&lt;/pre&gt;&lt;pre&gt;            &lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="rem"&gt;'Connect to the database&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cnADOConnection &lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;Set&lt;/span&gt; cnADOConnection = CreateObject(&lt;span class="str"&gt;"ADODB.Connection"&lt;/span&gt;) &lt;/pre&gt;&lt;pre&gt;            cnADOConnection.Provider = &lt;span class="str"&gt;"sqloledb"&lt;/span&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;            cnADOConnection.ConnectionTimeout = 60&lt;/pre&gt;&lt;pre&gt;            &lt;span class="kwrd"&gt;Dim&lt;/span&gt; ConnString&lt;/pre&gt;&lt;pre class="alt"&gt;            ConnString = &lt;span class="str"&gt;"Server="&lt;/span&gt; &amp; strServer &amp; &lt;span class="str"&gt;";Database=master;Integrated Security=SSPI"&lt;/span&gt; &lt;/pre&gt;&lt;pre&gt;            cnADOConnection.Open ConnString&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;/pre&gt;&lt;pre&gt;            &lt;span class="rem"&gt;'Connection established, now run the code&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;Dim&lt;/span&gt; oResults &lt;/pre&gt;&lt;pre&gt;            &lt;span class="kwrd"&gt;Set&lt;/span&gt; oResults = cnADOConnection.Execute( _ &lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="str"&gt;"SELECT TOP 1 "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre&gt;                    &lt;span class="str"&gt;"MAX([bs].[backup_start_date]) AS [lasttime], "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="str"&gt;"DATEDIFF(hour, MAX([bs].[backup_start_date]), GETDATE()) AS [numhours] "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre&gt;                &lt;span class="str"&gt;"FROM "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="str"&gt;"[master].[dbo].[sysdatabases] AS [sd] WITH (NOLOCK) "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre&gt;                &lt;span class="str"&gt;"LEFT JOIN "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="str"&gt;"[msdb].[dbo].[backupset] AS [bs] WITH (NOLOCK) ON ([bs].[database_name] COLLATE SQL_Latin1_General_CP1_CI_AS  = [sd].[name]) "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre&gt;                &lt;span class="str"&gt;"WHERE "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="str"&gt;"[sd].[name] COLLATE SQL_Latin1_General_CP1_CI_AS = '"&lt;/span&gt; &amp; strDatabase &amp; &lt;span class="str"&gt;"' "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre&gt;                    &lt;span class="str"&gt;"AND "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="str"&gt;"[bs].[type] IN ('D', 'I') "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre&gt;                &lt;span class="str"&gt;"GROUP BY "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="str"&gt;"[bs].[type] "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre&gt;                &lt;span class="str"&gt;"ORDER BY "&lt;/span&gt; &amp; _&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="str"&gt;"1 DESC;"&lt;/span&gt; _&lt;/pre&gt;&lt;pre&gt;                )&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;            &lt;span class="rem"&gt;' should be just one record&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="rem"&gt;' oResults.MoveFirst&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;Set&lt;/span&gt; objBag = oAPI.CreateTypedPropertyBag(2)&lt;/pre&gt;&lt;pre&gt;            &lt;span class="kwrd"&gt;If&lt;/span&gt; oResults.EOF &lt;span class="kwrd"&gt;Then&lt;/span&gt;    &lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="rem"&gt;' a backup is never made!&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"BackupType"&lt;/span&gt;, &lt;span class="str"&gt;"Full or differential backup"&lt;/span&gt;)&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"NumHours"&lt;/span&gt;, &lt;span class="str"&gt;"9999"&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt;                &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Reason"&lt;/span&gt;, &lt;span class="str"&gt;"A full backup for database "&lt;/span&gt; &amp; strDatabase &amp; &lt;span class="str"&gt;" is never be made!"&lt;/span&gt;)&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Status"&lt;/span&gt;,&lt;span class="str"&gt;"Bad"&lt;/span&gt;)            &lt;/pre&gt;&lt;pre&gt;                strStatus = &lt;span class="str"&gt;"Bad"&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                strHours = &lt;span class="str"&gt;"9999"&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                strReason = &lt;span class="str"&gt;"A full backup for database "&lt;/span&gt; &amp; strDatabase &amp; &lt;span class="str"&gt;" is never be made!"&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;            &lt;span class="kwrd"&gt;Else&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                &lt;span class="rem"&gt;' backup is made&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"BackupType"&lt;/span&gt;, &lt;span class="str"&gt;"Full or differential backup"&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt;                &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"NumHours"&lt;/span&gt;, &lt;span class="kwrd"&gt;CStr&lt;/span&gt;(oResults(1)))&lt;/pre&gt;&lt;pre class="alt"&gt;                strHours = &lt;span class="kwrd"&gt;CStr&lt;/span&gt;(oResults(1))&lt;/pre&gt;&lt;pre&gt;                &lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="kwrd"&gt;If&lt;/span&gt; &lt;span class="kwrd"&gt;CInt&lt;/span&gt;(oResults(1)) &gt; iThresholdHours &lt;span class="kwrd"&gt;Then&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                    &lt;span class="rem"&gt;' last backup is too old&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Reason"&lt;/span&gt;, &lt;span class="str"&gt;"The last full or differential backup for database "&lt;/span&gt; &amp; strDatabase &amp; &lt;span class="str"&gt;" is more than "&lt;/span&gt; &amp; oResults(1) &amp; &lt;span class="str"&gt;" hours old!"&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt;                    &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Status"&lt;/span&gt;,&lt;span class="str"&gt;"Bad"&lt;/span&gt;)            &lt;/pre&gt;&lt;pre class="alt"&gt;                    strReason = &lt;span class="str"&gt;"The last full or differential backup for database "&lt;/span&gt; &amp; strDatabase &amp; &lt;span class="str"&gt;" is more than "&lt;/span&gt; &amp; oResults(1) &amp; &lt;span class="str"&gt;" hours old!"&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                    strStatus = &lt;span class="str"&gt;"Bad"&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="kwrd"&gt;Else&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                    &lt;span class="rem"&gt;' backups is ok&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                    &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Reason"&lt;/span&gt;, &lt;span class="str"&gt;"The last full or differential backup for database "&lt;/span&gt; &amp; strDatabase &amp; &lt;span class="str"&gt;" SHOULD NOT BE ALERTING BECAUSE IT is less than "&lt;/span&gt; &amp; &lt;span class="kwrd"&gt;CStr&lt;/span&gt;(iThresholdHours) &amp; &lt;span class="str"&gt;" hours old."&lt;/span&gt;)&lt;/pre&gt;&lt;pre&gt;                    &lt;span class="kwrd"&gt;Call&lt;/span&gt; objBag.AddValue(&lt;span class="str"&gt;"Status"&lt;/span&gt;,&lt;span class="str"&gt;"OK"&lt;/span&gt;)            &lt;/pre&gt;&lt;pre class="alt"&gt;                    strReason = &lt;span class="str"&gt;"The last full or differential backup for database "&lt;/span&gt; &amp; strDatabase &amp; &lt;span class="str"&gt;" SHOULD NOT BE ALERTING BECAUSE IT is less than "&lt;/span&gt; &amp; &lt;span class="kwrd"&gt;CStr&lt;/span&gt;(iThresholdHours) &amp; &lt;span class="str"&gt;" hours old."&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;                    strStatus = &lt;span class="str"&gt;"OK"&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;                &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;            &lt;/pre&gt;&lt;pre class="alt"&gt;            oAPI.AddItem(objBag)&lt;/pre&gt;&lt;pre&gt;            &lt;/pre&gt;&lt;pre class="alt"&gt;            cnADOConnection.Close&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            &lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;span class="rem"&gt;'return the property bag objects&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span class="kwrd"&gt;Call&lt;/span&gt; oAPI.ReturnItems&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;        &lt;span class="rem"&gt;' Log results into Operations Manager event log&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;             &lt;span class="rem"&gt;' Enable for debugging.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;        &lt;span class="rem"&gt;' Call oAPI.LogScriptEvent("SQLCustomBackupMonitor.vbs", 101, 4, "SQLCustomBackupMonitor.vbs returned the following values to SCOM for " &amp; strDatabase &amp; "  Reason:" &amp; strReason &amp; "  Hours:" &amp; strHours &amp; "  Status:" &amp; strStatus)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;    &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt; &lt;/pre&gt;&lt;pre class="alt"&gt;        &lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;Sub&lt;/span&gt;&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span class="kwrd"&gt;Call&lt;/span&gt; Main()&lt;/pre&gt;&lt;pre class="alt"&gt; &lt;/pre&gt;&lt;/div&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;&lt;img src="http://feeds.feedburner.com/~r/OperationsManager/~4/k3LYbIJP1FA" height="1" width="1"/&gt;</description>
			<pubDate>Mon, 09 Nov 2009 20:47:25 GMT</pubDate>
			<guid isPermaLink="false">http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50132/Default.aspx</guid>
		<feedburner:origLink>http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexId/50132/Default.aspx</feedburner:origLink></item>
	</channel>
</rss>
