Previous Topic: list—List Computer GroupsNext Topic: listMembership—List Membership of Computer Group


Example

Suppose a listing of all those groups, which are determined by a query and which are local, is required. The following command will generate such a list at a domain manager:

cadsmcmd compgroup action=list filter="(Group type=Group && Scope=local)"

-------------------------------------------------------------------------------
List of Computer Groups
Filter: (Group type=Group && Scope=local)
-------------------------------------------------------------------------------
cg_1:(Group, local)
cg_2:(Group, local)

Number of objects shown: 2
Number of objects read: 2

SDCMD<A000000>: OK