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 



Was this page helpful? Yes No Submitting... Thank you

Comments