StaticServerGroup - groupExists
StaticServerGroup - groupExists
Description :
This command determines whether a static server group exists when you identify that server group by its full path (for example, /Windows/WestCoast/Intranet).
This command returns true if the group exists; otherwise it returns false.
Return type : Boolean
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
qualifiedGroupName | String | Fully qualified path to the server group. |
Example
The following example shows how to test that a group exists before taking an action such as adding a server to the group:
Script
SERVER_GROUP1="/parent/group1"
`blcli StaticServerGroup groupExists $SERVER_GROUP1`
`blcli StaticServerGroup groupExists $SERVER_GROUP1`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*