Get-WssAlertEmailSetting

Get-WssAlertEmailSetting

Gets settings for alert email notification.

Syntax

Get-WssAlertEmailSetting [ <CommonParameters>]

Detailed Description

The Get-WssAlertEmailSetting cmdlet gets settings for alert email notification. The settings include the SMTP settings for the email account and the recipients of the notification. 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: Get the settings for alert email notification

This command gets the current settings for alert email notification.

PS C:\> Get-WssAlertEmailSetting

Set-WssAlertEmailSetting

Test-WssAlertEmail