Reference Guide

Option Description Format
-AvExcludeDirs <AvExcludeDirs> Directories to exclude from
antivirus scanning
Any string
-AvMaxFileSizeForScanning
<AvMaxFileSizeForScanning>
Maximum size of files that will be
sent for antivirus scanning
Floating point number
with suffix of units (for
example, 100MB)
-AvDenyAccessLargeUnscannedFiles
<AvDenyAccessLargeUnscannedFiles>
Indicate whether access to files
larger than the defined size will be
denied
Possible values are Yes,
No
-AccessBasedEnumeration
<AccessBasedEnumeration>
Defines whether access-based
share enumeration is active
Possible values are Yes,
No
-RequireMessageEncryption
<RequireMessageEncryption>
Defines whether traffic is required
to be encrypted while connected
to this share
-EnableExtensionsFilter
<EnableExtensionsFilter>
Enable file extension filtering
-ExtensionsFilter <ExtensionsFilter> List of file extensions that are
prohibited from creation or
renaming on a share
-EnableExtensionsFilterExcludeGroups
<EnableExtensionsFilterExcludeGroups>
Enable file extensions filter
exclude group list
-EnableContinuousAvailability Indicate if the continuous
availability feature is enabled on
the share. Continuous availability
features track file operations on a
highly available file share so that
clients can fail over to another
node of the cluster without
interruption.
-EnableBranchCache Enables branch cache on a share
-BranchCacheExtensionsFilter List of file name extensions
-BranchCacheExtensionsFilterType Filter type Possible values are
Exclude, None
Example
Enable antivirus scanning on an SMB share named share and exclude .docx files from antivirus scanning:
CLI> NAS-volumes SMB-shares edit share -AntiVirus Yes -
EnableAvExtensionsFilters Yes -AvExtensions docx
164
CLI Commands