Invoke-RASGateway
SYNOPSIS
Invokes a command on RAS Secure Gateway.
SYNTAX
Invoke-RASGateway -GenerateSecret <SwitchParameter> [<CommonParameters>]Invoke-RASGateway -Default <SwitchParameter> -GenerateSecret <SwitchParameter> [-SiteId <uint>]
[<CommonParameters>]Invoke-RASGateway -GenerateSecret <SwitchParameter> -Id <uint> [<CommonParameters>]DESCRIPTION
Invokes a command on RAS Secure Gateway.
EXAMPLES
Example 1
Invoke-RASGateway -GenerateSecretGenerates a new Web API secret and returns it.
Example 2
Generates a new Web API secret and updates the Gateway Settings
Example 3
Generates a new Web API secret and updates the default Gateway Settings
PARAMETERS
-GenerateSecret
Specifies to generate the web api secret. If no parameter is passed, key is returned.
-Default
Specifies to generate the default web api secret.
-SiteId
Site ID from which to generate the default secret key.
-Id
The ID of the Gateway that will generate the secret key for.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
-none-
Last updated