Test-WssHealth

Test-WssHealth

Performs an evaluation of all health checks.

Syntax

Test-WssHealth [ <CommonParameters>]

Detailed Description

The Test-WssHealth cmdlet performs an evaluation of all health checks. If the cmdlet finds no outstanding health alerts, it returns a value of $True. If it finds outstanding health alerts, it returns a value of $False.

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.

  • bool

Examples

Example 1: Perform a health check evaluation

This command performs evaluation of all health checks. The command returns a value of $True or $False, depending on whether it finds outstanding alerts.

PS C:\> Test-WssHealth