Server - findServerObjectsByGroup
Server - findServerObjectsByGroup
Description :
This command finds all the server objects in a server group, either recursively or not. Returns a list of server objects.
Return type : com.bladelogic.om.infra.model.ListContainer
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
groupId | Integer | ID of the server group. |
recursive | Boolean | True to recursively search the child groups, false otherwise. |
Example
The following example finds all server objects in a server group with the ID of 2000016 recrusively:
Script
Server findServerObjectsByGroup 2000016 true
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*