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
Default (Default)
Remove-SPOContentEventEmailAddresses
[-Category] <ContentEventCategory>
[-EmailAddresses] <String[]>
[<CommonParameters>]
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
Applicable: SharePoint Online
Specifies the content event category.
Parameter properties
Type: | Microsoft.SharePoint.Administration.TenantAdmin.ContentEventCategory |
Default value: | None |
Accepted values: | Unknown, Ransomware, HighVolumeDownload, HighVolumeDelete, HighVolumeShare |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-EmailAddresses
List of comma seperated email addresses
Parameter properties
Type: | System.String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.