Developer Community

Reply
Highlighted
MVP Guru Elite

PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

Hi,

 

I writing from several month some powershell module to use API of Aruba Product (Aruba SW, ClearPass, ArubaOS-CX...) on GitHub PowerAruba organization

 

There is actually 3 availables modules :

PowerArubaSW : Use Aruba Switch API for get/configure/set Vlan, VlanPorts, LACP, LLDP, PoE, STP... (more information) and download

 

PowerArubaCP: Use ClearPass API with "call the API" and configure NAS Device (more information) and download

 

PowerArubaCX: Use ArubaCX Switch API with Get system, Ports, Interface, LLDP Neighbor info... (more information) and download

 

PowerArubaIAP: Use Aruba Instant API with show command and Action API for download

 

PowerArubaMC: Use Aruba Moblity Controller or Master API with show command for download

 

 

I will update this topic when there is some new release or module available...

 

 



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

a new release of PowerArubaSW (0.6) is available

 

What new :

 

3 new cmdlets

  • Enhance speed (Don't wait 5sec between each request...) (#32)
  • Enhance security (Enable TLS 1.2 when HTTPS is used...) (#60)
  • Better "error" message when fail to connect or use a API (#55)
  • Add -usebasicparsing for use without connnected session (like task) (#56)
  • Add integration test (using Pester) for check code (Known issue about VSF Switch) (#36)
  • Add Get|Set-ArubaSWPort(-statistics) to get and configure a port (name, status, mode...) and Port statistics (name, packets/bytes/throughtput/error TX or RX...) (#40)
  • Add Extract-Port-ArubaSW.ps1 tools script for generate a Excel file with the list of Port and configuration (vlan, status, lldp neighbor...) (#34)
  • 4 removed cmdlets (Get-ArubaSWSystemStatus[Cpu|Memory|Storage|Time] (#43)

For update

 

 

Update-Module PowerArubaSW

See also https://github.com/PowerAruba/PowerArubaSW/releases/tag/v0.6



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

a new release of PowerArubaSW is available (0.7)

 

What New ?

4 new cmdlets

  • Add support of PowerShell 6(/Core)
  • Now run (and validated) under Linux and macOS
  • Add fix some issue with Stacked/VSF switch
  • Adding DNS support (Get/Set/Remove DNS server and domain names)

more info https://github.com/PowerAruba/PowerArubaSW/releases/tag/v0.7

 

Like always for update

 

Update-Module PowerArubaSW

 



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

a new member on PowerAruba Organization -> PowerArubaCX

 

What possibility ?

 

4 new cmdlets

  • Get-ArubaCXSystem for get system information
  • Get-ArubaCXInterfaces for get interfaces information
  • Get-ArubaCXPorts for get ports (vlan, lag...) information
  • Get-ArubaCXLLDPNeighbor for get LLDP Neighbor information (for a specific port)

All cmdlets can use depth/selector/attributes parameter

 

Also already support Windows/macOS/Linux (with PowerShell 6 / Core)

 

More info

 

And for installation

 

Install-Module PowerArubaCX

 



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

a new release of PowerArubaSW is available (0.8.0)

 

What new ?

14 new cmdlets !

For Trunk, STP, PoE, IP Address (Get only)...

 

There is also the support of AnyCli and cliBatch

For example

 

 

Get-ArubaSWCli -cmd "show running"

and one of major feature of this release it is the support of multi-connection. it is possible to connect to multiple switch on same time using -connection parameter

 

 

for example

 

$sw1 = Connect-ArubaSW 192.168.0.1

$sw2 = Connect-ArubaSW 192.168.0.2

After for get vlans

 

 

 

Get-ArubaSWVlans -connection $sw1

Get-ArubaSWVlans -connection $sw2

More info => https://github.com/PowerAruba/PowerArubaSW/releases/tag/v0.8.0



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

a new release is available... 0.3.0 !

 

What new ?

  • Support of PowerShell (Core) 6 (tested on Linux/Ubuntu and macOS) (#15)
  • Add Pester integration test (#17, #21)
  • Support of limit parameter fix #14 (#16) (But limited to 1000...)
  • Add Set-ArubaCPNetworkDevice and add better filtering to Get-ArubaCPNetworkDevice (#21)
  • Add GitHub Actions for launch Script Analyzer (#19, #22, #23) and publish release (#26)

 

Tested on ClearPass 6.7.2 and 6.8.2 :

  • Windows 10 with Powershell 6.2.3
  • Windows 10 with Powershell 5
  • macOS with Powershell 6.2.3
  • Ubuntu 18.04 with PowerShell 6.2.3
Update-Module PowerArubaCP

See also https://github.com/PowerAruba/PowerArubaCP/releases/tag/v0.3.0

 

 



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

2 new modules on PowerAruba Organization !

 

PowerArubaIAP (0.2.0) for Aruba Instant AP (can show command and make some action API )

 

PowerArubaMC (0.1.0) Aruba Mobility Controller (or Master) (can show command)

 



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

a new release of PowerArubaCP is availabe => 0.4.0

 

For remenber, it is use API on ClearPass (CPPM)

 

What new

 

  • Static Host List (Add/Get/Set/Remove and also Add/Remove Members) (#30)
  • Application License (Add/Get/Remove) (#31)
  • Platform (Get CPPM Version and Server Version/Configuration) (#32)
  • Multi Connection (#33)
  • Add port parameter to connection (#34)
  • Service (Get and Enable/disable) (#36)
  • Endpoint (Add/Get/Remove) (#38)
  • New connection method (using oauth client_id/client_secret) (#39)

Tested on ClearPass 6.7.2 and 6.8.4 :

  • Windows 10 with Powershell 6.2.3
  • Windows 10 with Powershell 5
  • macOS with Powershell 6.2.3
  • Ubuntu 18.04 with PowerShell 6.2.3

For update like always =>

Update-module PowerArubaCP


PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
MVP Guru Elite

Re: PowerAruba: a GitHub Organization for PowerShell Module on Aruba Product

a new release of PowerArubaIAP is available 0.3.0

 

14 new cmdlets ! (from Configuration API)

 

For Downloads -> https://www.powershellgallery.com/packages/PowerArubaIAP/0.3.0

 

for info and doc -> https://github.com/PowerAruba/PowerArubaIAP/releases/tag/v0.3.0



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: