< Back

Get-ArubaIAPShowCmd

Sat Jan 18, 2020 8:33 pm

NAME Get-ArubaIAPShowCmd



SYNOPSIS

Get the result of a cli command on Aruba Instant AP





SYNTAX

Get-ArubaIAPShowCmd [-cmd] <String> [-iap_ip_addr <IPAddress>] [-display_result] [<CommonParameters>]





DESCRIPTION

Get the result of a cli command.



Following command are available :

show clients, show aps, show running-config, show stats ap <IP-address>, show version, show summary, show

wired-port-settings

show port status, show network, show client debug, show network <name>, show network <name>, show log iap-bootup,

show client status <mac>





PARAMETERS

-cmd <String>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-iap_ip_addr <IPAddress>



Required? false

Position? named

Default value ${DefaultArubaIAPConnection}.iap_ip_addr

Accept pipeline input? false

Accept wildcard characters? false



-display_result [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-ArubaIAPShowCmd -cmd "Show running-config"



This function give you the result (status, status-code, Cli Command, IAP IP Address, Command Output...) of a cli

command on the IAP.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-ArubaIAPShowCmd -cmd "Show running-config" -display_result



This function give only ther esult of a cli command on the IAP.











RELATED LINKS