Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Add-NaIscsiTargetPortalGroupInterface


NAME
Add-NaIscsiTargetPortalGroupInterface

SYNOPSIS
Add an interface to an iSCSI target portal group.

SYNTAX
Add-NaIscsiTargetPortalGroupInterface [-Tag] <Int32> -Interfaces <String[]>
[-Controller <NaController>] [<CommonParameters>]


DESCRIPTION
Add an interface to an iSCSI target portal group.


PARAMETERS
-Tag <Int32>
Portal group tag.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Interfaces <String[]>
List of interfaces to add.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.Types.Iscsi.IscsiTpgroupListEntryInfo


NOTES


Category: iscsi
API: iscsi-tpgroup-interface-add

-------------- Example 1 --------------

C:\PS>Add-NaIscsiTargetPortalGroupInterface 1 e0a e0b


Add interfaces 'e0a' and 'e0b' to iSCSI target portal group with tag 1.


InterfaceListEntries : {e0a, e0b}
TpgroupAluaPreferred : False
TpgroupAluaState : optimized
TpgroupName : tpGroup1
TpgroupTag : 1



RELATED LINKS
Remove-NaIscsiTargetPortalGroupInterface
Get-NaIscsiTargetPortalGroup







 Data ONTAP® PowerShell Toolkit