Data ONTAP® PowerShell Toolkit

Cmdlet: Enable-NaIscsiInterface


NAME
Enable-NaIscsiInterface

SYNOPSIS
Enables one or more interfaces for use by iSCSI.

SYNTAX
Enable-NaIscsiInterface -Interfaces <String[]> [-Controller <NaController>]
[-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonPara
meters>]


DESCRIPTION
Enables one or more interfaces for use by iSCSI.


PARAMETERS
-Interfaces <String[]>
A list of interfaces to enable for iSCSI.

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.IscsiInterfaceListEntryInfo


NOTES


Category: iscsi
API: iscsi-interface-enable

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

C:\PS>Enable-NaIscsiInterface e0b e0c


Permit iSCSI traffic on interfaces e0b and e0c.


InterfaceName IsInterfaceEnabled TpgroupName Tpgroup
Tag
------------- ------------------ ----------- -------
---
e0b True e0b_default 1
001
e0c True e0c_default 1
002



RELATED LINKS
Get-NaIscsiInterface
Disable-NaIscsiInterface







 Data ONTAP® PowerShell Toolkit