< Back

Get-VsanIscsiInitiatorGroupTargetAssociation

Sun Jan 19, 2020 7:16 pm

NAME 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>]





DESCRIPTION

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

to the corresponding targets.





PARAMETERS

-InitiatorGroup <VsanIscsiInitiatorGroup[]>

Specifies the vSAN iSCSI initiator groups.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-Server <VIServer[]>

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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Target <VsanIscsiTarget[]>

Specifies the vSAN iSCSI targets.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more VsanIscsiInitiatorGroupTargetAssociation objects







NOTES









-------------------------- 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 LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... ation.html

New-VsanIscsiInitiatorGroupTargetAssociation

Remove-VsanIscsiInitiatorGroupTargetAssociation