Get-WebApplicationProxyHealth

Get-WebApplicationProxyHealth

Gets the health status of the Web Application Proxy server.

Syntax

Get-WebApplicationProxyHealth [ <CommonParameters>]

Detailed Description

The Get-WebApplicationProxyHealth cmdlet gets the health status of the Web Application Proxy server and the health of the Web Application Proxy services on the Web Application Proxy server.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.IdentityServer.ApplicationProxy.Management.PowerShell.Health.WebAppProxyHealthStatus

    The return value is 1 if healthy, and any other value for non-healthy.

Examples

Example 1: Get the health of the Web Application Proxy server

This command gets the health status of the Web Application Proxy server.

PS C:\> Get-WebApplicationProxyHealth

Get-WebApplicationProxyApplication

Get-WebApplicationProxyConfiguration