Set-SPOContentEventEmailAddresses
Adds the email addresses to the specified category of content event. Consequently, notification emails will be sent to these addresses.
Syntax
Default (Default)
Set-SPOContentEventEmailAddresses
[-Category] <ContentEventCategory>
[-EmailAddresses] <String[]>
[<CommonParameters>]
Description
Adds the email addresses to specified category of content event.
Examples
EXAMPLE 1
Set-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 has been added to the ransomware category within the content event. As a result, notification emails of ransomware events will 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.