<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
	<title><![CDATA[Forums]]></title>
	<link><![CDATA[http://www.systemcentercentral.com/Forums/tabid/60/rss/1/tag/Forums%20MP_Development/Default.aspx]]></link>
	<description></description>
	<language>en-us</language>
	<copyright><![CDATA[Copyright 2009 System Center Central All Rights Reserved.]]></copyright>
	<lastBuildDate>Tue, 07 Feb 2012 07:54:48 GMT</lastBuildDate>
		<item>
			<title><![CDATA[RE: Script to try to start a service 3 times and then generate an alert if the service does not started]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91434]]></link>
			<description><![CDATA[let me try thsi<br />
<br />
and how can i generate alert if the service not started?]]></description>
			<pubDate>Wed, 01 Feb 2012 11:59:18 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91434</guid>
		</item>
		<item>
			<title><![CDATA[RE: Script to try to start a service 3 times and then generate an alert if the service does not started]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91445]]></link>
			<description><![CDATA[Check out Stefan's guide on how to create script monitors: <a href="http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/44971/Default.aspx">http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/44971/Default.aspx</a>]]></description>
			<pubDate>Wed, 01 Feb 2012 13:10:43 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91445</guid>
		</item>
		<item>
			<title><![CDATA[Customized MP with overrides]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91426]]></link>
			<description><![CDATA[Hi,<br />
I am overriding Rules/Monitors of Microsoft AppFabric MP in my own MP. if i want to import my own MP to other environments(like prod,test) , do i need to import the Parent MP (AppFabric) also or my own MP is enough?<br />
<br />
How can i import a MP ? do i need to seal it before importing?<br />
<br />
And also after overiding the rules monitors from AppFabric MP to my own MP, i am not able to view that rules/monitors in my own MP<br />
<br />
please clarify]]></description>
			<pubDate>Wed, 01 Feb 2012 03:56:10 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91426</guid>
		</item>
		<item>
			<title><![CDATA[Re: Customized MP with overrides]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/tabid/60/IndexId/91444/Default.aspx]]></link>
			<description><![CDATA[Gotta correct that one: "You will need to import the EXACT version of the MP you reference". It has to be the same version or higher, otherwise you could never update any Management Packs without refactoring all the referencing ones too.<br />
<br />
Regarding your question:<br />
When a new Management Pack is loaded, the rules and monitors, as long as they apply and are enabled will get loaded before the overrides are loaded.<br />
I know that this isn't optimal, ran into it myself.]]></description>
			<pubDate>Wed, 01 Feb 2012 13:05:25 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/tabid/60/IndexId/91444/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[RE: Script to try to start a service 3 times and then generate an alert if the service does not started]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91432]]></link>
			<description><![CDATA[Hm, simple while loop that breaks once a certain repeatcount has been reached. I bet there's a better solution though.<br />
<br />
$Service = Get-Service -Name "Spooler"<br />
$State = $Service.Status<br />
$Repeatcount = 0<br />
<br />
while ($State -ne "Running")<br />
{<br />
    trap { continue }<br />
<br />
    $Repeatcount = $Repeatcount + 1<br />
    $Service.Start()<br />
    <br />
    # Wait some time<br />
    Start-Sleep -seconds 5<br />
<br />
    # You have to get the service again, otherwise the status won't be updated<br />
    $Service = Get-Service -Name "Spooler"<br />
    $State = $Service.Status<br />
<br />
    # Break if Repeatcount is 3<br />
    if ($RepeatCount -ge 3) { break }    <br />
}]]></description>
			<pubDate>Wed, 01 Feb 2012 10:39:11 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91432</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Script to try to start a service 3 times and then generate an alert if the service does not started]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91433/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[This must mean that you fully expect this service to fail and that restarts are often not successful? What about using Opalis to attempt the three restarts after the failure and initial SCOM alert? This would be quite easy and reliable. ]]></description>
			<pubDate>Wed, 01 Feb 2012 11:20:36 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91433/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Script to try to start a service 3 times and then generate an alert if the service does not started]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91429]]></link>
			<description><![CDATA[<p>Hi,</p>
<p>I have a requirement where i have to monitor a windows service on a group of computers and if the serviceis stopped i have to automatically restart the service and after 3 attempts if the service not started then only i i have to send an alert</p>
<p>Please help me out on this</p>]]></description>
			<pubDate>Wed, 01 Feb 2012 06:49:14 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91429</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Customized MP with overrides]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91430/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[Hi Thanks for the reply.<br><br><br><br>If i imported both Base MP and my custom MP how will they work? i mean both will functional or only my custom MP ? <br><br><br><br>As i don't want all the rrules/monitors of base MP, so i am overriding the necessary ones in my custom MP.<br><br><br><br>If i imported both MP's then the rules/monitors which i don't required will also get functional from base MP and i don't want this happening<br><br><br><br>sorry if i am wrong on any of the above statements and correct me]]></description>
			<pubDate>Wed, 01 Feb 2012 06:56:58 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91430/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Customized MP with overrides]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91427/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[You will need to import the EXACT version of the MP you reference in your custom MP.  You only need to make objects public in your MP and seal it if you plan on referencing it with yet another MP (i.e. Views, Classes, custom modules etc.).  An example of this is if you wanted to create a view in yet another custom MP that referenced one of the classes in the original custom MP.<br><br><br><br>I hope this makes sense.]]></description>
			<pubDate>Wed, 01 Feb 2012 04:59:37 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91427/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91233/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[Well in case your company wants to go to 2012 you have to join the TAP program for Operations Manager as currently 2012 is RC and not supported unless you are in the TAP program. Talk with your Microsoft Technical Account Manager about that.<br><br>Management Packs written for 2007 will work in 2012 as mentioned already. It was one of the key concepts of 2012 to NOT virtually nullify all the efforts we put into 2007.<br><br>As for OpsMgr Console vs. Authoring Console. They can't really compete with each other as far as I'm concerned as they are totally different tools. You can do some minor "authoring" with the Operations Console but if you are up to writing a proper Management Pack, use the Authoring Console. I don't even have a rule of thumb for this.]]></description>
			<pubDate>Fri, 20 Jan 2012 12:43:14 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91233/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91158]]></link>
			<description><![CDATA[Hi,<br />
<br />
I created a Windows Service Unit Monitor to monitor my audio services. if the service is stopped it will generate an alert.<br />
<br />
In the recovery wizard, i added a recovery task of type script and in the editor i used a power shell command to start the service. it was not working. i used the name as example.ps1 and the ps script is <b>start-service</b> <i>-displayname</i> 'Windows Audio'<br />
<br />
i tested this on PowerShell directly and it is working fine.<br />
<br />
please help me]]></description>
			<pubDate>Tue, 17 Jan 2012 10:36:03 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91158</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91229/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[Thanks Andreas<br><br><br><br>what are the advantages of Autoring console than OpsMgr Console? <br><br><br><br>i am using Authoring console for my workarounds. but my PL asked me why we are still using 2007?. he told he don't want any dependencies of 2007 in SCOM 2012<br><br><br><br>how can i defend myself?]]></description>
			<pubDate>Fri, 20 Jan 2012 04:53:41 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91229/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91206/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[There is no 2012 Authoring Console, the Management Packs you build in the 2007 Console can be used on 2012 though.<br><br>However, if you export Management Packs from a 2012 Management Group, they won't work on 2007 or in the Authoring Console as there have been some schema changes that aren't downwards compatible.]]></description>
			<pubDate>Thu, 19 Jan 2012 11:05:48 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91206/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91202/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[Hi Andreas,<br><br><br><br>one quick question.  Don't We have authoring console 2012? <br><br><br><br>]]></description>
			<pubDate>Thu, 19 Jan 2012 03:42:13 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91202/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91201/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[hi Andreas,<br><br><br><br>Thank you very much...this is what i am looking for...]]></description>
			<pubDate>Thu, 19 Jan 2012 03:40:17 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91201/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91175/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[Hi Andreas,<br><br><br><br>I am not using any Module here. In the Monitor properties --> Diagnostoc and Recovery --> Add Recovery Task --> Run Script...in this way i am trying to run the PS script.<br><br><br><br>is there anything wrong here ? ]]></description>
			<pubDate>Wed, 18 Jan 2012 03:53:16 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91175/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[RE: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91179]]></link>
			<description><![CDATA[Ah, I see - you are using the Operations Console. I'm 99.9% sure that the script that is expected here is a vb script. You should get the Authoring Console: <a href="http://www.microsoft.com/download/en/details.aspx?id=18222">http://www.microsoft.com/download/en/details.aspx?id=18222</a> <br />
<br />
There you can define a recovery action using modules. Search for PowershellWriteAction, add it and configure it. That's what you need for running Powershell Scripts.]]></description>
			<pubDate>Wed, 18 Jan 2012 11:07:09 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91179</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Monitor with Power Shell scripy Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91162/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[Which module did you use for the recovery task? The ScriptWriteAction module is for vb scripts, you have to use the PowerShellWriteAction module.]]></description>
			<pubDate>Tue, 17 Jan 2012 12:07:48 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/91162/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
		<item>
			<title><![CDATA[Monitor With Custom Recovery ]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91113]]></link>
			<description><![CDATA[Hi Friends ,<br />
<br />
I have a requirement to create a monitor which monitors a windoiws service in a group of computers and if in any of the computers the service is not running it should send alert and try to restart the service<br />
<br />
here i may not use recovery wizard because this should run for all computers in the group]]></description>
			<pubDate>Fri, 13 Jan 2012 05:27:33 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91113</guid>
		</item>
		<item>
			<title><![CDATA[How to Start an AppFabric Service using PowerShell script]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Default.aspx?tabid=177&IndexId=91097]]></link>
			<description><![CDATA[Hi,<br />
<br />
I have to monitor AppFabric servers and if the service is stopped, i have to send an alert and run a recovery to start the service . if the service did not respond after 5 minutes  i have to try again to start..i have to repeat this 3 times (if the service does not started) <br />
<br />
if the 3rd time also it doesn't start, Admin can take care of that by starting the service<br />
<br />
pleae help me to do this]]></description>
			<pubDate>Thu, 12 Jan 2012 11:33:09 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Default.aspx?tabid=177&amp;IndexId=91097</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: How to create a Performance Collection Rule in PowerShell?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/90842/Default.aspx?tag=Forums+MP_Development]]></link>
			<description><![CDATA[Yes, this looks like something I can work with. Thank you!]]></description>
			<pubDate>Wed, 28 Dec 2011 18:03:00 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/indexId/90842/Default.aspx?tag=Forums+MP_Development</guid>
		</item>
	</channel>
</rss>

