Skip to content

Commit a31b556

Browse files
Create Remove-SPOContentEventEmailAddresses.md
1 parent 10d214a commit a31b556

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/remove-spocontenteventemailaddresses
5+
applicable: SharePoint Online
6+
title: Remove-SPOContentEventEmailAddresses
7+
schema: 1.0.0
8+
author: mshabaz
9+
ms.author: mshabaz
10+
ms.reviewer:
11+
manager: miabhish
12+
---
13+
14+
# Remove-SPOContentEventEmailAddresses
15+
16+
## SYNOPSIS
17+
18+
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.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Remove-SPOContentEventEmailAddresses [-Category] <ContentEventCategory> [-EmailAddresses] <List of comma seperated email addresses>
24+
```
25+
26+
## DESCRIPTION
27+
28+
Removes the email addresses associated with the specified category of content event if they exist.
29+
30+
## EXAMPLES
31+
32+
### EXAMPLE 1
33+
34+
```powershell
35+
Remove-SPOContentEventEmailAddresses -Category Ransomware -EmailAddresses "[email protected]", "[email protected]"
36+
```
37+
38+
In Example 1, the email addresses [email protected] and [email protected] have been excluded from the ransomware category within the content event. As a result, notification emails will not be dispatched to these two addresses.
39+
40+
## PARAMETERS
41+
42+
### -Category
43+
44+
Specifies the Content event category.
45+
46+
```yaml
47+
Type: ContentEventCategory
48+
Parameter Sets: (All)
49+
Aliases:
50+
Applicable: SharePoint Online
51+
Required: True
52+
Position: 1
53+
Default value: None
54+
Accept pipeline input: False
55+
Accept wildcard characters: False
56+
```
57+
58+
### -EmailAddresses
59+
60+
List of comma seperated email addresses
61+
62+
```yaml
63+
Type: strings
64+
Parameter Sets: (All)
65+
66+
Required: True
67+
Position: 2
68+
Default value: None
69+
Accept pipeline input: False
70+
Accept wildcard characters: False
71+
```
72+
73+
### CommonParameters
74+
75+
76+
## RELATED LINKS

0 commit comments

Comments
 (0)