|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Enable-NaFpolicy
NAME
Enable-NaFpolicy
SYNOPSIS
Sets options fpolicy enable to on. If a name is given, enables a specific n
amed policy. The operation will fail if the policy doesn't exist.
SYNTAX
Enable-NaFpolicy [[-Name] <String>] [-Controller <NaController>] [-WhatIf] [
-Confirm] [<CommonParameters>]
DESCRIPTION
Sets options fpolicy enable to on. If a name is given, enables a specific n
amed policy. The operation will fail if the policy doesn't exist.
PARAMETERS
-Name <String>
Name of the fpolicy to enable. If this value is not given, options fpol
icy enable 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
-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.PolicyInfo
NOTES
Category: fpolicy
API: fpolicy-enable, fpolicy-enable-policy
-------------- Example 1 --------------
C:\PS>Enable-NaFpolicy policy1
Enables the fpolicy policy1.
IsEnabled : True
MonitoredOperations : {}
MonitoredProtocols : {}
Name : policy1
NumberOfScreenFailures : 0
NumberOfScreenedFiles : 0
RELATED LINKS
Disable-NaFpolicy
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|