Remove-SPOContentEventEmailAddresses

Removes the email addresses associated with the specified category of content event if they exist. Consequently, notification emails will no longer be sent to these addresses.

Syntax

Remove-SPOContentEventEmailAddresses
      [-Category] <ContentEventCategory>
      [-EmailAddresses] <string[]>

Description

Removes the email addresses associated with the specified category of content event if they exist.

Examples

EXAMPLE 1

Remove-SPOContentEventEmailAddresses -Category Ransomware -EmailAddresses "Joe.Doe@contoso.com", "John.Dow@contoso.com"

In Example 1, the email addresses joe.doe@contoso.com and john.dow@contoso.com have been excluded from the ransomware category within the content event. As a result, notification emails will not be dispatched to these two addresses.

Parameters

-Category

Specifies the content event category.

Type:ContentEventCategory
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-EmailAddresses

List of comma seperated email addresses

Type:strings
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False