|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaSnaplockOption
NAME
Set-NaSnaplockOption
SYNOPSIS
Set a SnapLock option on a volume. Currently, the only supported option is
"privdel".
SYNTAX
Set-NaSnaplockOption [-Volume] <String> [-Key] <String> [-Value] <String> [-
Controller <NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set a SnapLock option on a volume. Currently, the only supported option is
"privdel".
PARAMETERS
-Volume <String>
The volume to set options for.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Key <String>
Specifies SnapLock option. Presently, only the "privdel" SnapLock option
is supported.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Value <String>
Specifies the new value of the option. For the "privdel" snaplock option
, three values "on"/"off"/"disallowed" are supported.
Required? true
Position? 3
Default value
Accept pipeline input? false
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
System.Collections.Hashtable
NOTES
Category: snaplock
API: snaplock-set-options
-------------- Example 1 --------------
C:\PS>Set-NaSnaplockOption snaplock_entvol0 privdel off
Turn off privileged deletes for snaplock_entvol0.
Name Value
---- -----
privdel off
RELATED LINKS
Get-NaSnaplockOption
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|