Subcommands and option switches for key management on IMM

The subcommand and option switches for FoD activation key management on IMM are listed in the following table.

Syntax

Table 1. Common subcommands and option switches for key management on IMM
Subcommand Command-line option (case sensitive) Argument Description
export_imm_uid: This subcommand is used to export the unique identifier(s) of FoD feature(s) to a file saved in DSA output path, and then save to removable media. --help None Output subcommand export_imm_uid usage help screen to stdout.
  --export_imm_uid None This subcommand is used to export the unique identifier(s) of FoD feature(s) to a file saved in DSA output path, and then save to removable media.
report_imm_active_fod: This subcommand is to report inventory information of installed activation key(s) in the IMM repository. --help None Output subcommand report_imm_active_fod usage help screen to stdout.
  --host

userid:password
@hostip:[port]

This option is used for the device interface connection to the remote key repository. The default is the local IMM device. The default port is 5989.
install_imm_fod: This subcommand is used to download and install activation key(s) to the IMM repository. --help None Output subcommand install_imm_fod usage help screen to stdout.
  --ibmid

userid:
password

This option is used to specify the credential KMS ID for the interactive authorization by Lenovo Web site.
  --uid unique_id This option is the unique identifier information of FoD feature.
  --authcode [code] This option is used to specify IBM authorization code and is optional. Once this switch is used, a key generation will be performed by KMS.
  --mt machinetype This option is used to specify the machine type of target device.
  --host

userid:password
@hostip:[port]

This option is used for the device interface connection to the remote key repository. The default is the local IMM device. The default port is 5989.
uninstall_imm_fod: This subcommand is used to uninstall specific activation key(s) from the IMM repository. --help None Output subcommand uninstall_imm_fod usage help screen to stdout.
  --keyid keyid This option is used to specify the activation key ID returned from report command. If keyid is all, it will uninstall all keys.
  --host

userid:password
@hostip:[port]

This option is used for the device interface connection to the remote key repository. The default is the local IMM device. The default port is 5989.