Can the description field be filled through CLI?
search cancel

Can the description field be filled through CLI?

book

Article ID: 41666

calendar_today

Updated On:

Products

CA Client Automation CA Client Automation - Software Delivery

Issue/Introduction

Can the description field in computer properties be filled through CLI?

Environment

Client Automation - All Versions

Resolution

"Description" field cannot be filled through CLI, Nevertheless, the "User Data" fields (From 1 to 4) which refers to User Name, Phone Number, Location and Comment (Software Delivery Agent) Can be filled through Command Line using the following syntax: 
 
sd_acmd UserInfo USER=xxx (User Data 1) 
sd_acmd UserInfo LOCATION=xxx (User Data 2) 
sd_acmd UserInfo PHONE=xxx (User Data 3) 
sd_acmd UserInfo COMMENT=xxx (User Data 4) 
 
 
Example :
 
sd_acmd userinfo USER=TEST1
sd_acmd userinfo LOCATION=TEST2
sd_acmd userinfo PHONE=TEST3
sd_acmd userinfo COMMENT=TEST4
 
or with only one command line :
 
sd_acmd userinfo USER=TEST1 LOCATION=TEST2 PHONE=TEST3 COMMENT=TEST4
 
 

These information are stored on machine in file ..\CA\DSM\Agent\units\00000001\userdata.xml :

<userdata>
<user_item_4>TEST4</user_item_4>
<user_item_3>TEST3</user_item_3>
<user_item_2>TEST2</user_item_2>
<user_item_1>TEST1</user_item_1>
</userdata>
 
These information are sent to scalability server during the "caf register"

Additional Information

 
These 4 fields could also be updated on the Agent using the DSM systray icon under "Software Delivery Agent -> Properties"