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 [-Target <VsanIscsiTarget[]>] [-InitiatorGroup <VsanIscsiInitiatorGroup[]>] [-Server <VIServer[]>] [<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.