ONTAP 9.14.1 commands

vserver vscan on-demand-task report delete

Delete an On-Demand report

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver vscan on-demand-task report delete command deletes an On-Demand report.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver from which you want to delete an On-Demand report.

-task-name <text> - Task Name

This parameter specifies the name of the On-Demand task whose report you want to delete.

-report-file <text> - Report File Path

This parameter specifies the path of the report-file whose report record you want to delete.

[-delete-report-file {true|false}] - Delete Report File Also

This parameter specifies if the corresponding report file is also to be deleted. By default, it is false.

Examples

The following example deletes only On-Demand report record:

cluster1::> vserver vscan on-demand-task report delete -vserver vs1 -task-name t1
            -report-file /rep/avod_146_20150902_161439.log

cluster1::> vserver vscan on-demand-task report delete -vserver vs1 -task-name t1
            -report-file /rep/avod_146_20150902_161439.log
There are no entries matching your query.

The following example deletes an On-Demand report file along with the report record:

cluster1::> vserver vscan on-demand-task report delete -vserver vs1 -task-name t1
            -report-file /rep/avod_146_20150902_161439.log -delete-report-file true

cluster1::> vserver vscan on-demand-task report delete -vserver vs1 -task-name t1
            -report-file /rep/avod_146_20150902_161439.log -delete-report-file true
There are no entries matching your query.
Top of Page