|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaFpolicyExtensionList
NAME
Set-NaFpolicyExtensionList
SYNOPSIS
Sets the list of extensions in the exclude or include set.
SYNTAX
Set-NaFpolicyExtensionList [-Name] <String> [-SetName] <String> [-Extensions
] <String[]> [-Controller <NaController>] [-WhatIf] [-Confirm] [<CommonParam
eters>]
DESCRIPTION
Sets the list of extensions in the exclude or include set. The exclude set
defines extension patterns that won't trigger fpolicy processing.
PARAMETERS
-Name <String>
Name of the fpolicy to modify extension lists for.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SetName <String>
Defines to which set (exclude or include) the remove will be applied to.
Possible values: "exclude", "include".
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Extensions <String[]>
List of extensions. Allowed are only DOS like, three character long exte
nsions. The extensions are case insensitive. Supported wild card values:
"???" to match any extension and "?" to match any character. Examples o
f allowed extension specifications: EXE ??? ?XT P??
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.Types.Fpolicy.PolicyInfo
NOTES
Category: fpolicy
API: fpolicy-extensions
-------------- Example 1 --------------
C:\PS>Set-NaFpolicyExtensionList policy1 include ??? EXE ??T | Get-NaFpolicy
ExtensionList
Sets the include extension list to {???, EXE, ??T} for fpolicy policy1 then
gets the extension list for fpolicy policy1.
Name : policy1
Include : {???, ??T, EXE}
Exclude : {}
-------------- Example 2 --------------
C:\PS>Set-NaFpolicyExtensionList policy1 exclude TXT DOC | Get-NaFpolicyExte
nsionList
Sets the exclude extension list to {TXT, DOC} for fpolicy policy1 then gets
the extension lists for fpolicy policy1.
Name : policy1
Include : {???, ??T, EXE}
Exclude : {DOC, TXT}
RELATED LINKS
Remove-NaFpolicyExtension
Add-NaFpolicyExtension
Reset-NaFpolicyExtensionList
Get-NaFpolicyExtensionList
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|