Test-WssAlertEmail

Test-WssAlertEmail

Sends a test alert email.

Syntax

Test-WssAlertEmail [ <CommonParameters>]

Detailed Description

The Test-WssAlertEmail cmdlet sends a test alert email. You can use this cmdlet to check that your current email settings are correct. This cmdlet sends an email even if there are no alerts currently on the system. You can use the Set-WssAlertEmailSetting cmdlet to change settings for alert email notification.

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.

Examples

Example 1: Send a test alert email

This command sends a test alert email that uses the current email settings.

PS C:\> Test-WssAlertEmail

Get-WssAlertEmailSetting

Set-WssAlertEmailSetting