MMS 2012 Download Sessions – Offline Viewing

Here I just created a script to download the MMS 2012 sessions for offline viewing Smiley.

There are few things you will need:

UPDATE (26.04.2012):

I uploaded the latest sessions.txt file to skydrive which I received from Eric. It contains 208 session names. I have not verified all sessions. I could download 165 Sessions. 43 sessions couldn’t be downloaded. Maybe give it a shot it is in a zip file called

UPDATE (20.04.2012): Wow! I didn’t expect to get so many nice words and suggestions. As a result of this I improved the script an built in some error handling.
Download the zip file


  1. Copy the script file and the sessions.txt into the same directory!
  2. Add your credentials on top of the script. Nothing more to adjust!
  3. Call the script you just need to specify the path drive where you want to save the files e.g.

MMS2012_DownloaderV2.ps1 c:

A folder MMS2012Sessions will be created on c:\MMS2012Sessions


  • I added the key note files into sessions.txt (credits to oclash)
  • Script checks for neccessary files and would write a meaningful error Smiley
  • Sessions which cannot be downloaded will be written out to a file in the script directory called sessions_notavailable.txt. You just can rename this file to sessions.txt and start the download again Zwinkerndes Smiley.

Continue reading

SCOM 2012 – Using Alert Custom Fields

In today’s world of monitoring it is not always easy for people from the service desk or even for administrators to identify from which system is this alert being sent, who is responsible for the system and maybe in a multitenant environment to which company belongs this system/alert.

In my case a company which is hosting Active Directory domains and systems for different companys (customers) wanted to have company, server and contact information displayed on the alert notification. E.g. if is having a problem, the service desk must be able to identify to which company this server belongs and who they might need to contact.

To keep things as easy as possible I wrote a script which dumps the information into the custom fields of the alert and also sends a mail  containing all the needed information.

Steve Rachui has written a blog post about updating custom fields using subscriptions in SCOM 2007 R2.

Based on this I wanted to extend his approach to fit all my needs for SCOM 2012.

Continue reading

SCOM 2012 – Installing Pre-requisites for Web Console

Sometimes it takes time to install pre-requisites especially for the SCOM web console. There you need IIS, .NET Framework 3.5.1 and tons of IIS modules. There is a way to simplify. Use Powershell Smiley.

To get an overview what has been installed type:


If you want to see what IIS options has been installed, filter the data by typing:

Get-WindowsFeature Web*


Now on the most right column you also see the name of the module you would have to add.

To install SCOM 2012 web console requirements import first the ServerManager Module and then use Add-WindowsFeature to add all the modules SCOM 2012 web console needs as pre-requisite. It looks like this…

Import-Module ServerManager

Add-WindowsFeature NET-Framework-Core,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Asp-Net,Web-Http-Logging,Web-Request-Monitor,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Metabase,AS-Web-Support –restart

If you installed .NET 4 Framework before installing the IIS part then you have to register the .NET 4 Framework in IIS and also register the CGI and ISAPI filters. You can do this be typing these commands…

%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r

c:\windows\system32\inetsrv\appcmd set config /section:isapiCgiRestriction /[path=`'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll`'].allowed:True

If you are a smart kind of guy then you dump all these lines into a Powershell file and you will never ever have to go and select every single IIS module in the setup wizard Zwinkerndes Smiley.

SCOM 2012 – JEE Application Availability Monitor Template

In SCOM 2012 you get also new possibilities to monitor your JEE application servers. If you are already monitoring an application server e.g. Tomcat then you will find under the authoring pane new Management Pack Templates.


If you deployed BeanSpy and you are doing some deep monitoring with your JEE application servers, the next step could be to add some salt, sorry I mean beans into our monitoring soup Smiley.

Now we want to play using MBeans. But what are MBeans? Here the a short description from Microsoft:

Java applications running in a JEE application server also have a mechanism for providing application-specific management information. This mechanism is called “MBeans”, and is a JEE standard. The application writer must choose to create custom MBeans and populate them with relevant statistics as the application runs, somewhat similar to performance counters in a Windows application.

So far so good. Let’s start an example….

Continue reading

SCOM 2012 Linux Monitoring (Lab) – Part 4 Monitoring Application Server

In Part 3 we deployed the agent to  LINUX and started to monitor SUSE LINUX. But just want to give you some impression how and what it is going to look like.

The diagram shows you disk, network card and the operating system in a nice view.


There is a lot of data you get back from LINUX. If you look at the pre-defined views all this is available and it works Smiley.


I just picked the “Network Adapter Performance” view to show how it looks like…


But now back on track…first I wanted to show how to configure a monitor, now I decided to go a step further and install an application server on LINUX and start monitoring this guy. SCOM 2012 supports these application servers on Windows and LINUX:


Continue reading