vSphere PowerCLI Cmdlets 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

NameDescriptionRequired?Pipeline InputDefault Value
NameSpecify the name of the SCSI device whose vmhba paths you want to retrieve.falsefalse
ScsiLunSpecify 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 - 2010 VMware, Inc. All rights reserved.