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

Get-SCOMAlertKnowledge.ps1

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.

Get-SCOMAlertKnowledge_console

 

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

Get-SCOMAlertKnowledge_console2