Well it's easy enough to do in PowerShell but there are a few caveats involved. I'm running System Center Essentials, I don't have Powershell. Or, I'm sitting at my desk wanting to examine the MP's on my fancy new Vista OS; do I really have to walk all that way to the machine room to do it at the Management Server. I just happened to be sitting on the sofa at home not knowing which MP contained script X which I was trying to find. So I wrote a C# console app to dump the MP's on my laptop for searching.
Hence the quick and dirty console app MP2XMLDumper.exe (http://home.comcast.net/~the_eastwoods/MOMDownloads/MP2XMLDumper.zip)
Version 2.0 now available - allowing export of specific management packs by partial name criteria.
In its simplest form, running it on a OM2007 or Essentials Management Server, it takes one parameter, the path to dump all the MP's to e.g. C:\MPS. In that case you need only MP2XMLDumper.exe.
If you are running it on another machine you will need the appropriate platform version of the SDK assemblies Microsoft.EnterpriseManagement.OperationsManager.dll and Microsoft.EnterpriseManagement.OperationsManager.Common.dll in the same folder as the tool. The SDK assemblies can be found and copied from the management server installation folder SDK Binaries.
MP2XMLDumper <path> - e.g. C:\MyMPS (Folder will be created if it does not exist)
To run remotely against a Management Server:
MP2XMLDumper -s <managementserver> <userdomain\user> <path> - e.g. OMServer Contoso/omAdmin C:\MyMPS (Folder will be created if it does not exist)
You will be prompted for the connecting users password.
Remote connnections require the assemblies Microsoft.EnterpriseManagement.OperationsManager.DLL and Microsoft.EnterpriseManagement.OperationsManager.Common.DLL to be present.
This is provided as a sample, no support is implied. I wrote it for me initially, so there is currently no option to specify distinct MP's to dump. It's all or nothing.
I'm not a developer, and don't profess to be either; just to set your expectations. It was the lack of SDK remoteability in MOM 2005 that led me to check out the remoteability features in the OM2007 SDK (http://msdn2.microsoft.com/en-us/library/bb437619.aspx).