Skip to content

Latest commit

 

History

History
95 lines (65 loc) · 2.49 KB

File metadata and controls

95 lines (65 loc) · 2.49 KB
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

Remove-SPOContentEventEmailAddresses

SYNOPSIS

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[]>
 [<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.

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: False

-EmailAddresses

List 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: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Get-SPOContentEventEmailAddresses

Set-SPOContentEventEmailAddresses