How to create a batch file for publishing reports (300138)



The information in this article applies to:

  • Microsoft Operations Manager 2000

This article was previously published under Q300138

INTRODUCTION

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.

    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

  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:
   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


Modification Type:MinorLast Reviewed:6/13/2005
Keywords:kbenv kbinfo KB300138