Syntax
Get-VsanIscsiTarget [[-Name] <String[]>] [-Cluster <Cluster[]>] [-IscsiQualifiedName <String[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet retrieves vSAN iSCSI targets from clusters. The cmdlet can filter targets by IQN and aliases.Parameters
Return Type
Zero or more VsanIscsiTarget objectsNotes
Examples
-------------------------- Example 1 --------------------------
Get-VsanIscsiTarget -Cluster "vsan-cluster"
Retrieves all vSAN iSCSI targets from the "vsan-cluster" cluster.
-------------------------- Example 2 --------------------------
Get-VsanIscsiTarget -Cluster $cluster -Name "Target1"
Retrieves the vSAN iSCSI target named "Target1" from the $cluster vSAN cluster.