The MOMScriptAPI object is the top-level object for the scripting API.
None.
The following example shows how to create a new instance of the MOMScriptAPI object.
var objScriptAPI = new ActiveXObject('MOM.ScriptAPI');
Dim objScriptAPI
Set objScriptAPI = CreateObject("MOM.ScriptAPI")
Platforms: Requires Windows Server 2003, Windows Vista, or Windows Server 2008
Version: Requires Operations Manager 2007
The MOMScriptAPI methods are used to create new MOMPropertyBag objects or MOMDiscoveryData objects and then submit them back to the Operations Manager management server.
You can also use the MOMScriptAPI object to submit monitoring data back to the Operations Manager management server, determine a safe registry path for written data, and log script events.
Other Resources
Operations Manager 2007 R2 Scripting Objects