udclient [global-args...] [global-flags...]
getAgent [parameters]
Parameter | Type | Required | Description |
---|---|---|---|
agent | string | true | Name or ID of the agent |
udclient -username admin -password admin
-weburl https://myserver.example.com:8443
getAgent
-agent Agent1
{
"id": "bdc2019c-78ae-403c-a528-22b31ae3c183",
"name": "Agent1",
"active": true,
"licensed": false,
"licenseType": "NONE",
"status": "ONLINE",
"version": "6.0.1.0.452394",
"workingDirectory": "/opt/ibm-ucd/agent/var/work/",
"impersonationPassword": "****",
"impersonationForce": false,
"tags": [
],
"security": {
"read": true,
"write": true
},
"propSheet": {
"id": "4efdfe42-467a-4cb9-8594-68d7c3b98038",
"path": "agents/bdc2019c-78ae-403c-a528-22b31ae3c183/propSheet",
"version": 6,
"versionCount": 6,
"commit": 81,
"versioned": true
},
"extendedSecurity": {
"read": true,
"write": true,
"Edit Agents": true,
"View Agents": true,
"teams": [
{
"teamId": "ea307e2e-d6be-4092-a7e8-e8e02274de7e",
"teamLabel": "My team"
}
]
}
}
Related REST command: Get information about an agent.