You can change the parameters (such as the display name and the hostname) of a client computer using the command line.
Procedure
-
Log on to the Commserver computer.
-
From the CommCell Browser, go to Client Computers.
-
Right-click the client, and then click Properties.
The Client Computer Properties dialog box appears.
-
Click Save As Script.
The Save As Script dialog box appears.
-
From the Client list, select the client that you want to change the properties for.
-
In the File Path box, enter the file path.
-
Click OK.
The script is saved in XML.
-
Close the Save As Script dialog box and the Client Computer Properties dialog box.
-
Open the XML file.
-
Update the parameter value.
-
Save the XML file.
-
Open the command line as administrator, and then go to software_installation_directory/Base folder.
-
Run the qlogin command to log on to the CommServe computer using the administrator account.
-
Run the following command:
qoperation execute -af xml_path\script_file_name.xml
Examples
Example 1: Change the Display Name of a Client Computer
This example updates the display name to silverstorage. Update the <displayName> parameter in the XML script for the client computer, and then run the qoperation execute command.
<displayName>
silverstorage
</displayName>
Example 2: Change the Hostname of a Client Computer
This example updates the hostname to monroevm. Update the <hostName> parameter in the XML script for the client computer, and then run the qoperation execute command.
<hostName>
monroevm
</hostName>