< Back

Get-ArubaSWVlans

Sat Jan 18, 2020 8:38 pm

NAME Get-ArubaSWVlans



SYNOPSIS

Get Vlans info about ArubaOS Switch (Provision)





SYNTAX

Get-ArubaSWVlans [-connection <PSObject>] [<CommonParameters>]



Get-ArubaSWVlans [-id <Int32>] [-connection <PSObject>] [<CommonParameters>]



Get-ArubaSWVlans [[-Name] <String>] [-connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Get Vlans Info (Id, Name, Voice, snooping...)





PARAMETERS

-id <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>



Required? false

Position? 2

Default value

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:\\>Get-ArubaSWVlans



Get ALL vlans on the switch









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



PS C:\\>Get-ArubaSWVlans Aruba



Get info about vlan named Aruba on the switch









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-ArubaSWVlans -id 23



Get info about vlan id 23 on the switch











RELATED LINKS