Previous Topic: addPolicyToConfig—Add Policies to ConfigurationNext Topic: cancelConfig—Cancel Scheduled Configuration


Example

To add the policies “anotherPolicy” and “HideSystray” of type “computer” to the configuration “myConfig” invoke:

cadsmcmd comConf action=addPolicyToConfig
confId=AF2BB414-2D11-11DB-A2C8-8DB9D78218A7
policies=(anotherPolicy,computer) policies=(HideSystray,computer)

The information recorded by the cadsmcmd on stdout might look as follows:

CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Trace mode: Off

Connecting to manager "<default manager>" as user "<default user>" ...OK.
Manager: myDomMgr.ca.com
Domain: myDomMgr
Domain type: Domain
Supporting: CO CCNF USD OSIM
Configuration myConfig, AF2BB414-2D11-11DB-A2C8-8DB9D78218A7.
Policy added : anotherPolicy, COMPUTER, 0C165644-2D16-11DB-A2C8-8DB9D78218A7
Policy added : HideSystray, COMPUTER, BBD3174E-2D06-11DB-A2C8-8DB9D78218A7
SDCMD<A000000>: OK