Skip to main content

multiscan command

Use the multiscan command to remotely scan the firmware information of multiple BMC, and specify the BMC information and the configuration parameters by using a JSON configuration file. The output results are saved in the OneCLI logs in xml format, for example, multi_task\20190429_154002\Success-10.240.194.248\Onecli-update-scan.xml.

multiscan command syntax

OneCli.exe update multiscan <--configfile <arg>> [--dir <arg>] [--quiet|-q] [--pattern <arg>] [--check-trust|-C] 
[--never-check-trust|-N] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]

Options

--pattern
Filter the items in the scan result tables of multi servers through the regular expression. The outputs are displayed on the screen and recorded in the JSON file in the log directory.
--configfile
Specify the JSON configuration file. The template file is available in Sample/multi_task_config.json in OneCLI binary.
Table 1. multiscan command specific parameters
ParameterRequired/OptionalNotes
--configfileRequiredSpecify the JSON configuration file for multi-task commands. The template file is available in Sample/multi_task_config.json in OneCLI binary.
--configOptionalSpecify the file path for the OneCLI config commands.
--dirOptional

Specify the directory of the firmware package.

If no directory is specified, use the current directory.

--patternOptionalFilter the items in the scan result tables of multi servers through the regular expression. The outputs are displayed on the screen and recorded in the JSON file in the log directory.
--quiet, -qOptional

This parameter answers yes for all questions, and decreases the outputs displayed on screen.

  • --check-trust, -C

  • --help,-h

  • --never-check-trust, -N

  • --nolog

  • --output, -o

Optional

Refer to Table 2.

Example of the multiscan command

OneCli.exe update multiscan --configfile xxxconfig.json --quiet --pattern “^UEFI”