Thanks for this. Is there a way to get the Company Knowledge?

From: [email protected] [mailto:[email protected]] On 
Behalf Of Henrik Andersen
Sent: Wednesday, January 14, 2015 7:20 AM
To: [email protected]
Subject: [msmom] SV: Monitor/rule Knowledge Article

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]> 
[mailto:[email protected]] På vegne af Tyrell, Tommy A.
Sendt: 14. januar 2015 13:04
Til: [email protected]<mailto:[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<https://urldefense.proofpoint.com/v2/url?u=http-3A__tetris38.blogspot.com_2013_04_opsmgr-2D2007-2Dr2-2Dpowershell-2Dscript-2Dto.html&d=AwMFAw&c=AgWC6Nl7Slwpc9jE7UoQH1_Cvyci3SsTNfdLP4V1RCg&r=vTT6p5E0EGozOJ4ZvSFWYOYVDrl6Fvi8yU-x0FCDHM4&m=bmA9yxkD_IIWCjaiSgvF_NC2EPwHNd_xxaxjUpxNg6E&s=EcwL559zngCUsN2SUYFbqb6lYbELisTmJ6gY-YoJc2A&e=>

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