All:
A few months back I was on a webcast Kevin Holman did about MP authoring. One
of many things I became aware of that day was using the 'MOM.ScriptAPI' to log
to the Operations Manager Event Viewer log:
$api = new-object -comObject 'MOM.ScriptAPI'
$api.LogScriptEvent("<Script_Name>",<EventID>,<Level>,"<Description/Detail>")
Is there any documentation on acceptable Event IDs? Or is there a known range
the Operations Manager log does/doesn't accept from the API? I tried a Google
search and poking around MSDN but didn't find anything. Thanks.
-Geoff
Confidentiality Notice: This is a transmission from Community Hospital of the
Monterey Peninsula. This message and any attached documents may be confidential
and contain information protected by state and federal medical privacy
statutes. They are intended only for the use of the addressee. If you are not
the intended recipient, any disclosure, copying, or distribution of this
information is strictly prohibited. If you received this transmission in error,
please accept our apologies and notify the sender. Thank you.