Microsoft Operations Manager

EventLog Object (Deprecated)

The EventLogobject reads the Windows NT event log information. This object has been deprecated and should not be used when creating new scripts. It is included only to support existing scripts. For new scripts, see Using Operating System APIs in Scripts.


Name Description


Saves the specified event log to a backup file. This does not clear the event log.


Clears the specified event log and optionally saves the current copy of the log file to a backup file.


Gets the most recent error description for this object.


Gets the number of records in the specified event log.


Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

Did you find this information useful? Please send your suggestions and comments about the documentation to