The Operations Manager script library consists of a single dynamic-link library, 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 2007 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 prior to 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:
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.
Send comments about this topic to Microsoft.