Converting a sealed management pack to readable XML

Ever wanted to dig into a management pack but could not because it is sealed? One workaround is to import the management pack into a management group and then export it. There is a much quicker way to do this using PowerShell and the SDK.

Attached is a small script that will do the trick. The prerequisite for this script to work is that you have the OpsMgr console or Management server and PowerShell installed.

The script is attached to this post.

Here is how you can run the script to get the XML representation of a sealed MP:

powershell d:\MpToXml.ps1 -mpFilePath:’d:\’ -outputDirectory:’d:\’

When importing management packs into a management group, you should still use the sealed version as it provides a lot of benefits for upgrades and rolling back changes compared to unsealed management pack which you can easily modify.

This posting is provided «AS IS» with no warranties, and confers no rights.
Use of included scripts are subject to the terms specified at


Changing the look & feel of Reports

Ever wanted to get rid of that poor quality System Center Operations Manager 2007 banner from across the top of all the default reports and replace it with your own branding?

Original Banner

It’s really quite simple….. Тег «Далее»

ConfigMgr 2007: How to move the Site Database

I was having trouble finding this post on the old SMSandMOM blog without a direct link, and saw this question asked on an alias so I thought it would be worth posting again on the new blog site for ConfigMgr 2007. This post describes how to move the Site Database for Configuration Manager 2007 to another drive, or another computer running SQL 2005. Тег «Далее»


Customizing monitor from sealed MP ("Device Status Check")

I used Device Status Check monitor in my last post when providing realistic sample of how to define alert settings thru overrides. Unfortunately, and mainly because of override value restriction regarding use of parameter replacement, description of such alert was not able to benefit from property values of its target instance (could not use device name, IP Address and others with alert description). This led me to work on this post, although it is rather possible some other guys already did similar work … Тег «Далее»

Agent proxying needs to be enabled for a health service to submit discovery data about other computers

This looks like it is coming from the Root management server, but the details give you a GUID to the actual server with the error. It looks like this:

Details:Health service ( 168645A4-6B9C-31C6-801D-11B6B355091D ) should not generate data about this managed object ( F227C8F1-E50E-F847-9378-45EB7135B901 )

In order to get the actual name of the monitored device you need to use PowerShell. Don’t use the PowerShell that you find in Programs -> WindowsPowerShell 1.0 since this does not have the SCOM snap-in included. Go to Programs -> System Center Operations Manager 2007 -> Command shell then execute the following command. Replace the GUID with the one that your alert specifies.

Get-MonitoringObject -id:’FED0B867-F9AE-ACAF-4CCF-311DD92789C9′ | ft DisplayName

Then to enable Proxying:

Access the Administration Node and locate the agent under Agent Managed.  Right click the node you found after you execute the above command.  Select Properties.  Click the Security tab.  Check  Allow this agent to act as proxy…


SC Operations Manager 2007 SP1 — Configuration Steps: SCOM2k7 Basic Service Monitor with a Diagnostic and a Recovery for a Stopped Service

We can use SCOM2k7 to solve many of the operational challenges faced in maintaining healthy Windows Servers.  In this scenario I will generate a Basic Service Monitor.  The intent of this Basic Service Monitor is to ensure SCOM2k7 offers a ‘Critical Alert’ when the specific Service of focus is stopped (in this case I am using the Print Spooler Service — but this could be a core Line of Business Application Service as another example).  In addition, I then author a Diagnostic.  A Diagnostic in SCOM2k7 is programmatic logic that determines what else was occuring when the Service stopped (or runs a custom diagnostic application as another example).  Finally, I generate a Recovery.  A Recovery in SCOM2k7 is programmatic logic that restarts the Service (in this example — again it could do anything programmatically necessary).
Here are the general steps: Тег «Далее»


Flushing the Health Service and State and Cache

What really happens when the when you run this task?
So we start the task by clicking on the ‘Flush Health Service State and Cache’ Тег «Далее»