Skip to content

Commit

Permalink
README(.md): fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
alagoutte committed Nov 25, 2019
1 parent df2ca60 commit c8d3924
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,31 +59,41 @@ if you get a warning about `Unable to connect` Look [Issue](#Issue)

### Show command

You can display some command... (CLi to API)
You can display some command... (CLI to API)

```powershell
# Display AP Database (show ap database)
Get-ArubaMCShowCmd "show ap database"
Status : Success
Status-code : 0
CLI Command executed : show clients
AP Database
-----------
{@{AP Type=305; Flags=; Group=default; IP Address=10.44.5.81; Name=Test; Standby IP=0.0.0.0; Status=Down; Switch IP=...
IAP IP address : 10.44.55.230
Command output : cli output:
COMMAND=show clients
Client List
-----------
Name IP Address MAC Address OS ESSID Access Point Channel Type Role IPv6 Address Signal Speed (mbps)
---- ---------- ----------- -- ----- ------------ ------- ---- ---- ------------ ------ ------------
Number of Clients :0
Info timestamp :1522412
#Display the value
(Get-ArubaMCShowCmd "show ap database")."Ap Database"
AP Type : 305
Flags :
Group : default
IP Address : 10.44.5.81
Name : Test
Standby IP : 0.0.0.0
Status : Down
Switch IP : 10.200.5.111
#Display the meta
(Get-ArubaMCShowCmd "show ap database")._meta
Name
Group
AP Type
IP Address
Status
Flags
Switch IP
Standby IP
```
Expand Down

0 comments on commit c8d3924

Please sign in to comment.