Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

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.

DepotFile - getLocationByGroupAndName


DepotFile - getLocationByGroupAndName

Description :

This command returns the location of a depot file on the BMC BladeLogic file server. The location has the following format:

//file_server_name/storage_path//depotfiles/checksum_of_the_depot_file

Example:

//myServer/bladelogic/storage//depotfiles/bb16f8c10ede2d1488e518d33a54da5

Note that when you add a file to the depot, the system automatically creates the depotfiles directory, and stores a copy of your file there. The depotfiles directory is located directly under the file server storage location that you specified when you configured the Application Server.

Return type : String

Command Input :

Variable Name

Variable Type

Description

group

String

Fully qualified path to a depot group.

name

String

Name of the file as it appears in the BMC BladeLogic GUI.

Example

The following example gets the location of a depot file.

Script


DEPOT_GROUP=/myGroup

DEPOT_NAME="My configuration file"

DepotFile getLocationByGroupAndName $DEPOT_GROUP $DEPOT_NAME



 

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

BMC Server Automation Command Line Interface 8.5