How to Get Knowledge Article from a SCOM Alert with Powershell

I've had numerous requests lately for scripts to extract Knowledge Article info from alerts and workflows so I thought it might be helpful to post some scripts for the community to use.

Download at TechNet Gallery


This script is geared towards use with a connector, possibly for Service Manager ticketing or with SCORCH. This screenshot demonstrates output of the HTML formatted Knowledge Article only.



This screenshot demonstrates output of a custom object which includes some key properties of the alert, most importantly the Knowledge Article.