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.

Server - setPropertyValueByName


Server - setPropertyValueByName

Description :

This command sets the value of a property on a server.

The name of the server must be the name displayed within the BMC BladeLogic Configuration Manager console.

Return type : com.bladelogic.om.infra.model.server.Server

Command Input :

Variable Name

Variable Type

Description

serverName

String

Name of the server.

propertyName

String

Name of the property whose value you want to change.

valueAsString

String

The value you want to set the property to.

Example

This example script assumes that a property called is_approved has been defined in the Server property class.

Script





Server setPropertyValueByName engWin2k3Aut1 is_approved true



 

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