Demo SCOM Script Template
<!--[if lt IE 9]>
<![endif]-->
Comments
- Anonymous
September 11, 2017
The comment has been removed- Anonymous
September 18, 2017
I also set the culture[Threading.Thread]::CurrentThread.CurrentCulture=’en-US’;[Threading.Thread]::CurrentThread.CurrentUICulture=’en-US’;And my template also includes the testing return code to see if the bag does return what i want:$api.Return($Bag) (which you've done for the discovery data as well)
- Anonymous
- Anonymous
September 22, 2017
When it comes to assigning event IDs, (in your script $EventID = "1234") what is a good range to use please? I don't want to pick something already used by another process. Thank you.- Anonymous
September 22, 2017
Unfortunately there isnt one. Different authors always use different event ID's.... including Microsoft. The best feedback I can give is to look at what's in your environment and see if there seems to be a range not in use. But there is no guarantee it wont. The point here - is that any alert rules that use the OpsMgr health service script source, should include "event description contains" and use your script name as a criteria, then it doesn't matter if there is event ID overlap.
- Anonymous
- Anonymous
April 24, 2018
The comment has been removed