vSphere PowerCLI Reference

Get-ScsiLunPath

Synopsis

Retrieves the list of vmhba paths to a specified SCSI device.

Syntax

Get-ScsiLunPath [[-Name] <String[]>] [-ScsiLun] <ScsiLun[]> [<CommonParameters>]

Related Commands

Online version
Get-ScsiLun
Set-ScsiLunPath
Set-ScsiLun

Detailed Description

Retrieves the list of vmhba paths to a specified SCSI device.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specify the name of the SCSI device whose vmhba paths you want to retrieve.falsefalse
ScsiLunScsiLun[]Specify the SCSI device whose vmhba paths you want to retrieve.truetrue (ByValue)

Return Type

ScsiLunPath

Notes

Examples

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

$scsilun = Get-ScsiLun -VMHost 10.23.123.100 -LunType disk  Get-ScsiLunPath $scsilun

Retrieves the vmhba path to the specified SCSI device.


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.