Deployment Solution 376
Command-Line Switches
Tasks
Options
Note
To use the Run Script option (/trs), a script must be created in a file first. If you want
the script to be embedded, include the /i option. Otherwise, the task will link to the
script filename.
Example 1: Create a Job that makes an image of a computer named "Oscar" and run it
immediately.
/tci <filename> Create disk image
/tdi <filename> Distribute disk image
/tds <filename> Distribute software
/tbr <path> Backup registry files
/trr <path> Restore registry files
/trs <path> Run Script
/tcf <source> <dest> Copy file
/tgi Get Inventory
/tre Restart
/tsd Shutdown
/tlo Logoff
/a Add task to existing job
/r Replace all tasks within this job
/x <parameters> Command-line parameters for task
/f <folder-name> Job folder to be created in
/i Import script into task definition
/w Run the script from Windows
/lnx Run the script in Linux
/n Don't notify consoles of the changes
/nc Don’t do post image config
/de Add Description to task
/y Suppress confirmation prompts
/dsn <odbc-dsn-name> ODBC data source name
/d <db-server> Database server name
/u <db-user> Database user name
/db <db-databaseName> Database name
/p <db-password> Database user password
/lu <login-user> Deployment Server login user name
/lp <login-password> Deployment Server login password