Skip to content

list related groups

Chris Lowth edited this page Sep 21, 2022 · 7 revisions

list related groups

Usage:

tbutil [{cred}] list [all] related groups [-l|-j|-s ..|-y|-x ..] [-columns ..] [-jsfilter ..] {entity_id}

Lists the groups that the specified entity is a member of. The entity may be a VM, host or any other entity type that can be grouped and must be specified by it's UUID.

If the all option not is specified then only "leaf" groups that contain the entity are listed. If all is specified, then the parent, grand parent, great gaand parent (etc) groups are listed.

This command supports the following set of common formatting options: -l, -j, -s, -y, -x and -columns.

If the -jsfilter option is specified then the tool loads and runs the specified filter script. Only the sub-set of groups for which the function returns true are included in the listing.

See also: "create static group", "delete group", "export group", "import group" "list groups", "list group members"

Clone this wiki locally