Get-RASGatewayStatus
SYNOPSIS
Retrieves RAS Secure Gateway summary and state information.
SYNTAX
Get-RASGatewayStatus [[-Id] <uint>] [<CommonParameters>]Get-RASGatewayStatus [[-InputObject] <Gateway>] [<CommonParameters>]Get-RASGatewayStatus [[-Server] <string>] [[-SiteId] <uint>] [<CommonParameters>]DESCRIPTION
Retrieves the summary and state information for one or all RAS Secure Gateways.
The information includes ID, site ID, RAS Secure Gateway server name, agent version, and state ("OK" meaning the gateway is functioning properly).
To obtain the information for all available gateways, execute the cmdlet with no parameters.
EXAMPLES
Example 1
Get-RASGatewayStatus -Id 15Retrieves the information for the RAS Secure Gateway with ID 15.
Example 2
Retrieves the information for the RAS Secure Gateway named "MyGateway".
Example 3
Retrieves the information for the RAS Secure Gateway identified by the $Gateway object.
Example 4
Retrieves the information for the RAS Secure Gateway identified by the object obtained from the pipeline output.
PARAMETERS
-Server
The name of the gateway for which to retrieve the information.
This must be the actual gateway server name used in the RAS farm.
-SiteId
Site ID from which to retrieve the specified gateway information.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-Id
The ID of the gateway for which to retrieve the information. To obtain the ID, use the Get-RASGateway cmdlet.
-InputObject
An object of type Gateway identifying the gateway.
To obtain the object, use the Get-RASGateway cmdlet.
Type reference: Gateway
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
Gateway
OUTPUTS
GatewaySysInfo
RELATED LINKS
Last updated