BLCLI updates for SP2
Service Pack 2 for BMC Server Automation 8.2 (product version 8.2.02) includes the following updates to BLCLI commands:
Namespace | Command | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This new command returns the value of the specified property, exactly like the existing command Server printPropertyValue, except when the property's type is a custom property class. In that situation, the property's value is a custom property instance, and this command returns the full path of the custom property instance. The path is in this format: Class://SystemObject/<property_class_path>/<property_instance_name> If the property's type is a custom property class, the command Server:printPropertyValue returns the DBKey of the property instance. This command has the following inputs:
Example This example prints the value of the server property “NAME” of host server1. blcli Server printPropertyValueAsString server1 NAME | ||||||||||||||||
setOverriddenParameterValueFromString This new command specifies values for the unresolved local parameters of the BLPackage used by a Deploy Job. The command returns the DBKey of the altered Deploy Job. When setting the value of encrypted parameters, the value provided to this command should be a clear text string. This command will encrypt the value and set it to the parameter. When setting the value of enumerated parameters, the value provided must be the display name of the value. This command has the following inputs:
Example This example assumes that the Deploy Job referenced uses a BLPackage that has an unresolved parameter called encrypted_passwd. blcli DeployJob setOverriddenParameterValueFromString /Jobs/DeployTest Deploy1 encrypted_passwd "myPassword" |