Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Remove-NaIscsiTargetPortalGroupInterface


NAME
Remove-NaIscsiTargetPortalGroupInterface

SYNOPSIS
Delete an interface from an iSCSI target portal group.

SYNTAX
Remove-NaIscsiTargetPortalGroupInterface [-Tag] <Int32> -Interfaces <String[
]> [-Controller <NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Delete an interface from 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 delete from the target portal group.

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

-WhatIf


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

-Confirm


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

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

C:\PS>Remove-NaIscsiTargetPortalGroupInterface 1 e0b


Remove interface 'e0b' from target portal group with tag 1.


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



RELATED LINKS
Add-NaIscsiTargetPortalGroupInterface
Get-NaIscsiTargetPortalGroup







 Data ONTAP® PowerShell Toolkit