Skip to main content

formatlog command

Use the formatlog command to transform the inventory XML files to HTML files.

formatlog command syntax

OneCli.exe inventory formatlog [<options>]
Table 1. formatlog command specific parameters
ParameterRequired/OptionalNotes
--hldecOptionalGenerate UEFI hidden logs by parsing inventory XML file specified with --srcdata. This is useful for trouble shooting.
--srcdataRequiredSpecify the inventory XML result file.
  • --nolog

  • --output, -o

Optional

Refer to Table 2

Example of the formatlog command

This example formats the xxx.xml file to HTML file and save the results to specified output folder.

OneCli.exe inventory formatlog –srcdata xxx.xml –output d:\onecli\inventory