udclient [global-args...] [global-flags...]
setAgentProperty [JSON file]
{
"agent": "Name or ID of the agent",
"isSecure": "Whether the property is secure; the default
is the current state of the property, or false if the
property is not yet specified (optional)",
"name": "Name of the property",
"value": "New value for the property (optional)"
}
udclient -username jsmith -password passwd
-weburl https://myserver.example.com:8443
setAgentProperty
-agent Agent1
-name Prop1
-value value1
{
"id":"cdf5e901-f19a-48b8-82fc-c92c256e31df",
"name":"newProperty",
"value":"newValue",
"secure":false
}
Related REST command: Set a property on a agent.