Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Get-NaSnaplockOption


NAME
Get-NaSnaplockOption

SYNOPSIS
Get the value of a given SnapLock option on a volume. Currently the only su
pported option is "privdel".

SYNTAX
Get-NaSnaplockOption [-Volume] <String> [[-Option] <String>] [-Controller <N
aController>] [<CommonParameters>]


DESCRIPTION
Get the value of a given SnapLock option on a volume. Currently the only su
pported option is "privdel".


PARAMETERS
-Volume <String>
The SnapLock volume to get options for. Only SnapLock Enterprise volume
s are currently supported.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Option <String>
Name of the option to get. Currently, the "privdel" option is the only
option supported.

Required? false
Position? 2
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

<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


API: snaplock-get-options
Category: snaplock

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

C:\PS>Get-NaSnaplockOption snaplock_entvol0


Get the options of SnapLock volume snaplock_entvol0.


Name Value
---- -----
privdel on



RELATED LINKS
Set-NaSnaplockOption







 Data ONTAP® PowerShell Toolkit