Get-ScsiLunPath Command | Vmware PowerCLI Reference

Get-ScsiLunPath

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
ScsiLun ScsiLun[] 1
  • pipeline
Specifies the SCSI device whose vmhba paths you want to retrieve.
optional Name String[] named
  • wildcards
Specifies the name of the SCSI device whose vmhba paths you want to retrieve.

Output

VMware.VimAutomation.ViCore.Types.V1.Host.Storage.Scsi.ScsiLunPath

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.

Related Commands

ScsiController

This cmdlet retrieves the virtual SCSI controllers assigned to the specified HardDisk, VirtualMachine, Template, and Snapshot objects.

This cmdlet creates a new SCSI controller.

This cmdlet modifies the specified SCSI controllers.

ScsiLun

This cmdlet retrieves the SCSI devices available on the vCenter Server system.

This cmdlet modifies the configuration of a SCSI device.

ScsiLunPath

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

This cmdlet configures a vmhba path to a SCSI device.