Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaLunSerialNumber


NAME
Get-NaLunSerialNumber

SYNOPSIS
Get the serial number for the specified LUN.

SYNTAX
Get-NaLunSerialNumber [-Path] <String> [-Controller <NaController>] [<Common
Parameters>]


DESCRIPTION
Get the serial number for the specified LUN. The serial number is a 12-chara
cter string formed of upper and lower-case letters, numbers, and slash (/) a
nd hyphen (-) characters.


PARAMETERS
-Path <String>
Path of the LUN.

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

<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.String


NOTES


Category: lun
API: lun-get-serial-number

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

C:\PS>Get-NaLunSerialNumber /vol/vol2/lun2


Get the serial number of LUN 'lun2'.


HnSolJNfoTZK



RELATED LINKS
Set-NaLunSerialNumber







 Data ONTAP® PowerShell Toolkit