Previous Topic: ExampleNext Topic: Example


listmem—List Members of Computer Group

The action allows the lististing of members of a group.

It has the following format:

compgroup action=listMem 
name=group_name
[groupScope={global | local}]
name

Specifies the name of a computer group

groupScope

Specifies the scope of the computer group specified. The following values are valid for this option:

Global

The group is a global group, created at an enterprise manager. It may be replicated to a domain manager.

Local

Local scope (domain)

If "groupScope" is not coded then the CADSMCMD first tries to locate the group as a local group. If this fails then it is tried to locate the group as a global one.

The following output list will be provided:

-----------------------------------------------------------------------------
Members of computer group "(<group name>, <group scope>)"  
-----------------------------------------------------------------------------
<group member>
<group member>
<group member>
...