|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NaFpolicy
NAME
New-NaFpolicy
SYNOPSIS
Creates a new policy.
SYNTAX
New-NaFpolicy [-Name] <String> [-Controller <NaController>] [-WhatIf] [-Conf
irm] [<CommonParameters>]
DESCRIPTION
Creates a new policy with the given name. The policy type is automatically
set to "screen."
PARAMETERS
-Name <String>
The name to give the created fpolicy.
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
-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-create-policy
-------------- Example 1 --------------
C:\PS>New-NaFpolicy policy1
Creates a new policy named policy1.
IsEnabled : False
MonitoredOperations : {}
MonitoredProtocols : {}
Name : policy1
NumberOfScreenFailures : 0
NumberOfScreenedFiles : 0
RELATED LINKS
Remove-NaFpolicy
Enable-NaFpolicy
Disable-NaFpolicy
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|