Skip to main content
A newer release of this product is available.

vserver vscan on-access-policy file-ext-to-include remove

Contributors
Suggest changes

Remove from the list of file extensions to include

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

Description

The vserver vscan on-access-policy file-ext-to-include remove command removes a file extension or list of file extension that are included for virus scanning from the specified policy.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver containing the specified on-access policy from which you want to remove a file extension or list of file extensions that are included for virus scanning.

-policy-name <Policy name> - Policy

This parameter specifies the name of the on-access policy from which you want to remove a file extension or a list of file extensions that are included for virus scanning.

-file-ext-to-include <File extension>,…​ - File Extensions to Scan

This parameter specifies the file extension or a list of file extensions that you want to remove from the specified on-access policy.

Examples

The following example removes a list of file extensions from the specified on-access policy.

cluster1::> vserver vscan on-access-policy file-ext-to-include remove -vserver vs1
            -policy-name policy1 -file-ext-to-include "txt*,"wav"

cluster1::> vserver vscan on-access-policy file-ext-to-include show -vserver vs1
            -policy-name policy1
Vserver: vs1
                     Policy: policy1
    File Extensions to Scan: mp*