Syntax
Get-VsanIscsiLun [-VsanIscsiTarget <VsanIscsiTarget[]>] [[-Name] <String[]>] [-LunId <Int32[]>] [-Cluster <Cluster[]>] [-Server <VIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves the vSAN iSCSI LUNs from a cluster or target.Parameters
Return Type
Zero or more VsanIscsiLun objectsNotes
Examples
-------------- Example 1 --------------
Get-VsanIscsiLun -Cluster "vsan-cluster"
Retrieves all vSAN iSCSI LUNs from the "vsan-cluster" cluster.
-------------- Example 2 --------------
Get-VsanIscsiLun -Target $target -LunId 1
Retrieves the vSAN iSCSI LUNs with LunId 1 from the $target iSCSI target.