About the Operations Manager Script Library
Applies To: System Center 2012 - Operations Manager
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The Operations Manager script library consists of a single dynamic-link library (DLL), MOMScriptAPI.dll. This library is automatically installed and registered on every management server and agent-managed computer in a management group. For information about the objects that are provided by the library, see Operations Manager Scripting Objects.
You can also manually copy and register the library for use on a computer that does not have Operations Manager installed. This can be useful when you are testing a script before adding it to a management pack.
Copying and Registering the Script Library
To use the Operations Manager Script API on a computer that does not have Operations Manager or an agent installed, copy the script library from the Operations Manager installation directory to the destination computer and then register the script library by using the following command:
Regsvr32 MOMScriptAPI.dll
You must also copy HealthServiceRuntime.dll and possibly some other Operations Manager libraries to the destination computer.
You are now ready to begin creating runtime scripts. For more information, see Getting Started Developing Runtime Scripts.