Hi,
I have been working for several months on a Powershell module that uses the ClearPass REST API.
This module is available on psgallery(.com) : https://www.powershellgallery.com/packages/PowerArubaCP/
Actually, we support to connect to HTTPS using Token API
and configure the following feature :
- NetworkDevice (NAS) : Add / Get / Set /Remove
- ...
it is very easy to use (and install)
Launch powershell command line and laucnh following command for install
Install-Module PowerArubaCP
for load the module
Import-Module PowerArubaCP
Connect to your ClearPass
Connect-ArubaCP 192.0.2.1 -token aaaaaaaaaaaaaaaaaaaaa
for example to get all Network Device (Nas)
Get-ArubaCPNetworkDevice
You can get the list of command available via
Get-Command -Module PowerArubaCP
and for get help (and example about a command for example Add-ArubaCPNetworkDevice)
Get-Help Add-ArubaCPNetworkDevice -Full
More documentation, example is available on https://github.com/PowerAruba/PowerArubaCP and you can also report issue/enhance !