Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Remove-NaFpolicy


NAME
Remove-NaFpolicy

SYNOPSIS
Destroys existing policy.

SYNTAX
Remove-NaFpolicy [-Name] <String> [-Controller <NaController>] [<CommonParam
eters>]


DESCRIPTION
Destroys existing policy. The policy must be disabled before it can be dest
royed.


PARAMETERS
-Name <String>
The name of the fpolicy to destroy.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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

<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



NOTES


Category: fpolicy
API: fpolicy-destroy-policy

-------------- Example 1 --------------

C:\PS>Disable-NaFpolicy policy1 | Remove-NaFpolicy


Disables then removes the fpolicy policy1.






RELATED LINKS
Enable-NaFpolicy
Disable-NaFpolicy







 Data ONTAP® PowerShell Toolkit