Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaLunAttribute


NAME
Get-NaLunAttribute

SYNOPSIS
Get a named attribute for a given LUN.

SYNTAX
Get-NaLunAttribute [-Path] <String> [-Name] <String> [-Controller <NaControl
ler>] [<CommonParameters>]


DESCRIPTION
Get a named attribute for a given LUN. Attributes are arbitrary key/value p
airs for application-defined use.


PARAMETERS
-Path <String>
Path of the LUN.

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

-Name <String>
Name of the attribute to get.

Required? true
Position? 2
Default value
Accept pipeline input? true (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

<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
DataONTAP.PowerShell.SDK.Cmdlets.Lun.LunAttribute


NOTES


Category: lun
API: lun-get-attribute

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

C:\PS>Get-NaLunAttribute /vol/vol1/testlun is_crazy


Get the is_crazy attribute on the lun.


Name Value
---- -----
is_crazy yes



RELATED LINKS
Set-NaLunAttribute







 Data ONTAP® PowerShell Toolkit