Microsoft KB Archive/300138

= How to create a batch file for publishing reports =

Article ID: 300138

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager 2000 Service Pack 1

-



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:  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.</li></ol>

The following sample batch file was created by using the Reporting Command Line Wizard: <pre class="fixed_text">  C:\ cd &quot;\Program Files\Microsoft Operations Manager 2000\OnePoint\Reporting&quot; 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

Keywords: kbenv kbinfo KB300138

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.