Previous Topic: addSubgroups—Add Subgroups to Computer GroupNext Topic: listSubgroups—List Subgroups


Example

Suppose the groups named "LA admin," "LA sales," and "LA rd," should be added to the group "LA District". The following command will assign these groups as subgroups to the supergroup "LA District":

cadsmcmd compGroup action=addSubgroups name="LA District" compgrp="LA admin" compgrp="LA sales" compgrp="LA rd" 

By the way, the groups "LA admin," "LA sales," and "LA rd," have to be defined at the time of command invocation, otherwise, an error is reported for the missing subgroup.