Included with MOVEit Central is a command-line utility, GetMICConfig.exe, to retrieve the current configuration from a running copy of MOVEit Central on the local machine. The ability to retrieve the current configuration useful for certain advanced tasks, such as generating custom reports.
Although MOVEit Central's configuration is already stored in a disk file named miccfg.xml, this file is encrypted and is therefore not usable by external applications. And although a similar config export capability is available via MOVEit Central Admin, MOVEit Central Admin requires human interaction. By contrast, GetMICConfig is suitable for running from a script or batch file.
GetMICConfig is installed in the same directory as MOVEit Central, typically \Program Files\MOVEit.
GetMICConfig's command line is:
GetMICConfig -o outfile [-k]
where:
outfile |
is the name of the desired output file. This file will contain the entire MOVEit Central 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.) |
-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 Central. |
The program exit code is:
0 if all OK
1 if command-line error
2 if communication error with MOVEit Central
3 if bad response from MOVEit Central
4 if could not write output file
This can be checked from a batch file using IF ERRORLEVEL.