Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

StaticComponentGroup - createGroupWithParentName


StaticComponentGroup - createGroupWithParentName

Description :

This command creates a component group within a parent component group. The parent component group is identified by name. The name of the parent group must be fully qualified, such as /Windows/IIS.

This command returns the ID of the newly created group.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

groupName

String

Name of the component group to be created.

parentGroupName

String

Fully qualified name of the server group that will be the parent group.

Example

This example shows how to create a component group inside another component group:

Script





PARENT_GROUP="/parent"

COMPONENT_GROUP1="group1"

# Now create new group

COMPONENT_GROUP1_ID=`blcli StaticComponentGroup createGroupWithParentName $SERVER_GROUP1 $PARENT_GROUP`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3