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 "[email protected]", "[email protected]"

In Example 1, the email addresses [email protected] and [email protected] 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