Included with MOVEit Automation is a command-line utility, GetMICConfig.exe, to retrieve the current configuration from a running copy of MOVEit Automation on the local machine. The ability to retrieve the current configuration is useful for certain advanced tasks, such as generating custom reports.
Although the MOVEit Automation configuration is already stored in a disk file named miccfg.xml, this file is encrypted and is therefore not usable by external applications. Although a similar config export capability is available via MOVEit Automation Admin and MOVEit Automation Web Admin, these require human interaction. By contrast, GetMICConfig is suitable for running from a script or batch file.
GetMICConfig is installed in the same directory as MOVEit Automation, typically \Program Files\MOVEit.
GetMICConfig syntax:
GetMICConfig -o outfile -u username -p password [-k]
where:
outfile |
The name of the desired output file. This file will contain the entire MOVEit Automation configuration in plaintext XML format. (This does not include the small number of settings, such as the license key, that are maintained in the registry and administered by the MICentralCfg program.) |
username/ |
The credentials of the user with access to export the configuration. |
-k |
Specifies that the old copy of outfile, if any, should be kept if GetMICConfig is unable to retrieve the settings. By default, GetMICConfig will delete any old outfile before connecting to MOVEit Automation. |
The program exit code is:
0 if all OK
1 if command-line error
2 if communication error with MOVEit Automation
3 if bad response from MOVEit Automation, possibly because of incorrect credentials
4 if could not write output file
This can be checked from a batch file using IF ERRORLEVEL.