Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScaleOneFS CLI Command Reference

isi antivirus icap policies create

Creates an antivirus scan policy.

Syntax

isi antivirus icap policies create <name> 
  [--description <string>]
  [--enabled {true | false}] 
  [--schedule <schedule>]
  [--impact <impact-policy>]
  [--force-run {yes | no}]
  [--paths <path>...] 
  [--recursion-depth <integer>]
  [--verbose]

Options

<name>
Specifies a name for the policy.
--description <string>
Specifies a description for the policy.
{--enabled | -e} {true | false}
Determines whether the policy is enabled or disabled. If set to true, the policy is enabled. The default value is false.
{--schedule | -s} <schedule>
Specifies when the policy is run.

Specify in the following format:

"<interval> [<frequency>]"

Specify <interval> in one of the following formats:

  • Every [{other | <integer>}] {weekday | day}
  • Every [{other | <integer>}] week [on <day>]
  • Every [{other | <integer>}] month [on the <integer>]
  • Every [<day>[, ...] [of every  [{other | <integer>}] week]]
  • The last {day | weekday | <day>} of every [{other | <integer>}] month
  • The <integer> {weekday | <day>} of every [{other | <integer>}] month
  • Yearly on <month> <integer>
    
  • Yearly on the {last | <integer>} [weekday | <day>] of <month>
    

Specify <frequency> in one of the following formats:

  • at <hh>[:<mm>] [{AM | PM}]
  • every [<integer>] {hours | minutes} [between <hh>[:<mm>] [{AM | PM}] and <hh>[:<mm>] [{AM | PM}]]
  • every [<integer>] {hours | minutes} [from <hh>[:<mm>] [{AM | PM}] to <hh>[:<mm>] [{AM | PM}]]

You can optionally append "st", "th", or "rd" to <integer>. For example, you can specify "Every 1st month"

Specify <day> as any day of the week or a three-letter abbreviation for the day. For example, both "Saturday" and "sat" are valid.

{--impact | -i} <impact_policy>
Specifies an impact policy for the antivirus scan jobs. You can specify LOW, MEDIUM, HIGH, OFF_HOURS, or a custom impact policy that you created.
{--force-run | -r} {yes | no}
Determines whether to force policy scans. If a scan is forced, all files are scanned regardless of whether OneFS has marked files as having been scanned, or if global settings specify that certain files should not be scanned.
--paths <path>
Specifies directories to scan when the policy is run. To specify multiple paths, repeat the --path option. For example:
--paths /ifs/data/directory1 --paths /ifs/data/directory2
--recursion-depth <integer>
NOTE:This option has been deprecated and will not impact antivirus scans if specified.

Specifies the depth of subdirectories to include in the scan.

{--verbose | -v}
Displays a message confirming that the antivirus policy was created.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\