PowerCLI Reference

Get-VsanIscsiInitiatorGroupTargetAssociation

Synopsis

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

Syntax

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

Related Commands

Online Version
New-VsanIscsiInitiatorGroupTargetAssociation
Remove-VsanIscsiInitiatorGroupTargetAssociation

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
InitiatorGroupVsanIscsiInitiatorGroup[]Specifies the vSAN iSCSI initiator groups.falseTrue (ByValue)
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falseFalse
TargetVsanIscsiTarget[]Specifies the vSAN iSCSI targets.falseTrue (ByValue)

Return Type

Zero or more VsanIscsiInitiatorGroupTargetAssociation objects

Notes

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.


Copyright © VMware, Inc. All rights reserved.