Previous Topic: caaipaomwsclient Command--Enumerating Objects

Next Topic: caaipaomwsclient Command--Deleting Objects


caaipaomwsclient Command--Updating Objects

This command updates one or more properties of an object. Supply the keys and the properties to be updated as key=value pairs on the command line.

This command has the following format:

caaipaomwsclient /user=user /password=password /setProperty=class_name key1=value key2=value property1=value property2=value /locale=iso639value
user

Defines the CA EEM user name.

password

Defines the password for the specified CA EEM user.

class name

Specifies the class of the object being queried.

locale

(Optional) Specifies an IS0 639_3166 combination (for example: fr_FR for French) to override the default English output. To use the locale of the command prompt, specify "native".

Example

In this example, Name and CreationClassName are the required keys of the object, and HealthState is the property being updated.

/setProperty=ComputerSystem Name=0019CC CreationClassName=ComputerSystem HealthState=15