How to create a batch file for publishing reports

Article translations Article translations
Article ID: 300138 - View products that this article applies to.
This article was previously published under Q300138
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


This article describes how to create a batch file for publishing predefined reports in Microsoft Operations Manager (MOM). You can then schedule the batch file to run, for example, by using the AT scheduler or the Scheduled Task Wizard.

More information

Use the Reporting Command Line Wizard to create a batch file for publishing the reports. The wizard bases the batch file on information that you provide, including the name and parameters for the report. Follow these steps:
  1. Click Start, point to Programs, point to Microsoft Operations Manager, and then click MOM Reporting.
  2. Click Tools, click Report Command Line Wizard, and then click Next.
  3. Click an option button to specify that you want to run the report daily, weekly, or monthly, and then click Next.
  4. Specify the Servers, Domains, Forest, or Chart Type, and then click Next.

    Make sure that you use the correct syntax when you specify server and domain names.

    For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
    812313 The Reporting Wizard generates invalid batch files when you specify servers and domains
  5. Click the reports that you want to run, and then click Next.
  6. Click the report output type, click Next, click the data source, and then click Next.
  7. Type the name and the target location for the batch file, and then click Finish.
The following sample batch file was created by using the Reporting Command Line Wizard:
   cd "\Program Files\Microsoft Operations Manager 2000\OnePoint\Reporting" START /WAIT EEAREPT.exe /PRINTBATCH Most Common Alerts /DATERANGE:YESTERDAY /OUTPUT:H /DESCRIPTION:Y

You can find definitions and information about the various options in the MOM Help files. To view the Help files, start Microsoft Management Console, click Microsoft Operations Manager, click the Help arrow, and then click Help on Microsoft Operations Manager.

For additional information about some problems that may occur when you use MOM reporting, click the following article number to view the article in the Microsoft Knowledge Base:
832226 MOM reporting issues


Article ID: 300138 - Last Review: October 26, 2013 - Revision: 3.0
Applies to
  • Microsoft Operations Manager 2000 Enterprise Edition
kbnosurvey kbarchive kbenv kbinfo KB300138

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from