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.

Get-SCOMAlertKnowledge.ps1 : Download at TechNet Gallery

OutputSCOMKnowledge.ps1 : 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

OutputSCOMKnowledge.ps1

This will output workflow information (including Knowledge Article content) to an HTML report/file. Script accepts one or more (or all) management pack objects as input.

Examples:

All Active Directory Management Packs:

OutputSCOMKnowledge_console1

 

OutputSCOMKnowledge_console2

 

OutputSCOMKnowledge_console3

 

These screenshots are shrunken to show more detail:

SampleReport1

 

SampleReport2

 

All SQL 2014 Management Packs:

OutputSCOMKnowledge_console4

 

SampleReport

 

SampleReport1b


Comments (0)

Skip to main content