| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/remove-spocontenteventemailaddresses |
| applicable | SharePoint Online |
| title | Remove-SPOContentEventEmailAddresses |
| schema | 1.0.0 |
| author | mshabaz |
| ms.author | mshabaz |
| ms.reviewer | |
| manager | miabhish |
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.
Remove-SPOContentEventEmailAddresses [-Category] <ContentEventCategory> [-EmailAddresses] <String[]>
[<CommonParameters>]
Removes the email addresses associated with the specified category of content event if they exist.
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.
Applicable: SharePoint Online
Specifies the content event category.
Type: Microsoft.SharePoint.Administration.TenantAdmin.ContentEventCategory
Parameter Sets: (All)
Aliases:
Accepted values: Unknown, Ransomware, HighVolumeDownload, HighVolumeDelete, HighVolumeShare
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseList of comma seperated email addresses
Type: System.String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.