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:\Microsoft.Exchange.Server.2003.Monitoring.mp' -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 athttp://www.microsoft.com/info/cpyright.htm