qdelete mediaagent

Updated

Description

This command deconfigures and deletes a MediaAgent. By default, the qdelete mediaagent command asks for confirmation before deletion, but this prompt can be suppressed by using the "-y" option.

Upon successful completion, qdelete mediaagent displays the message "Deleted the MediaAgent successfully" on the command prompt. In case of an error, an error code and description are displayed as: "mediaagent: Error errorcode: errordescription"

Usage

qdelete mediaagent -m MediaAgent [-y] [-tf <tokenfile>] [-tk <token>] [-h]

Options

-m

MediaAgent name

-y

Delete without confirmation

-tf

Reads token from a file

-tk

Token string

-h

Displays help

Diagnostics

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.

Example

Delete a MediaAgent with name M_Agent.

E:\commandline>qdelete mediaagent -m M_Agent
    

Note

You can mass-delete clients with or without their associated MediaAgents using the qdelete mediaagent command. You can include this command (along with the qdelete client command, if appropriate) in a script. Mass deletion of these items is useful if you want to remove them after a split of a CommCell. To mass-delete items where the CommCell is not split, be sure to run the script from the install location of the CommServe host.

Was this page helpful?