Skip to content

Remove-OVSmtpAlertEmailFilter

Syntax

Remove-OVSmtpAlertEmailFilter
    [-InputObject] <Object>
    [-ApplianceConnection <Object>]
    [<CommonParameters>]

Description

Email alerting feature notifies specified recipients when a certain alert occurs. When this feature is configured and enabled, the appliance performs these steps in addition to posting the alert:

  • The appliance compares the alert to configured search criteria.
  • If the alert matches, it creates an email message containing the text of the alert.
  • The appliance sends the email message to designated recipients in both plain text and HTML MIME types. Sending in both types allows the recipient?s mail application to determine the display.

You can enable or disable this email notification feature, or you can enable or disable individual filter notifications, as required.

The appliance provides for as many as 100 recipient and filter combinations, and allows as many as 50 recipients in a single email message. This flexibility lets you fine-tune which alert messages are sent and to whom. For example, you can configure the appliance to send Warning alerts to one recipient and Critical alerts to another.

This Cmdlet will remove configured email alert filters from the appliance.

Info

Minimum required privileges: Infrastructure administrator.

Examples

Example 1

Get-OVSmtpAlertEmailFilter -Name "Monitor CPU Error and Warning conditions" | Remove-OVSmtpAlertEmailFilter

Remove the specified email alert filter.

Parameters

-InputObject <Object>

The email alert filter from Get-OVSmtpAlertEmailFilter.

Aliases None
Required? True
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-ApplianceConnection <Object>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

Aliases Appliance
Required? False
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

The configured email alert filter on the appliance.

Return Values

Returns an async task resource to monitor.