No, I cheated a little bit. I worked with Microsoft directly and the guy I deal with gave me a runbook that he had. Unfortunately however, I don’t think I can share the runbook, at least not without asking him first.
It uses a sync table in SQL Server to track between SCOM and OM and I’ve customized it a bit to meet my needs.
As far as the management pack information, none of it is coming back from the SCOM monitor message icon. I think what I’m going to have to do is, monitor for the messages, get the message ID and then use the “Get SCOM message” icon to get the information.
I’ll post results of that test when I have something to post.