< Back

Remove-ArubaSWVlans

Sat Jan 18, 2020 8:38 pm

NAME Remove-ArubaSWVlans



SYNOPSIS

Remove a Vlan on ArubaOS Switch (Provision)





SYNTAX

Remove-ArubaSWVlans -id <Int32> [-noconfirm] [-connection <PSObject>] [<CommonParameters>]



Remove-ArubaSWVlans [-vlan] <PSObject> [-noconfirm] [-connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Remove vlan on the switch





PARAMETERS

-id <Int32>



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-vlan <PSObject>

ValidateScript({ ValidateVlan $_ })]



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-noconfirm [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-connection <PSObject>



Required? false

Position? named

Default value $DefaultArubaSWConnection

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$vlan = Get-ArubaSWVlans -id 85



PS C:\\>$vlan | Remove-ArubaSWVlans



Remove vlan id 85









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Remove-ArubaSWVlans -id 85 -noconfirm



Remove vlan id 85 with no confirmation











RELATED LINKS