Is there a command\utility to change a Service or CI property like 'Label, Location etc'...
- To change a Service or CI Property, we can use 'WSSamCICmd.bat' utility located in SOI_HOME\tomcat\bin.
Ex: The below example change a CI Label from "UC_Server.ca.com" to "Eastern_Cape" as shown in the screenshot
Syntax: WSSamCICmd -h<SAMServer>:7090 -usamuser -p<EncryptedPwd> -aUpdate -i<InstanceID> -n<PropertyName> -v<PropertyValue>
WSSamCICmd -h<SAMServer>:7090 -usamuser -p<EncryptedPwd> -aUpdate -iComputerSystem:sysname,uc_server.ca.com -nitem_label -vEastern_Cape
Note: Run WSSamEncryptCmd.bat from the same directory to generate an encrypted version of the password for use in -p<password> parameter.
After running above command the label has changed to 'Eastern_Cape'.