How to Change Controller User_Tag fields value by a command line

Document ID : KB000118387
Last Modified Date : 24/10/2018
Show Technical Document Details
Introduction:
In certain circumstance is required to update user tag values in a bulk way due updating controller for all devices one by one could take much time.If we have a list of robots to update we can do it using pu command line.
Question:
How to Change Controller User_Tag fields value by a command line 
Answer:
The next command line will help to change User_Tag field values using a command line:

Command: 
\nimsoft\bin\pu -u administrator -p [PWD] /[DOMAIN]/[HUB]/[ROBOT]/controller probe_config_set controller controller os_user1 [VALUE] "" /[DOMAIN]/[HUB]/[ROBOT] 

Use os_user1 or os_user2 variable depend on the tag that you like to update. 

Example: 

c:\nimsoft\bin\pu -u administrator -p Password01 /JALXXX_domain/JALXXX_hub/JALXXX-ROBOT/controller probe_config_set controller controller os_user2 HELLO_NEW_VALUE "" /JALXXX_domain/JALXXX_hub/JALXXX-ROBOT 

Note: 
You can create a script that run this command line for each robot that you like to update