Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Remove-NaNetVif


NAME
Remove-NaNetVif

SYNOPSIS
Delete a VIF.

SYNTAX
Remove-NaNetVif [-Name] <String> [-ActiveOnly] [-Controller <NaController>]
[<CommonParameters>]


DESCRIPTION
Delete a VIF. Modifies active and persistent config.


PARAMETERS
-Name <String>
The name of the VIF to delete.

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

-ActiveOnly
If specified, only the active config is modified.

Required? false
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

<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: system-cli
Privilege: security-priv-admin, api-vif-destroy

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

C:\PS>Remove-NaNetVif testvif


Delete VIF 'testvif'.






RELATED LINKS
Get-NaNetVif
New-NaNetVif
Set-NaNetVif







 Data ONTAP® PowerShell Toolkit