How to fill User Data fields using CADSMCMD?
search cancel

How to fill User Data fields using CADSMCMD?

book

Article ID: 199420

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

CADSMCMD lets create some scripting to perform automated tasks, some of them is to modify or update information of Agent machines.

Is there any way to fill User Details fields of target Agents locally from the Domain Manager?

Environment

Client Automation - All versions

Resolution

Internally, those special fields are not actually called "User Detail X", this is just how they appear on DSM Explorer, the actual name of those fields is: "User", "Location", "Phone" and "Comment"

In order to fill those fields with certain data, the following command can be executed on the Domain Manager:

cadsmcmd targetComputer action=modify name=<Agent_Name> location=Street1 user=User1 phone=123456 comment=Comment1

Which will be reflected on DSM Explorer as:

Additional Information

Having this as example, some scripting can be built to automate this procedure.