Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Test-NaFpolicy


NAME
Test-NaFpolicy

SYNOPSIS
Return the status of fpolicy. Returns true if fpolicy is enabled, false if
it is not.

SYNTAX
Test-NaFpolicy [-Controller <NaController>] [<CommonParameters>]


DESCRIPTION
Return the status of fpolicy. Returns true if fpolicy is enabled, false if
it is not.


PARAMETERS
-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
System.Boolean


NOTES


Category: fpolicy
API: fpolicy-status

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

C:\PS>Test-NaFpolicy


Get the status of the fpolicy functionality.


True



RELATED LINKS
Enable-NaFpolicy
Disable-NaFpolicy







 Data ONTAP® PowerShell Toolkit