Hi,
I have been working for several months on a Powershell module that uses the ArubaOS Switch REST API.
This module is available on psgallery(.com) : https://www.powershellgallery.com/packages/PowerArubaSW/
Actually, we support to connect to HTTPS or HTTP
and configure the following feature :
- Vlans
- Vlans-Ports (affect a vlan tagged/untagged/forbidden to a port/interface)
- Rest info (get api-version, timeout...)
- LLDP
- LACP
- Led Locator
- ...
it is very easy to use (and install)
Launch powershell command line and launch following command for install
Install-Module PowerArubaSW
for load the module
Import-Module PowerArubaSW
Connect to your switch
Connect-ArubaSW 192.0.2.1
You get a prompt to ask credential
Need to have enable web-managemnt ssl and a user/password
for example to get all vlan use
Get-ArubaSWVlan
You can get the list of command available via
Get-Command -Module PowerArubaSW
and for get help (and example about a command for example Get-ArubaSWVlans)
Get-Help Get-ArubaSWVlans -Full
More documentation, example is available on https://github.com/PowerAruba/PowerArubaSW and you can also report issue/enhance !