{"id":14980450,"url":"https://github.com/poweraruba/powerarubaiap","last_synced_at":"2025-10-29T00:30:32.437Z","repository":{"id":98168755,"uuid":"186409566","full_name":"PowerAruba/PowerArubaIAP","owner":"PowerAruba","description":"PowerShell module to managed Aruba Instant AP","archived":false,"fork":false,"pushed_at":"2022-12-21T09:01:54.000Z","size":200,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-01T20:11:27.385Z","etag":null,"topics":["aruba","hpe","iap","powershell","powershell-core","powershell-module"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerAruba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-13T11:50:13.000Z","updated_at":"2024-07-14T20:33:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcaec635-defe-4fd1-ae38-f512ff5c6a3e","html_url":"https://github.com/PowerAruba/PowerArubaIAP","commit_stats":{"total_commits":94,"total_committers":1,"mean_commits":94.0,"dds":0.0,"last_synced_commit":"21c37fb13277d5fc127dc5c8a3f9578350b91b4f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAruba%2FPowerArubaIAP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAruba%2FPowerArubaIAP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAruba%2FPowerArubaIAP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAruba%2FPowerArubaIAP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerAruba","download_url":"https://codeload.github.com/PowerAruba/PowerArubaIAP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238743908,"owners_count":19523199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aruba","hpe","iap","powershell","powershell-core","powershell-module"],"created_at":"2024-09-24T14:01:47.685Z","updated_at":"2025-10-29T00:30:31.975Z","avatar_url":"https://github.com/PowerAruba.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# PowerArubaIAP\n\nThis is a Powershell module for configure a Aruba Instant AP (IAP)\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/PowerAruba/PowerArubaIAP/master/Medias/PowerArubaIAP.png\" width=\"250\" height=\"250\" /\u003e\n\u003c/p\u003e\n\nWith this module (version 0.3.0) you can manage:\n\n- Show commands\n- Action API\n- Configuration API (Partially)\n\nMore functionality will be added later.\n\nConnection can use HTTPS (default)\nTested with Aruba Instant AP 207 or AP305 (using 8.5.x.x firmware and later...) on Windows/Linux/macOS\n\n\u003c!--\n# Usage\n\nAll resource management functions are available with the Powershell verbs GET, ADD, SET, REMOVE.\nFor example, you can manage Vlans with the following commands:\n- `Get-ArubaSWVlans`\n- `Add-ArubaSWVlans`\n- `Set-ArubaSWVlans`\n- `Remove-ArubaSWVlans`\n--\u003e\n# Requirements\n\n- Powershell 5 or 6 (Core) (If possible get the latest version)\n- An Aruba Instant AP (with firmware 8.5.x.x), REST API enable\n\n# Instructions\n### Install the module\n```powershell\n# Automated installation (Powershell 5 or later):\n    Install-Module PowerArubaIAP\n\n# Import the module\n    Import-Module PowerArubaIAP\n\n# Get commands in the module\n    Get-Command -Module PowerArubaIAP\n\n# Get help\n    Get-Help Get-ArubaIAPShowCmd -Full\n```\n\n# Examples\n### Connecting to the Aruba Instant AP\n\nThe first thing to do is to connect to a Aruba Instant AP with the command `Connect-ArubaIAP` :\n\n```powershell\n# Connect to the Aruba Instant AP\n    Connect-ArubaIAP 192.0.2.1\n\n#we get a prompt for credential\n```\nif you get a warning about `Unable to connect` Look [Issue](#Issue)\n\n\n### Monitoring\n\n#### Show command\n\nYou can display some command... (CLi to API)\n\n```powershell\n# Display clients (show clients)\n    Get-ArubaIAPShowCmd \"show clients\"\n\n\n    Status               : Success\n    Status-code          : 0\n    CLI Command executed : show clients\n\n    IAP IP address       : 10.44.55.230\n    Command output       : cli output:\n\n                        COMMAND=show clients\n\n                        Client List\n                        -----------\n                        Name  IP Address  MAC Address  OS  ESSID  Access Point  Channel  Type  Role  IPv6 Address  Signal  Speed (mbps)\n                        ----  ----------  -----------  --  -----  ------------  -------  ----  ----  ------------  ------  ------------\n                        Number of Clients   :0\n                        Info timestamp      :1522412\n\n\n\n# Display SSID (Network) and output cli output (-display result)\n    Get-ArubaIAPShowCmd \"show network\" -display_result\n    cli output:\n\n    COMMAND=show network\n\n    Networks\n    --------\n    Profile Name  ESSID      Clients  Type      Band  Authentication Method  Key Management  IP Assignment  Status    Zone  Coding   Active\n    ------------  -----      -------  ----      ----  ---------------------  --------------  -------------  ------    ----  ------   ------\n    MPSK          MPSK       0        employee  all   None                   WPA2-AES        VLAN 44        Disabled  -     Default  No\n    WPA3          WPA3       0        employee  all   None                   WPA3_SAE        Default VLAN   Disabled  -     Default  No\n[...]\n\n```\n### Action\nFor each action, you can use -iap_ip_addr for configure an IAP of cluster (using IP Address)\n\n#### Hostname\n\n```powershell\n# Configure IAP (Host)Name\n    Set-ArubaIAPHostname MyIAP\n```\n\n#### Radio State\n\n```powershell\n# For enable Radio (5Ghz and 2,4Ghz)\n    Set-ArubaIAPRadioState -dot11a -dot11g\n\n# For disable Radio\n    Set-ArubaIAPRadioState -dot11a:$false -dot11g:$false\n```\n\n#### Channel and Power\n\n```powershell\n# for configure manually channel and Power for 802.11a (5Ghz) and 802.11g (2,4Ghz)\n    Set-ArubaIAPChannelPower -apower 10 -achannel 36 -gpower 15 -g-channel 1\n\n```\n\n\n#### Swarm Mode\n\n```powershell\n# Use Standalone Mode\n    Set-ArubaIAPSwarmmode Standalone\n\n# Use Cluster Mode (default)\n    Set-ArubaIAPSwarmmode Cluster\n```\n\n#### Zone\n\n```powershell\n# Add IAP to a Zone\n    Add-ArubaIAPZone MyZone\n\n# Remove all zone of IAP\n    Remove-ArubaIAPZone\n```\n\n### Configuration\n\n#### AP Reboot\n\n```powershell\n# Restart All AP of the cluster\n    Restart-ArubaIAPReboot -target all\n\n# Restart only AP with IP Address 192.0.2.1\n   Restart-ArubaIAPReboot -iap_ip_addr 192.0.2.1 -target single\n```\n\n#### VC Country Code\n\n```powershell\n# Set Virtual Controller Country Code to FR\n    Set-ArubaIAPCountryCode -country_code FR\n\n# Remove Virtual Controller Country code\n    Remove-ArubaIAPCountryCode\n```\n\n#### VC IP Address\n\n```powershell\n# Set Virtual Controller IP(v4) Address to 192.0.2.1\n    Set-ArubaIAPVCIP -vc_ip 192.0.2.1\n```\n\n#### NTP Server\n\n```powershell\n# Set NTP Server to pool.ntp.org\n    Set-ArubaIAPNTP -ntp pool.ntp.org\n\n# Remove NTP Server\n    Remove-ArubaIAPNTP\n```\n\n#### System Location\n\n```powershell\n# Set System Location to PowerAruba\n    Set-ArubaIAPSyslocation -syslocation PowerAruba\n\n# Remove System Location\n    Remove-ArubaIAPSyslocation\n```\n\n#### Organization\n\n```powershell\n# Set Organization to MyOrg\n    Set-ArubaIAPOrganization -syslocation MyOrg\n\n# Remove Organization\n    Remove-Organization\n```\n\n#### Syslog Server\n\n```powershell\n# Set Syslog Server to 192.0.2.1\n    Set-ArubaIAPSyslogServer 192.0.2.1\n\n# Remove Syslog Server\n    Remove-ArubaIAPSyslogServer\n```\n\n#### Syslog Level\n\n```powershell\n# Set Syslog Level to debug (composant syslog)\n    Set-ArubaIAPSyslogLevel -level debug\n\n#Set Syslog Level to error from composant network\n    Set-ArubaIAPSyslogLevel -level error -composant network\n\n# Remove Syslog Level\n    Remove-ArubaIAPSyslogLevel\n```\n\n### Disconnecting\n\n```powershell\n# Disconnect from the Aruba Instant AP\n    Disconnect-IAP\n```\n\n# Issue\n\n## Unable to connect (certificate)\nif you use `Connect-ArubaIAP` and get `Unable to Connect (certificate)`\n\nThe issue coming from use Self-Signed or Expired Certificate for AP management\nTry to connect using `Connect-ArubaIAP -SkipCertificateCheck`\n\n## REST API Service is not enabled\nif you use `Connect-ArubaIAP` and get `503 Service Unavailable REST API Service is not enabled`\n\nYou need to enable REST APi via CLI (SSH)\n\n```code\nIAP (config)# allow-rest-api\nIAP (config)# exit\nIAP# commit apply\n```\n\n\n# List of available command\n```powershell\nConnect-ArubaIAP\nDisconnect-ArubaIAP\nGet-ArubaIAPShowCmd\nInvoke-ArubaIAPRestMethod\nRemove-ArubaIAPCountryCode\nRemove-ArubaIAPNTP\nRemove-ArubaIAPOrganization\nRemove-ArubaIAPSyslocation\nRemove-ArubaIAPSyslogLevel\nRemove-ArubaIAPSyslogServer\nRemove-ArubaIAPZone\nRestart-ArubaIAPReboot\nSet-ArubaIAPAntennaGain\nSet-ArubaIAPChannelPower\nSet-ArubaIAPCipherSSL\nSet-ArubaIAPConnection\nSet-ArubaIAPCountryCode\nSet-ArubaIAPHostname\nSet-ArubaIAPNTP\nSet-ArubaIAPOrganization\nSet-ArubaIAPRadioState\nSet-ArubaIAPSwarmMode\nSet-ArubaIAPSyslocation\nSet-ArubaIAPSyslogLevel\nSet-ArubaIAPSyslogServer\nSet-ArubaIAPuntrustedSSL\nSet-ArubaIAPVCIP\nSet-ArubaIAPZone\nSet-UseUnsafeHeaderParsing\nShow-ArubaIAPException\n```\n\n# Author\n\n**Alexis La Goutte**\n- \u003chttps://github.com/alagoutte\u003e\n- \u003chttps://twitter.com/alagoutte\u003e\n\n# Special Thanks\n\n- Warren F. for his [blog post](http://ramblingcookiemonster.github.io/Building-A-PowerShell-Module/) 'Building a Powershell module'\n- Erwan Quelin for help about Powershell\n\n# License\n\nCopyright 2019 Alexis La Goutte and the community.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoweraruba%2Fpowerarubaiap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoweraruba%2Fpowerarubaiap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoweraruba%2Fpowerarubaiap/lists"}