

CADSMCMD Command Line Interface › cadsmcmd Commands › templategroup—Software Template Commands › Template Groups: Item Management › modifyItem—Modify Item in Software Template › Example
Example
The uninstallation job of the software template "tg" is considered as modified in the following way:
- User parameters "-x -Nc -ro" has to be added.
- The job time out is reduced to 12 hours.
- During uninstall any user logon should be rejected.
- The users have to be logged off before job start.
- The job has to resolve a specified group query before it is generated and launched.
The following command meets these requirements:
cadsmcmd templateGroup action=modifyItem
name=tg
jobName="prod 1.0/00:uninstall"
preaction=logoff
PreventLogon
ResolveQuery
parameters="-x -Nc -ro"
JobTimeout=0.12
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|