Users Guide
Example Commands
• To set the repository or catalog file location
<c:\\catalog.xml>:dcsu-cli.exe /catalog c:\\catalog.xml
• To import a new policy file
< c:\log.txt>: dcsu-cli.exe /policy c:\log.txt
CLI Reference
Table lists information on the CLI options available in DCSU.
The CLI syntax is as follows:
dcsu-cli.exe <option1> [<value1>] <option2> [<value2>]...
Table 1. CLI Reference
CLI Options Description Mandatory Syntax
/?
Prints the usage of all CLI
options
NOTE: All other options
are ignored with /?.
No
dcsu-cli.exe /?
/catalog
Sets the repository and
catalog file location,
<value> is the path for log
directory.
Yes
dcsu-cli.exe /
catalog \\MyServer
\MyRepositoryShare
\MyCatalog.xml
/help
Result is same as /? No
dcsu-cli.exe /help
/log
Sets the log file directory,
<value> is the path for log
directory.
*Yes
dcsu-cli.exe /log
C\logs
/policy
Specifies a policy file to
determine settings for the
duration of a single
execution, <value> is the
path for policy.
Yes
dcsu-cli.exe /
policy C:\temp
\MyPolicy.xml
/import
Imports the policy file.
NOTE: You cannot use
this in combination with
any other option.
Yes
dcsu-cli.exe /
import/policy C:
\temp\MyPolicy.xml
/reboot
Reboots the system
automatically (If required by
one or more updates).
*Yes
dcsu-cli.exe /
reboot
/report
Creates a report in the XML
format of the available
updates only (no update
*Yes
dcsu-cli.exe /
report C:
\report.xml
13