Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaLunByIgroup


NAME
Get-NaLunByIgroup

SYNOPSIS
Find the path to the lun mapped at a given LUN ID for a given initiator grou
p.

SYNTAX
Get-NaLunByIgroup [-Name] <String> [-ID] <Int32> [-Controller <NaController>
] [<CommonParameters>]


DESCRIPTION
Find the path to the lun mapped at a given LUN ID for a given initiator grou
p.


PARAMETERS
-Name <String>
Name of initiator group to search.

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

-ID <Int32>
Lun-id (Logical Unit Number) to search for.

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.Types.Lun.LunInfo


NOTES


Category: igroup
API: igroup-lookup-lun

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

C:\PS>Get-NaLunByIgroup igroup2 1


Get the LUN mapped to LUN ID 1 for igroup 'igroup2'.


BackingSnapshot :
Mapped : True
MultiprotocolType : windows
Online : True
Path : /vol/vol4/lun12
ReadOnly : False
ShareState : none
Size : 21476206080
Uuid : a0bd7f60-0050-11de-b805-00a09806c227



RELATED LINKS
Get-NaLun
Get-NaIgroup
Get-NaLunMap







 Data ONTAP® PowerShell Toolkit