Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Disable-NaFpolicy


NAME
Disable-NaFpolicy

SYNOPSIS
Sets options fpolicy enable to off. If a name is given, disables a specific
named policy.

SYNTAX
Disable-NaFpolicy [[-Name] <String>] [-Controller <NaController>] [<CommonPa
rameters>]


DESCRIPTION
Sets options fpolicy enable to off. If a name is given, disables a specific
named policy.


PARAMETERS
-Name <String>
Name of the fpolicy to disable. If this value is not given, options fpo
licy disable is set to on.

Required? false
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
DataONTAP.Types.Fpolicy.PolicyInfo


NOTES


Category: fpolicy
API: fpolicy-disable, fpolicy-disable-policy

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

C:\PS>Disable-NaFpolicy policy1


Disables the fpolicy policy1.


IsEnabled : False
MonitoredOperations : {}
MonitoredProtocols : {}
Name : policy1
NumberOfScreenFailures : 0
NumberOfScreenedFiles : 0



RELATED LINKS







 Data ONTAP® PowerShell Toolkit