Running the Remote Uninstallation Script from the Command Line

You can run remote uninstallations from the command line by using the .xml file that was created at the time you saved the uninstallation in a script. The .xml file contains the selections you made in the uninstallation dialog box of the CommCell Console.

Saving the uninstallation in a script is useful in the following scenarios:

  • You want to uninstall the software at a later time.

  • You might have a batch script with a set of administrative tasks, and you want to define the uninstallation task in the batch script (by calling the .xml).

Before You Begin

You must have saved the uninstallation as a script. For instructions, see Uninstalling Commvault Remotely Using the CommCell Console.

Procedure

  1. Log on to the computer where you saved the script.

  2. At the command line, go to the Installation_Directory_Path/Base directory and run the following command to log on to the CommServe:

    qlogin -cs commserve_host_name -u user_name

  3. To run the script (.xml file), type the following command:

    qoperation execute -af Path_to_XML_File

  4. To log off the CommServe, type the following command:

    qlogout

Loading...