## 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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Specifies the name of the SCSI device whose vmhba paths you want to retrieve. | false | false
ScsiLun | ScsiLun[] | Specifies the SCSI device whose vmhba paths you want to retrieve. | true | true (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.