Data ONTAP® PowerShell Toolkit

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>] [-WarningAction <ActionPreference>] [-WarningVa
riable <String>] [<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 DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

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

-WarningAction <ActionPreference>


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

-WarningVariable <String>


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
NetApp.Ontapi.Filer.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
TpgroupAluaPreferredSpecified : True



RELATED LINKS
Remove-NaIscsiTargetPortalGroupInterface
Get-NaIscsiTargetPortalGroup







 Data ONTAP® PowerShell Toolkit