編集

次の方法で共有


Set-SPOContentEventEmailAddresses

Adds the email addresses to the specified category of content event. Consequently, notification emails will be sent to these addresses.

Syntax

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

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

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