Previous Topic: showPolicy—Show Detailed Information of PolicyNext Topic: unsealPolicy—Unseal Policies


Example

Basic information should be listed for the policy “enableUserProfiles”. This can be achieved by invoking:

cadsmcmd comConf action=showPolicy name=enableUserProfiles pType=computer

The information returned looks 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

-------------------------------------------------------------------------------
Show Policies
-------------------------------------------------------------------------------
Policy Name............................: enableUserProfiles
..Type.................................: COMPUTER
..Comment..............................:
..Status...............................: sealed

Number of policies listed: 1

SDCMD<A000000>: OK

Note: The name of a section is the absolute section path starting at policy's root of the format

 "/section_1/section_2/section_3".

The section name can also be seen at the Unicenter Client Automation Explorer's Internal Name column.

When detailed information is needed then the following command should be invoked:

cadsmcmd comConf action=showPolicy name=enableUserProfiles
pType=computer detailed

The information presented 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

-------------------------------------------------------------------------------
Show Policies
-------------------------------------------------------------------------------
Policy Name............................: enableUserProfiles
..Type.................................: COMPUTER
..Comment..............................:
..Status...............................: sealed
..Parameter Sections
....Parameter Section Name.............: /itrm/agent/solutions/usd_agent
......Identifier.......................: 8AC0F5E8-292F-11DB-979E-96A4044440CB
......Parameters
........Parameter Name.................: SupportedUnitTypes
..........Identifier...................: 8ACCE1AA-292F-11DB-979E-96A4044440CB
..........Value........................: Computer ComputerUser

Number of policies listed: 1

SDCMD<A000000>: OK

When in addition the parameter description is needed then the following command should be invoked:

cadsmcmd comConf action=showPolicy name=enableUserProfiles
pType=computer detailed desc

This would result in the following information

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

-------------------------------------------------------------------------------
Show Policies [DETAILED[desc]]
-------------------------------------------------------------------------------
Policy Name............................: enableUserProfiles
..Type.................................: COMPUTER
..Comment..............................:
..Status...............................: sealed
..Parameter Sections
....Parameter Section Name.............: /itrm/agent/solutions/usd_agent
......Identifier.......................: 8AC0F5E8-292F-11DB-979E-96A4044440CB
......Parameters
........Parameter Name.................: SupportedUnitTypes
..........Identifier...................: 8ACCE1AA-292F-11DB-979E-96A4044440CB
..........Value........................: Computer ComputerUser
..........Parameter Info Name..........: pi_SupportedUnitTypes
..........Attributes
............Attribute Name.............: ppath
..............Value....................: /itrm/agent/solutions/usd_agent/suppor
.........................................+ tedunittypes
............Attribute Name.............: desc_ja
..............Value....................: 
............Attribute Name.............: string2_ja
..............Value....................: 
............Attribute Name.............: string1_ja
..............Value....................: 
............Attribute Name.............: desc_fr
..............Value....................: Les types d'unités pris en charge par
.........................................+ le module d'extension de l'agent.
............Attribute Name.............: string2_fr
..............Value....................: Ordinateur + profil utilisateur
............Attribute Name.............: string1_fr
..............Value....................: Ordinateur
............Attribute Name.............: desc_de
..............Value....................: Die vom Agent-Plugin unterstützten Ein
.........................................+ heitstypen.
............Attribute Name.............: string2_de
..............Value....................: Computer + Benutzerprofil
............Attribute Name.............: string1_de
..............Value....................: Computer
............Attribute Name.............: desc_en
..............Value....................: The types of units supported by the ag
.........................................+ ent plugin.
............Attribute Name.............: string2_en
..............Value....................: Computer + User Profile
............Attribute Name.............: string2
..............Value....................: Computer ComputerUser
............Attribute Name.............: string1_en
..............Value....................: Computer
............Attribute Name.............: string1
..............Value....................: Computer
............Attribute Name.............: type
..............Value....................: stringlist

Number of policies listed: 1

SDCMD<A000000>: OK

When beside the basic information additional information about the configurations the policy is being attached to is needed too then the following command should be invoked:

cadsmcmd comConf action=showPolicy name=enableUserProfiles
pType=computer memof

The information returned 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

-------------------------------------------------------------------------------
Show Policies
-------------------------------------------------------------------------------
Policy Name............................: enableUserProfiles
..Type.................................: COMPUTER
..Comment..............................:
..Status...............................: sealed
..Member of............................: $AllComputer_update:1155623899
....Target.............................: $AllComputer

Number of policies listed: 1

SDCMD<A000000>: OK