Users Guide
Command Line Interface (CLI) Options
Use the following CLI options and syntax when engaging the warranty tool.
Table 1. CLI options and syntax
CLI Option Name CLI Option
Abbreviation
Description Syntax
/Help /H Display usage (this information).
DellWarranty-CLI.exe /H
/Usage /U Display usage (this information).
DellWarranty-CLI.exe /U
/InputFile /I
NOTE: For the warranty tool to function,
you must provide at least one of the two
input flags, /I or /Ics.
The full path to an input CSV file of service tags
(C:\FileName.csv)
Required parameter; can be used with
configuration manager connection string.
DellWarranty-CLI.exe /
I=C:\FileName.csv
/InputCfgMgrConnectionString /Ics
NOTE: For the warranty tool to function,
you must provide at least one of the two
input flags, /I or /Ics.
Connection string to the Configuration Manager
database.
("Data Source=[host];Database=[Configuration
Manager dbname];Integrated Security=true;")
("Data Source=[host];Database=[ Configuration
Manager dbname];User
id=[username];Password=[userpwd]")
Required parameter; can be used with input CSV
file.
DellWarranty-CLI.exe /
Ics="Data
Source=[host];Database
=[ Configuration
Manager
dbname];Integrated
Security=true;"
/ExportFile /E
The full path to a CSV export file. File will contain
warranty information after CLI execution.
(Default: [ProgramData\Dell\Warranty\]
[WarrantyOutput_[yyyyMMddhhmmss].csv)
(C:\WarrantyOutputFileName.csv
The parameter is optional.
DellWarranty-
CLI.exe /I=
C:\FileName.csv /
E=C:\WarrantyOutputfile
name.csv
/OutputConnectionString /Ocs
Connection string to the output warranty
database. Will contain warranty information after
CLI execution.
("Data Source=[host];Database=[Warranty
dbname];Integrated Security=true;")
The parameter is optional.
The /Ocs command creates a database with the
name given as above. The location of the database
is %USERPROFILE%\[Warranty dbname].mdf,
while the log file is %USERPROFILE%\[Waranty
dbname]_log.ldf. The %USERPROFILE% variable
DellWarranty-
CLI.exe /I=
C:\FileName.csv /
Ocs="Data
Source=[host];Database
=[Warranty
dbname];Integrated
Security=true;"
A
Command Line Interface (CLI) Options 9