Get-WebApplicationProxyHealth

Get-WebApplicationProxyHealth

Gets the health status of the Web 应用程序代理 server.

语法

Get-WebApplicationProxyHealth [ <CommonParameters>]

详细说明

The Get-WebApplicationProxyHealth cmdlet gets the health status of the Web 应用程序代理 server and the health of the Web Application Proxy services on the Web 应用程序代理 server.

参数

<CommonParameters>

此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

输入

输入类型是指可通过管道传送给 cmdlet 的对象的类型。

输出

输出类型是 cmdlet 所发出对象的类型。

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

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

示例

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

This command gets the health status of the Web 应用程序代理 server.

PS C:\> Get-WebApplicationProxyHealth

相关主题

Get-WebApplicationProxyApplication

Get-WebApplicationProxyConfiguration