Deleting an Agent (qdelete dataagent) (VMware command line)

You can use the qdelete dataagent command to deconfigure and delete the Virtual Server Agent for a specified virtualization client.

Before You Begin

  • Log in to the CommServe host using the qlogin command.

Reference Information


This command deconfigures or deletes the specified agent.

By default, the qdelete dataagent command asks for confirmation before deletion. You can skip the confirmation prompt using the "-y" option.

Upon completion, qdelete dataagent displays a message that the agent was successfully deleted on the command prompt. In case of an error, an error code and description are displayed as: "dataagent: Error errorcode: errordescription"


qdelete dataagent -c client -a agent [-deconfigure] [-y] [-tf tokenfile] [-tk token] [-h]



Client computer name


The agent to be deleted (see Argument Values - Agent Types)


Deconfigures the agent without deleting it


Delete without confirmation


Reads token from a file


Token string


Displays help


Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.


  • Delete an agent named MyDataAgent under client client1.

    qdelete dataagent -c client1 -a MyDataAgent
    This command deconfigures and deletes an agent, do you want to configure (y/n)

  • Deconfigure an agent named MyDataAgent under client client1 without any confirmation.

    qdelete client -c client1 -a MyDataAgent -deconfigure - y

Last modified: 3/13/2019 8:17:27 PM