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.

DepotGroup - createGroupWithParentName


DepotGroup - createGroupWithParentName

Description :

This command creates a depot group as the child of a parent depot group. You must provide the name of the group being created and the fully qualified path to the parent group (for example, /Packages/Software). 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 depot group to be created.

parentGroupName

String

Fully qualified path to the parent depot group.

Example

The following example shows how to create a depot group inside another depot group:

Script





PARENT_GROUP="/parent"

DEPOT_GROUP1="group1"

# Now create new group

DEPOT_GROUP1_ID=`blcli DepotGroup createGroupWithParentName  $DEPOT_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.5