Previous Topic: list—List DomainsNext Topic: listMembership—List Domain Groups Containing the Domain


Example

To list all areas enter the following command:

cadsmcmd area action=list
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: mymanager
Domain: mydomain
Domain type: Domain
Supporting: CO CCNF USD OSIM 
-------------------------------------------------------------------------------
List of areas
-------------------------------------------------------------------------------
area 1
area 2
area4test
WWWWW01B

Number of items listed.................: 4
Number of items read...................: 4

SDCMD<A000000>: OK

To list the areas having the hostname starting with 'W' using filters, enter the following command:

cadsmcmd area action=list filter="Host name=W*"

The result is displayed as follows:

-------------------------------------------------------------------------------
List of areas
-------------------------------------------------------------------------------
WWWWW01B

Number of items listed                 : 1
Number of items read                   : 4

SDCMD<A000000>: OK