Previous Topic: ExampleNext Topic: Example


removeSubgroups—Remove Subgroups

This action allows you to remove subgroups from a computer group.

This action has the following format:

compgroup action=removeSubgroups 
[name=group_name]
{compgrp=group_name}
name

Specifies the name of a computer group the specified computer groups will be removed from. The group should not be associated with a query. If this parameter is not coded then the subgroups are removed from the folder "Computer and User Groups".

compgrp

Specifies the name of a computer group to be removed.

The parameter can be coded more than once to remove a list of computer groups.

Notes: "Remove" does not mean that any computer group of the "compgrp" parameter is deleted, it is only unlinked from the supergroup specified with the name parameter.

The group specified by the name parameter should not be a query group.