Author Archives: mpalchemy

JScript Discovery

The other day I got a email asking if I had some example code for discovering SCOM objects by using JScript. My first thought was that it shouldn’t be to hard, but after searching the internet there was next to … Continue reading

Posted in JScript, Management Pack, OpsMgr 2012 | Tagged , , | Leave a comment

Creating a SCOM instance in C#

This post is more as a not to self: How to create a SCOM (SDK) instance for a custom Management Pack in C#:   http://msdn.microsoft.com/en-us/library/hh964567.aspx   EnterpriseManagementGroup mg = new EnterpriseManagementGroup(“localhost”); ManagementPack mp = mg.GetManagementPack(“RePackaging.Library”, null, new Version()); ManagementPackClass requestClass = … Continue reading

Posted in MP, OpsMgr 2012 | Tagged | Leave a comment

Creating an extesion attribute with the VSE

If you need to add an extension attribute to a class, the linked post will show you how to achieve this step-by-step:   http://blogs.technet.com/b/emreguclu/archive/2012/11/07/extending-windows-computer-class-using-visual-studio-authoring-extensions-vsae.aspx

| Leave a comment

Missing reference Microsoft.SystemCenter.Visualization.Library

When authoring with the Visual Studio Authoring Extensions and creating a new project for OM2012 add-ins, it sometimes happens that the reference to the Visualization Library (Microsoft.SystemCenter.Visualization.Library) becomes unusable.   When this happens you can resolve this by manually editing the … Continue reading

| Tagged , , | Leave a comment

Exporting sealed OM2012 Management Packs to XML

In Operations Manager 2012 it is super easy to export your sealed Management Packs to xml format. Just fire up the Operations Manager Shell and use the following command: Get-SCManagementPack | Export-SCManagementPack -Path “C:\ExportMP” Thats all 🙂

Posted in Management Pack, OpsMgr 2012 | 1 Comment

MP Authoring video’s on TechNet

While browsing I ran into the following video’s on management pack authoring by microsoft: Operations Manager 2007 Discovery Series – Video 2: Registry Discoveries Operations Manager 2007 Discovery Series – Video 3: WMI Discoveries Operations Manager 2007 Discovery Series – … Continue reading

Posted in Authoring Console, Management Pack, MP, OpsMgr 2007 | Leave a comment

Creating a Powershell Discovery and Monitor

A while ago I was asked by a client how to author management packs with Powershell monitors and discoveries. It is actually not too hard to do, but the steps are quite lengthy…. In the Authoring Console click the New… … Continue reading

Posted in Authoring Console, Management Pack, MP, OpsMgr 2007, Walkthrough | 4 Comments