|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaFpolicyExtension
NAME
Remove-NaFpolicyExtension
SYNOPSIS
Removes a list of extensions from the exclude or include set.
SYNTAX
Remove-NaFpolicyExtension [-Name] <String> [-SetName] <String> [-Extensions]
<String[]> [-Controller <NaController>] [-WhatIf] [-Confirm] [<CommonParame
ters>]
DESCRIPTION
Removes a list of extensions from the exclude or include set. The exclude s
et 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
NetApp.Ontapi.Filer.Fpolicy.PolicyInfo
NOTES
Category: fpolicy
API: fpolicy-extensions
-------------- Example 1 --------------
C:\PS>Remove-NaFpolicyExtension policy1 include J?? | Get-NaFpolicyExtension
List
Removes the extension J?? from the include list of policy1 then gets the ext
ensions list for policy1.
Name : policy1
Include : {???, ??T, EXE}
Exclude : {TXT}
-------------- Example 2 --------------
C:\PS>Remove-NaFpolicyExtension policy1 exclude TXT | Get-NaFpolicyExtension
List
Removes the extension TXT from the exclude list of policy1 then gets the ext
ension lists for policy1.
Name : policy1
Include : {???, ??T, EXE}
Exclude : {}
RELATED LINKS
Add-NaFpolicyExtension
Set-NaFpolicyExtensionList
Reset-NaFpolicyExtensionList
Get-NaFpolicyExtensionList
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|