Using the Command-Line Interface

適用於: Exchange Server, Operations Manager 2007

This section describes the command-line version of the Configuration Wizard. The command-line interface provides advanced administrators with greater control over the configuration of the Exchange Server 2003 Management Pack. The name of the executable file is ExchangeMPConfig.exe, and it is installed with the Configuration Wizard.

重要

It is highly recommended that you run the Configuration Wizard first against your current server configuration so that you can export a valid configuration file.

The command-line interface supports two major operations: importing a user-created configuration file or creating a report in the form of a configuration file that shows the current configuration of a server or administrative group.

When importing a configuration file, the command-line interface supports silent operation and interactive operation. For silent operation, you are not required to enter any information beyond command-line parameters. This mode is useful for scripting. To run the operation in silent mode, you must specify, in addition to the configuration file, both the Mailbox Access Account user name and password as parameters on the command line. Silent mode can be used only if the Mailbox Access Account was previously created.

In interactive mode, you must specify, at minimum, the configuration file that you want to import. Optionally, you can choose to specify a Mailbox Access Account on the command line. If it is not provided, the ExchangeMPConfig.exe tool will prompt for it interactively. You will also be prompted for the Mailbox Access Account password. If the Mailbox Access Account will be created by the tool, you must also specify the location of its Exchange mailbox (the server running Exchange, storage group, and mailbox store).

The command-line interface, like the wizard, can be run on any workstation or server as long as it meets the prerequisites described in this section.