< Back

Remove-ArubaSWVlansPorts

Sat Jan 18, 2020 8:38 pm

NAME Remove-ArubaSWVlansPorts



SYNOPSIS

Remove a Vlan Ports on ArubaOS Switch (Provision)





SYNTAX

Remove-ArubaSWVlansPorts -vlan_id <Int32> -port_id <String> [-noconfirm] [-connection <PSObject>]

[<CommonParameters>]



Remove-ArubaSWVlansPorts [-vlanport] <PSObject> [-noconfirm] [-connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Remove vlan ports on the switch





PARAMETERS

-vlan_id <Int32>



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-port_id <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vlanport <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:\\>$vlanport = Get-ArubaSWVlansPorts -vlan_id 85 -port_id 8



PS C:\\>$vlanport | Remove-ArubaSWVlansPorts



Remove vlan 85 on port 8









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



PS C:\\>Remove-ArubaSWVlansPorts -vlan_id 85 -port_id 8 -noconfirm



Remove vlan id 85 on port 8 with no confirmation











RELATED LINKS