# Changing the Parameters of a Client Computer Using the Command Line

You can change the parameters (such as the display name and the hostname) of a client computer using the command line.

## Procedure

1. Log on to the Commserver computer.

2. From the CommCell Browser, go to Client Computers.

3. Right-click the client, and then click Properties.

   The Client Computer Properties dialog box appears.

4. Click Save As Script.

   The Save As Script dialog box appears.

5. From the Client list, select the client that you want to change the properties for.

6. In the File Path box, enter the file path.

7. Click OK.

   The script is saved in XML.

8. Close the Save As Script dialog box and the Client Computer Properties dialog box.

9. Open the XML file.

10. Update the parameter value.

11. Save the XML file.

12. Open the command line as administrator, and then go to software_installation_directory/Base folder.

13. Run the qlogin command to log on to the CommServe computer using the administrator account.

14. 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>

×

Loading...