Previous Topic: VariablesNext Topic: How AutoDNA Performs the Migration


Command Line Options

The DMM Director command line options, their syntax and their rules for use are as following:

Except for the migration file parameter, all command line parameters have equivalent options in the migration file. We recommend that you use the migration file options to avoid the length limits of the command line.

Config file

Specifies the path and file name of the migration file you wish to execute.

This option is required and takes no parameters (for example, just the path and file name are required, no switch needs to be specified.)

Environment and DMM variables are supported.

Example: "C:\DirectorMigration\Source System.dmx"

DontRestartAtReboot

DMM Director restarts the system after IE or the libraries are installed. The next time the user logs in the migration automatically starts. This command line parameter prevents the automatic start of the migration.

Example: -DontRestartAtReboot

LibInstaller

Some systems must have libraries installed. This parameter must be followed by the path to the libinstaller.

Environment and DMM variables are supported.

Example: -LibInstaller "C:\DirectorMigration\DDNAInst\disk1\LibInst\Setup.exe"

LogFile

The DMM Director Log file contains details about the automated migrations, including CA DMM and DMM Director return codes. One log file is written for each migration, so you may want to consider naming each file uniquely (for example, using DMM variables).

This parameter must be followed by a valid path and file name to save the DMM Director Log file.

Environment and DMM variables are supported.

Example: -LogFile "C:\DirectorData\Logs\%DNA_Machine_Name%.log"

LogLevel

This parameter sets the level of detail that is written and saved in the DMM Director log for each migration. If no level is set, it defaults to very detailed.

This parameter must be followed by the number describing the level of detail:

0 = Errors only

1 = Warnings and Errors

2 = Information, Warnings and Errors

3 = Very detailed

Example: -LogLevel 2

NoReboot

This parameter prevents the restart of the workstation after any required installation or the completion of the migration.

Note: This option will not prevent the CDOM95 installer from causing a reboot.

Example: -NoReboot

NoDDNA

This parameter prevents CA DMM from running during a test scenario. Set this parameter if you are testing your automated process and do not want to actually perform any migrations. The command line that would have executed CA DMM and performed the migration is written to the Director log file if the log is set to at least a level 2.

Example: -NoDDNA

OnlyInstallLibs

This parameter causes the library installer to be executed if required and no further processing will be performed. Installing the libs causes the computer to restart, so you might want to install the libs before running an automated migration.

Example: -OnlyInstallLibs

RebootTimeout <secs>

This parameter displays a dialog that warns the user of an impending restart and lets the user cancel the restart. The number of seconds defines the number of seconds to delay before restarting the computer.

Example: -RebootTimeout 15 (This displays the warning dialog for 15 seconds before automatically restarting the computer).

?

This parameter displays a dialog containing the command line help. No further processing will occur.