Previous Topic: addSubgroups—Add Subgroups to Server GroupsNext Topic: listSubgroups—List Subgroups of Server Groups


Example

Suppose the server groups named "LA admin" and "LA sales" should be added to the server group "LA District" as subgroups.

The following command will assign these groups as subgroups to the supergroup "LA District":

cadsmcmd servergroup action=addSubgroups name="LA District" servgrp="LA admin" servgrp="LA sales" 

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