Test-WssHealth

Performs an evaluation of all health checks.

Syntax

Test-WssHealth []

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.

Examples

Example 1: Perform a health check evaluation

PS C:\> Test-WssHealth

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

Outputs

Boolean