< Back

Get-ScsiLunPath

Sun Jan 19, 2020 6:52 pm

NAME Get-ScsiLunPath



SYNOPSIS

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





SYNTAX

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





DESCRIPTION

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





PARAMETERS

-Name <String[]>

Specifies the name of the SCSI device whose vmhba paths you want to retrieve.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-ScsiLun <ScsiLun[]>

Specifies the SCSI device whose vmhba paths you want to retrieve.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more ScsiLunPath objects







NOTES









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

Online Version: https://code.vmware.com/doc/preview?id= ... nPath.html

Get-ScsiLun

Set-ScsiLunPath

Set-ScsiLun