How do I perform a migration from the EMCLI using an input file?
Exchange Migrator 2.2 SP1 HF34780
Exchange Migrator 2.3
As of the release of Exchange Migrator (EM) 2.2 Service Pack 1 (2.21) Hotfix 34780 and later, the EM command-line interface (EMCLI) provides some new features. You can now generate text files for your projects containing a record for each mailbox object in the project that remains unmigrated. EMCLI also allows you to provide a source file, populated with mailbox objects, to use as the source for your migration. During each of these processes, it will validate the settings that have been specified for that project. Therefore, the Specify Migration Options wizard must be run prior to creating the list file and/or executing the migration.
To generate a text file for your project containing a record for each mailbox object in the project that remains unmigrated, run the following command from the folder where you installed Exchange Migrator.
EMCLI MKMLIST /PROJECT "projectname" /FILE filename >outputfile.txt
To perform a migration via the EMCLI using the input file as a source, run the following command from the folder where you installed Exchange Migrator.
EMCLI MLISTMIG /PROJECT "projectname" /FILE filename >outputfile.txt
The >outputfile.txt is an optional switch. If this switch is not used, output will be written to the command line. Both the creation of the list file and the MLISTMIG mailbox migrations are logged to the standard Exchange Migrator log files upon exectution. (EMApplog and EMDevlog).
Please refer to the following knowledge base article for information on a possible error when executing this task:
Please note that this information along with additional information can be obtained from Appendix B of the product User Guide.