Cloud Managed Networks

 View Only
Expand all | Collapse all

PowerArubaCL: PowerShell module for Aruba Central

This thread has been viewed 18 times
  • 1.  PowerArubaCL: PowerShell module for Aruba Central

    Posted Jun 17, 2021 07:55 AM
    Hi,

    I have been working for several months on a Powershell module that uses the Aruba Central REST API.

    This module is available on psgallery(.com) : PowerArubaCL 0.1.0
    Powershellgallery remove preview
    PowerArubaCL 0.1.0
    Copy and Paste the following command to install this package using PowerShellGet More Info You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More Deploy to Azure Automation Manually download the .nupkg file to your system's default download location.
    View this on Powershellgallery >



    Actually, we support to connect to HTTPS using  API

    and configure the following feature :

    •  Devices (Inventory): Get
    • ...

    it is very easy to use (and install)

     

    Launch powershell command line and launch following command for install

     

    Install-Module PowerArubaCL

    for load the module

    Import-Module PowerArubaCL

    Connect to your Aruba Central Account

    Connect-ArubaCL -Region EU-1 -client_id XXXX -client_secret XXXX -customer_id XXX

     it will be ask the credential

    for example to get all Devices (Inventory) type IAP

    Get-ArubaCLInventoryDevices -type IAP

     

    You can get the list of command available via

    Get-Command -Module PowerArubaCL

     

     and for get help (and example about a command for example Get-ArubaCLInventoryDevices)

    Get-Help Get-ArubaCLInventoryDevices -Full

    More documentation, example is available on https://github.com/PowerAruba/PowerArubaCL and you can also report issue/enhance !





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

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

    PowerArubaCL: Powershell Module to use Aruba Central

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

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------


  • 2.  RE: PowerArubaCL: PowerShell module for Aruba Central

    Posted Jul 06, 2021 04:28 PM
    Hello,

    For your information, a new release is already available ! PowerArubaCL 0.2.0 with following feature/change :

    • Devices (Inventory) : Add Devices (#4) Add/Get/Remove Archive Devices and Get Devices Stats (#5)
    • Token (Refresh): support of Refresh Token (#6)
    • Fix and Update PSSA (#7)

    More info => https://github.com/PowerAruba/PowerArubaCL#readme

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

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

    PowerArubaCL: Powershell Module to use Aruba Central

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

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------