Previous Topic: createPolicy—Create a PolicyNext Topic: deletePolicy—Delete Policies


Example

When creating a policy of name “myPolicy” of type “computer” the following command should be called:

cadsmcmd comConf action=createPolicy name=myPolicy pType=computer comment=”myContainer”

The output provided by the command is 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

Identifier:1EED60D7-2CF9-11DB-A2C8-8DB9D78218A7
SDCMD<A000000>: OK