How to create a batch file for publishing reports
This article was previously published under Q300138
This article has been archived. It is offered "as is" and will no longer be updated.
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.
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:
- Click Start, point to Programs, point to Microsoft Operations Manager, and then click MOM Reporting.
- Click Tools, click Report Command Line Wizard, and then click Next.
- Click an option button to specify that you want to run the report daily, weekly, or monthly, and then click Next.
- Specify the Servers, Domains, Forest, or Chart Type, and then click Next.
Note 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
- Click the reports that you want to run, and then click Next.
- Click the report output type, click Next, click the data source, and then click Next.
- Type the name and the target location for the batch file, and then click Finish.
C:\ 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: 10/26/2013 14:13:00 - Revision: 3.0
Microsoft Operations Manager 2000 Enterprise Edition
- kbnosurvey kbarchive kbenv kbinfo KB300138