Syntax
Set-VsanIscsiInitiatorGroup [-InitiatorGroup] <VsanIscsiInitiatorGroup[]> [-AddInitiator <String[]>] [-RemoveInitiator <String[]>] [-Server <VIServer[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet modifies the specified vSAN iSCSI initiator groups.Parameters
Return Type
The list of modified VsanIscsiInitiatorGroup objectsNotes
Examples
-------------- Example 1 --------------
Set-VsanIscsiInitiatorGroup -InitiatorGroup $initiatorGroup -AddInitiator "initiator1-iqn", "initiator2-iqn" -RemoveInitiator "initiator3-iqn"
Adds iSCSI initiators with IQN "initiator1-iqn" and "initiator2-iqn" to the $initiatorGroup initiator group and removes iSCSI initiator with IQN "initiator3-iqn" from the initiator group.