Get-VsanIscsiInitiatorGroupTargetAssociation

This cmdlet retrieves all pairs of associations between vSAN iSCSI targets and initiator groups, which have access to the corresponding targets.

Syntax

[-InitiatorGroup  <VsanIscsiInitiatorGroup[]>]
[-Server  <VIServer[]>]
[-Target  <VsanIscsiTarget[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
InitiatorGroup
VsanIscsiInitiatorGroup[] named
  • wildcards
  • pipeline
  • Specifies the vSAN iSCSI initiator groups.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.
    optional
    Target
    VsanIscsiTarget[] named
  • wildcards
  • pipeline
  • Specifies the vSAN iSCSI targets.

    Output

    VMware.VimAutomation.Storage.Types.V1.Vsan.Iscsi.VsanIscsiInitiatorGroupTargetAssociation

    Examples


    Example 1

    Get-VsanIscsiInitiatorGroupTargetAssociation -Target $target

    Retrieves all initiator group associations for the $target iSCSI target.

    Example 2

    Get-VsanIscsiInitiatorGroupTargetAssociation -InitiatorGroup $initiatorGroup

    Retrieves all target associations for the $initiatorGroup initiator group.

    Related Commands

    Feedback

    Was this page helpful?