Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Remove-NcNetInterface


NAME
Remove-NcNetInterface

SYNOPSIS
Destroy an existing network interface (LIF).

SYNTAX
Remove-NcNetInterface [-Name] <String> [-Vserver] <String> [-Controller <NcC
ontroller[]>] [<CommonParameters>]


DESCRIPTION
Destroy an existing network interface (LIF).


PARAMETERS
-Name <String>
Specifies the logical interface (LIF) name.

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

-Vserver <String>
Specifies the Vserver name.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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



NOTES


Category: net
API: net-interface-delete
Family: cluster

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

C:\PS>Remove-NcNetInterface -Name vs1vif1 -Vserver vserver1


Delete LIF 'vs1vif1' on vserver 'vserver1'.






RELATED LINKS
Get-NcNetInterface
New-NcNetInterface
Set-NcNetInterface







 Data ONTAP® PowerShell Toolkit