Not from the alert, but the alert references the rule/monitor that created the 
alert  and you can get the knowledge from that.

Something like

$Alert = get-scomalert  -id 'Guid of alert'

$rule = Get-SCOMmonitor/GetSCOMrule -id $Alert.RuleId

$rule.GetKnowedgeArticle("ENU")

$rule.MamlContent will contain the article

/Henrik


Fra: [email protected] [mailto:[email protected]] På 
vegne af Tyrell, Tommy A.
Sendt: 14. januar 2015 13:04
Til: [email protected]
Emne: [msmom] RE: Monitor/rule Knowledge Article

I have a slightly different request. Is there a PowerShell command to retrieve 
the Knowledge from an alert?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Kevin Holman
Sent: Tuesday, January 13, 2015 2:56 PM
To: [email protected]<mailto:[email protected]>
Subject: [msmom] RE: Monitor/rule Knowledge Article

http://tetris38.blogspot.com/2013/04/opsmgr-2007-r2-powershell-script-to.html

Does that work for you?



From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Tyrell, Tommy A.
Sent: Tuesday, January 13, 2015 1:50 PM
To: [email protected]<mailto:[email protected]>
Subject: [msmom] Monitor/rule Knowledge Article

Is there a PowerShell command that will retrieve the Product Knowledge from a 
monitor or rule?

Thanks in advance.







Reply via email to