Microsoft KB Archive/262419

= XADM: Running Exmerge.exe Against Multiple Servers Without Customizing the .ini File =

Article ID: 262419

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q262419



SUMMARY
You may want to run multiple instances of the Microsoft Exchange Mailbox Merge program (Exmerge.exe) against several servers.

For example, you may need to remove certain messages from the mailboxes on several servers. It can be time consuming to configure the .ini file with the correct server name for each server that the program needs to be run against.

This article describes how to create a generic .ini file and run multiple instances of the Exmerge program against different servers.



MORE INFORMATION
Exmerge.exe version 3.68 and later supports two new command-line parameters (-srcserv and -tgtserv). If you use these command-line parameters, you can specify the source and destination (target) server names, without having to enter these names in the .ini file. These command-line parameters are most useful when you use the parameters in conjunction with the %computername% environment variable.

For example, the following command specifies that the local computer needs to be used as the source server:

exmerge -b -f c:\exmerge.ini -srcserv %computername%

The advantage of using the command-line parameters in the above manner is that an .ini file can be created with all the required settings, once. A batch file can also be created with a command that is similar to the above command. To run the program on multiple computers, copy the .ini file and the batch file to each computer, and then run the batch file. You do not need to customize the .ini file for each server that you want the Exmerge program to run against.

NOTE: If the .ini file contains server names, the name that is specified on the command line overrides the settings in the .ini file.

Keywords: kbinfo KB262419

-

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

© Microsoft Corporation. All rights reserved.