Dell Command | Update Version 2.0 User's Guide

CLI Reference

The following table lists information on the CLI options available in Dell Command | Update.

The CLI syntax is as follows:

dcu-cli.exe <option1> [<value1>] <option2> [<value2>]...

Table 1. CLI Reference
CLI Options Description Syntax
/? Prints the usage of all CLI options
  • NOTE: All other options are ignored with /?.
dcu-cli.exe /?
/catalog Sets the repository and catalog file location. The <value> is the path for log directory.

The /catalog parameter does not accept a list of paths and it only accepts a single path.

If you want to include multiple paths, for example have a backup location, then you can use the /policy option.

dcu-cli.exe /catalog \\MyServer\MyRepositoryShare\MyCatalog.xml

For a mapped drive

: dcu-cli.exe /catalog \\Z:\MyRepositoryFolder\MyCatalog.xmlMyServer\MyRepositoryShare\MyCatalog.xml
/help Result is same as /? dcu-cli.exe /help
/log Sets the log file directory. The <value> is the path for log directory. dcu-cli.exe /log C\logs
/policy Specifies a policy file to determine settings for the duration of a single execution. The <value> is the path for policy.

A policy file can include one or more catalog paths for the CLI.

dcu-cli.exe /policy C:\temp\MyPolicy.xml
/import Imports the policy file. The /policy option is required to specify the file.
  • NOTE: You cannot use this in combination with any other option.
dcu-cli.exe /import/policy C:\temp\MyPolicy.xml
/reboot Reboots the system automatically (if required by one or more updates). dcu-cli.exe /reboot
/report Creates a report in the XML format of the available updates only (no update performed). The <value> is the path for report output file. dcu-cli.exe /report C:\report.xml
/silent Runs the CLI options silently (no status output displayed). dcu-cli.exe /silent
/hidden Displays the list of current hidden updates.
  • NOTE: You cannot use this in combination with any other option.
dcu-cli.exe /hidden
/driverRestore Enables re-installation of drivers. To use a local CAB file, specify the cab path.
  • NOTE: If the path is not specified, Dell Command | Update uses the Dell cab file specific to the system configuration.
/driverRestore or /driverRestore <path_to_cab>

Example Commands

  • To set the repository or catalog file location
    <c:\\catalog.xml>:dcu-cli.exe /catalog c:\\catalog.xml
  • To import a new policy file
    < c:\log.txt>: dcu-cli.exe /policy c:\log.txt

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\