Data ONTAP® PowerShell Toolkit

Cmdlet: Disable-NaIscsiInterface


NAME
Disable-NaIscsiInterface

SYNOPSIS
Disables one or more interfaces for use by iSCSI.

SYNTAX
Disable-NaIscsiInterface -Interfaces <String[]> [-Controller <NaController>]
[-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonPar
ameters>]


DESCRIPTION
Disables one or more interfaces for use by iSCSI.


PARAMETERS
-Interfaces <String[]>
A list of interfaces disable 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-disable

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

C:\PS>Disable-NaIscsiInterface e0b e0c


Disallow iSCSI traffic on interfaces e0b and e0c.


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



RELATED LINKS
Get-NaIscsiInterface
Enable-NaIscsiInterface







 Data ONTAP® PowerShell Toolkit