Here is a Management Pack that I wrote for a customer a while back. The requirement was to take the alerting for CPU Utilization and Available Memory from the Windows Server Management Pack and add the top 5 processes consuming CPU/Memory to the Alert Description.
The MP that I wrote for this is attached
Screenshots of the alerts are below:
Thanks for share.