<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.contoso.se</title>
	<atom:link href="http://contoso.se/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://contoso.se/blog</link>
	<description>Microsoft System Center by Anders Bengtsson</description>
	<lastBuildDate>Thu, 02 Sep 2010 19:09:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Notification popup with Opalis</title>
		<link>http://contoso.se/blog/?p=1785</link>
		<comments>http://contoso.se/blog/?p=1785#comments</comments>
		<pubDate>Thu, 02 Sep 2010 19:09:07 +0000</pubDate>
		<dc:creator>Anders Bengtsson</dc:creator>
				<category><![CDATA[Opalis]]></category>
		<category><![CDATA[System Center Operations Manager 2007]]></category>

		<guid isPermaLink="false">http://contoso.se/blog/?p=1785</guid>
		<description><![CDATA[Today I needed to build some kind of extra notification when a special alert was generated in Operations Manager. As we were already working with Opalis, why not continue with Opalis? The result was a simple policy checking for a special alert (service stopped), if it is generated, it sends a popup message with msg.exe to a [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to build some kind of extra notification when a special alert was generated in Operations Manager. As we were already working with Opalis, why not continue with Opalis? The result was a simple policy checking for a special alert (service stopped), if it is generated, it sends a popup message with msg.exe to a specific machine. Pretty simple, but another example how to solve things with Opalis.</p>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot03.jpg"><img class="aligncenter size-medium wp-image-1786" title="OpalisNot03" src="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot03-300x122.jpg" alt="" width="300" height="122" /></a></p>
<p>There was another policy checking the service and restared it if needed, of course we could merge them into one policy. The &#8220;Notify by popup&#8221; is a &#8220;Run program&#8221; object with the following settings</p>
<ul>
<li>Program execution</li>
<li>Computer: IP of target machine where to run the program</li>
<li>Program path: C:\WINDOWS\system32\msg.exe</li>
<li>Parameters: * /SERVER:NYSRV10 /TIME:120 {Name from &#8220;Get All New Alerts&#8221;}</li>
<li>Working folder: C:\</li>
</ul>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot04.jpg"><img class="aligncenter size-medium wp-image-1787" title="OpalisNot04" src="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot04-300x241.jpg" alt="" width="300" height="241" /></a></p>
<p>The message on the target machine</p>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot01.jpg"><img class="aligncenter size-medium wp-image-1788" title="OpalisNot01" src="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot01-300x241.jpg" alt="" width="300" height="241" /></a></p>
<p>&#8230;and the updated alert in Operations Manager, by the second policy.</p>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot02.jpg"><img class="aligncenter size-medium wp-image-1789" title="OpalisNot02" src="http://contoso.se/blog/wp-content/uploads/2010/09/OpalisNot02-300x105.jpg" alt="" width="300" height="105" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://contoso.se/blog/?feed=rss2&amp;p=1785</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect Opalis to Operations Manager</title>
		<link>http://contoso.se/blog/?p=1738</link>
		<comments>http://contoso.se/blog/?p=1738#comments</comments>
		<pubDate>Tue, 31 Aug 2010 10:54:31 +0000</pubDate>
		<dc:creator>Anders Bengtsson</dc:creator>
				<category><![CDATA[Opalis]]></category>

		<guid isPermaLink="false">http://contoso.se/blog/?p=1738</guid>
		<description><![CDATA[If you try to configure a connection from Opalis to Operations Manager 2007 you might get this error That means that you need to install the Operations Manager Console first, as Opalis use files from that to connect to Operations Manager. You also need to reboot your Opalis machine before you can successfully connect.]]></description>
			<content:encoded><![CDATA[<p>If you try to configure a connection from Opalis to Operations Manager 2007 you might get this error</p>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/08/OpalisOM01.jpg"><img class="aligncenter size-medium wp-image-1739" title="OpalisOM01" src="http://contoso.se/blog/wp-content/uploads/2010/08/OpalisOM01-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>That means that you need to install the Operations Manager Console first, as Opalis use files from that to connect to Operations Manager. You also need to reboot your Opalis machine before you can successfully connect.</p>
]]></content:encoded>
			<wfw:commentRss>http://contoso.se/blog/?feed=rss2&amp;p=1738</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Export agents to Excel</title>
		<link>http://contoso.se/blog/?p=1734</link>
		<comments>http://contoso.se/blog/?p=1734#comments</comments>
		<pubDate>Wed, 25 Aug 2010 20:33:21 +0000</pubDate>
		<dc:creator>Anders Bengtsson</dc:creator>
				<category><![CDATA[System Center Operations Manager 2007]]></category>

		<guid isPermaLink="false">http://contoso.se/blog/?p=1734</guid>
		<description><![CDATA[A common questions in the forums is &#8220;how to export a list of all agents to Excel?&#8221; You can do that with Operations Manager shell. The Operations Manager command shell is built on Windows PowerShell. The Operations Manager command shell extends the Windows command shell with over 80 additional small utility programs, called cmdlets, which [...]]]></description>
			<content:encoded><![CDATA[<p>A common questions in the forums is &#8220;<em>how to export a list of all agents to Excel?</em>&#8221; You can do that with Operations Manager shell. The Operations Manager command shell is built on Windows PowerShell. The Operations Manager command shell extends the Windows command shell with over 80 additional small utility programs, called <em>cmdlets</em>, which can either be run directly from the command shell prompt or called from within a batch file or script. To export a list of all agents and some info about them run the following command</p>
<blockquote><p>get-agent | select Displayname,InstallTime,InstalledBy,Version | export-csv -notype c:\agents.csv</p></blockquote>
<p>That will give you a CSV file, C:\agents.csv. Open the file with Excel, select all the data, click the &#8220;text to columns&#8221; button and choose comma delimeter. That will convert your data into nice columns.</p>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/08/toexcel01.jpg"><img class="aligncenter size-medium wp-image-1735" title="toexcel01" src="http://contoso.se/blog/wp-content/uploads/2010/08/toexcel01-300x147.jpg" alt="" width="300" height="147" /></a></p>
<p>&#8230;and there you have your list in Excel with nice columns</p>
]]></content:encoded>
			<wfw:commentRss>http://contoso.se/blog/?feed=rss2&amp;p=1734</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best of MMS [Stockholm/Sweden]</title>
		<link>http://contoso.se/blog/?p=1725</link>
		<comments>http://contoso.se/blog/?p=1725#comments</comments>
		<pubDate>Wed, 25 Aug 2010 18:45:13 +0000</pubDate>
		<dc:creator>Anders Bengtsson</dc:creator>
				<category><![CDATA[Microsoft Event]]></category>
		<category><![CDATA[Swedish]]></category>

		<guid isPermaLink="false">http://contoso.se/blog/?p=1725</guid>
		<description><![CDATA[Best of MMS is approaching! Only a couple of weeks away now! I will deliver two sessions at Best of MMS 2010 in Stockholm/Sweden. My first session “Operations Manager 2007 R2 tips and trix” is a level 400 session with a lot of good tips from the field. I will show a number of custom solutions and solutions to [...]]]></description>
			<content:encoded><![CDATA[<p>Best of MMS is approaching! Only a couple of weeks away now!</p>
<p>I will deliver two sessions at Best of MMS 2010 in Stockholm/Sweden. My first session “Operations Manager 2007 R2 tips and trix” is a level 400 session with a lot of good tips from the field. I will show a number of custom solutions and solutions to problems I often see at customers. I guess there will also be some Opalis demos in this session too&#8230; </p>
<p>My second session is toghether with Microsoft Sweden, &#8220;Reduce support costs and improve business alignment with System Center Service Manager&#8221;, it´s a level 200 session, in which you will learn how Service Manager lowers the cost of incident and problem resolution and provides a streamlined approach to change management by providing integrated knowledge of configuration items and the ability to easily assess the current health state of IT services by seamlessly integrating the activities between Service Manager, System Center Operations Manager and System Center Configuration manager.</p>
<p>There will be a number of System Center experts speaking at the event, for example my Operations Manager MVP colleagues Björn Axell, Gordon McKenna and Simon Skinner so bring all your Operations Manager questions!</p>
<p> See you in Stockholm! More info about the event <a href="http://www.cornerstone.se/sv/Event/Best-of-MMS/">here</a></p>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/08/BestOfMMS.jpg"><img class="aligncenter size-medium wp-image-1727" title="BestOfMMS" src="http://contoso.se/blog/wp-content/uploads/2010/08/BestOfMMS-300x123.jpg" alt="" width="300" height="123" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://contoso.se/blog/?feed=rss2&amp;p=1725</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add history tab to your custom forms</title>
		<link>http://contoso.se/blog/?p=1716</link>
		<comments>http://contoso.se/blog/?p=1716#comments</comments>
		<pubDate>Tue, 17 Aug 2010 11:49:21 +0000</pubDate>
		<dc:creator>Anders Bengtsson</dc:creator>
				<category><![CDATA[System Center Service Manager]]></category>

		<guid isPermaLink="false">http://contoso.se/blog/?p=1716</guid>
		<description><![CDATA[In this post I showed you how to create a custom CI class, a form and seal the management pack. If you want to continue working with your form and add the history tab you can follow this blog post. Patrik have created a form templates for the Authoring Tool that contains already implemented controls like [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://contoso.se/blog/?p=1707">this post</a> I showed you how to create a custom CI class, a form and seal the management pack. If you want to continue working with your form and add the history tab you can follow this blog post.</p>
<p><a href="http://blogs.litware.se/?p=720">Patrik</a> have created a form templates for the Authoring Tool that contains already implemented controls like the “Related Items” control and &#8220;History&#8221; controls. You can download his template <a href="http://blogs.litware.se/?p=720">here</a>. In this example I will add the history tab to the form created earlier in <a href="http://contoso.se/blog/?p=1707">this post</a>.</p>
<ol>
<li>Download the package and extract all files</li>
<li>Copy CustomFormTemplates.dll to a suitable folder, in my case C:\MPs</li>
<li>Open the Authoring tool and your MP where you want to create a form . In my case I will use the MP and form created in the earlier post. I will replace the form with a new form</li>
<li>In the Management Pack Explorer, right-click Forms and select Add Custom</li>
<li>In the base class window, select Contoso.Projector as base class, click OK</li>
<li>In the Add custom form window, input
<ol>
<li>Internal name: contoso.projector.formB</li>
<li>Assembly: CustomFormTemplates.dll</li>
<li>Type: HistoryOnlyTemplate</li>
<li>Click Create</li>
</ol>
</li>
<li>Add date pickers, labels and text fields as in the earlier post<a href="http://contoso.se/blog/wp-content/uploads/2010/08/form011.jpg"><img class="aligncenter size-medium wp-image-1719" title="form01" src="http://contoso.se/blog/wp-content/uploads/2010/08/form011-300x265.jpg" alt="" width="300" height="265" /></a></li>
<li>When done, delete your old form, in my case contoso.projector.form</li>
<li>Seal your management pack according to my earlier post</li>
<li>Save your management pack and close the Authoring Tool</li>
<li>Start power shell as administrator, goto your MP folder</li>
<li>Make sure you have the selaed MP (.mp) and the CustomFormTemplates.dll in the same folder</li>
<li>We need to create a MP bundle as we have a custom dll (Patrik form templates) that needs to be inserted into Service Manager.<br />
Run, new-mpbundle.ps1 Contoso.Projector.Library.mp Contoso.Projector.Library (new-mpbundle.ps1 is included in the package from Patrik)</li>
<li>Verify that you now have a new .mpb file in your folder</li>
<li>Import the new MPB file into Service Manager</li>
<li>Change something on a project and then open the CI again and look at the history tab</li>
</ol>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/08/form02.jpg"><img class="aligncenter size-medium wp-image-1720" title="form02" src="http://contoso.se/blog/wp-content/uploads/2010/08/form02-300x183.jpg" alt="" width="300" height="183" /></a></p>
<p><a href="http://contoso.se/blog/wp-content/uploads/2010/08/form03.jpg"><img class="aligncenter size-medium wp-image-1721" title="form03" src="http://contoso.se/blog/wp-content/uploads/2010/08/form03-268x300.jpg" alt="" width="268" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://contoso.se/blog/?feed=rss2&amp;p=1716</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
