Get-WssAlertEmailSetting
Gets settings for alert email notification.
PowerShell
Get-WssAlertEmailSetting
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.
PowerShell
PS C:\> Get-WssAlertEmailSetting
This command gets the current settings for alert email notification.