Get-WssAlert

Gets alerts that the server generated.

Syntax

Get-WssAlert
   [-Network]
   [<CommonParameters>]

Description

The Get-WssAlert cmdlet gets alerts that the server generated for issues that relate to computer backups, server storage, low disk space, files system, and hard drives. Specify the Network parameter to get the alerts that the server generates for the local computer and the computers in your network that the server monitors.

Examples

Example 1: Get alerts

PS C:\> Get-WssAlert

This command gets alerts that the server generated.

Parameters

-Network

Indicates that the cmdlet gets alerts for all computers in the home network.

Type:SwitchParameter
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

System.Collections.IEnumerable<Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework.Alert

This cmdlet returns a collection of alert objects.