I have built a script to update alert customfields in Ops Mgr 2007. I have done this for MOM 2005 too, more info here. In MOM 2005 I did it with a couple of rules. In Ops Mgr 2007 I solve it with a schedule task. My first idea was to run it as a command notification, but I ran into a permission issues. You can setup this script as a schedule task, and run it every X minute. It will load Ops Mgr command shell snap-in and then get all new alerts (ResolutionState = 0). The script wÃll then get the computername from the alert and run some Active Directory queries based on that computername. The result from these queries will be input in the alert custom fields. Some alerts does not have a netbioscomputername attribute, therefor these alerts will not be updated, for example some Active Directory alerts.
You can customize the script any way you want. With this example I want to show you one way to do it, with some example attributes. Download the script here.

[…] Attribute information into alert description or name Hi Paul, I have a script on my webpage, http://contoso.se/blog/?p=222 , that will take info from AD and update the custom fields on an alert. That could solve your […]