Get-WebApplicationProxyHealth

Gets the health status of the Web Application Proxy server.

Syntax

Get-WebApplicationProxyHealth []

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.

Examples

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

PS C:\> Get-WebApplicationProxyHealth


Component          : AD FS Proxy
RemoteAccessServer : TSQAProxy01
HealthState        : OK
Heuristics         : {Id: 0, ErrorDesc: , ErrorCause: , ErrorResoln: , OperationStatus: , Status: OK}
TimeStamp          : 5/9/2013 6:03:03 PM


Component          : Web Application Proxy Core
RemoteAccessServer : TSQAProxy01
HealthState        : OK
Heuristics         : {Id: 0, ErrorDesc: , ErrorCause: , ErrorResoln: , OperationStatus: , Status: OK}
TimeStamp          : 5/9/2013 6:03:03 PM

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

Outputs

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

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