PowerCLI Reference

Get-ScsiLunPath

Synopsis

This cmdlet 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

This cmdlet retrieves the list of vmhba paths to a specified SCSI device.

Parameters

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

Return Type

Zero or more ScsiLunPath objects

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 © VMware, Inc. All rights reserved.