Skip to main content

get command

Use the get command to get the generated FoD key from Lenovo Web site.

get command syntax

OneCli.exe fod get < --uid <uid>> < --kmsid <kms_id>> [--all] [--dir <dir_name>] [--proxy <proxy_info>]
[<options>]
Table 1. get command specific parameters
ParameterRequired/OptionalNotes
--allOptionalGet all the FoD keys for the specified system.
--dirOptionalSpecify the directory to save the downloaded key file. The default value is the current directory.
--kmsidOptionalSpecify Lenovo ID credential for Lenovo Web site interactive.
--proxyOptional

Use proxy to connect to Lenovo Web site.

The format is user: password@host[:port].

For IPv6 address, the format is socks5://user:password@[IPv6]:port.

--uidRequiredSpecify unique identifier information.
  • --check-trust, -C

  • --never-check-trust, -N

  • --nolog

  • --output, -o

Optional

Refer to Table 2.

Example of the get command

OneCli.exe fod get --uid xxx [--kmsid userid:password] --output get