< Back
Invoke-ArubaMCRestMethod
Post
NAME Invoke-ArubaMCRestMethod
SYNOPSIS
Invoke RestMethod with ArubaMC connection (internal) variable
SYNTAX
Invoke-ArubaMCRestMethod [-uri] <String> [-method <String>] [-body <PSObject>] [<CommonParameters>]
DESCRIPTION
Invoke RestMethod with ArubaMC connection variable (uidaruba...)
PARAMETERS
-uri <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-method <String>
Required? false
Position? named
Default value get
Accept pipeline input? false
Accept wildcard characters? false
-body <PSObject>
Required? false
Position? named
Default value
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:\\>Invoke-ArubaMCRestMethod -method "get" -uri "configuration/object"
Invoke-RestMethod with ArubaMC connection for get configuration/object
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Invoke-ArubaMCRestMethod "configuration/objectp"
Invoke-RestMethod with ArubaMC connection for get configuration/object uri with default GET method parameter
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Invoke-ArubaMCRestMethod -method "post" -uri "configuration/object" -body $body
Invoke-RestMethod with ArubaMC connection for post configuration/object uri with $body payloade
RELATED LINKS
CommonParameters : False
WorkflowCommonParameters : False
details : @{name=Set-ArubaMCCipherSSL; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Set-ArubaMCCipherSSL
ModuleName : PowerArubaMC
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-ArubaMCCipherSSL
Category : Function
Component :
Role :
Functionality :
CommonParameters : False
WorkflowCommonParameters : False
details : @{name=Set-ArubaMCUntrustedSSL; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Set-ArubaMCUntrustedSSL
ModuleName : PowerArubaMC
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-ArubaMCUntrustedSSL
Category : Function
Component :
Role :
Functionality :
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Show-ArubaMCException; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Show-ArubaMCException [-Exception] <Object> [<CommonParameters>]
ModuleName : PowerArubaMC
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Show-ArubaMCException
Category : Function
Component :
Role :
Functionality :
SYNOPSIS
Invoke RestMethod with ArubaMC connection (internal) variable
SYNTAX
Invoke-ArubaMCRestMethod [-uri] <String> [-method <String>] [-body <PSObject>] [<CommonParameters>]
DESCRIPTION
Invoke RestMethod with ArubaMC connection variable (uidaruba...)
PARAMETERS
-uri <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-method <String>
Required? false
Position? named
Default value get
Accept pipeline input? false
Accept wildcard characters? false
-body <PSObject>
Required? false
Position? named
Default value
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:\\>Invoke-ArubaMCRestMethod -method "get" -uri "configuration/object"
Invoke-RestMethod with ArubaMC connection for get configuration/object
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Invoke-ArubaMCRestMethod "configuration/objectp"
Invoke-RestMethod with ArubaMC connection for get configuration/object uri with default GET method parameter
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Invoke-ArubaMCRestMethod -method "post" -uri "configuration/object" -body $body
Invoke-RestMethod with ArubaMC connection for post configuration/object uri with $body payloade
RELATED LINKS
CommonParameters : False
WorkflowCommonParameters : False
details : @{name=Set-ArubaMCCipherSSL; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Set-ArubaMCCipherSSL
ModuleName : PowerArubaMC
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-ArubaMCCipherSSL
Category : Function
Component :
Role :
Functionality :
CommonParameters : False
WorkflowCommonParameters : False
details : @{name=Set-ArubaMCUntrustedSSL; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Set-ArubaMCUntrustedSSL
ModuleName : PowerArubaMC
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-ArubaMCUntrustedSSL
Category : Function
Component :
Role :
Functionality :
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Show-ArubaMCException; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Show-ArubaMCException [-Exception] <Object> [<CommonParameters>]
ModuleName : PowerArubaMC
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Show-ArubaMCException
Category : Function
Component :
Role :
Functionality :