Skip to content

Commit 8eecc12

Browse files
authored
Merge pull request #662 from Mohammed-Shabaz/user/mshabaz/powershelldoc
Create Get, Set, Remove-SPOContentEventEmailAddresses.md
2 parents 10d214a + 21ca758 commit 8eecc12

File tree

3 files changed

+225
-0
lines changed

3 files changed

+225
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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/get-spocontenteventemailaddresses
5+
applicable: SharePoint Online
6+
title: Get-SPOContentEventEmailAddresses
7+
schema: 1.0.0
8+
author: mshabaz
9+
ms.author: mshabaz
10+
ms.reviewer:
11+
manager: miabhish
12+
---
13+
14+
# Get-SPOContentEventEmailAddresses
15+
16+
## SYNOPSIS
17+
18+
Retrieves email addresses associated with a specific content event category. If no category is specified by the user, email addresses for all categories of content events will be provided.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Get-SPOContentEventEmailAddresses [-Category] <ContentEventCategory>
24+
```
25+
26+
## DESCRIPTION
27+
28+
Retrieves email addresses associated with a specific content event category. If no category is specified by the user, email addresses for all categories of content events will be provided.
29+
30+
## EXAMPLES
31+
32+
### EXAMPLE 1
33+
34+
```powershell
35+
Get-SPOContentEventEmailAddresses -Category Ransomware
36+
```
37+
38+
In Example 1, the system will display the email addresses categorized under ransomware that the admin had previously entered.
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: False
52+
Position: 1
53+
Default value: None
54+
Accept pipeline input: False
55+
Accept wildcard characters: False
56+
```
57+
58+
### CommonParameters
59+
60+
61+
## RELATED LINKS
62+
63+
[Remove-SPOContentEventEmailAddresses](Remove-SPOContentEventEmailAddresses.md)
64+
65+
[Set-SPOContentEventEmailAddresses](Set-SPOContentEventEmailAddresses.md)
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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] <string[]>
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
77+
78+
[Get-SPOContentEventEmailAddresses](Get-SPOContentEventEmailAddresses.md)
79+
80+
[Set-SPOContentEventEmailAddresses](Set-SPOContentEventEmailAddresses.md)
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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/set-spocontenteventemailaddresses
5+
applicable: SharePoint Online
6+
title: Set-SPOContentEventEmailAddresses
7+
schema: 1.0.0
8+
author: mshabaz
9+
ms.author: mshabaz
10+
ms.reviewer:
11+
manager: miabhish
12+
---
13+
14+
# Set-SPOContentEventEmailAddresses
15+
16+
## SYNOPSIS
17+
18+
Adds the email addresses to the specified category of content event. Consequently, notification emails will be sent to these addresses.
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Set-SPOContentEventEmailAddresses [-Category] <ContentEventCategory> [-EmailAddresses] <string[]>
24+
```
25+
26+
## DESCRIPTION
27+
28+
Adds the email addresses to specified category of content event.
29+
30+
## EXAMPLES
31+
32+
### EXAMPLE 1
33+
34+
```powershell
35+
Set-SPOContentEventEmailAddresses -Category Ransomware -EmailAddresses "[email protected]", "[email protected]"
36+
```
37+
38+
In Example 1, the email addresses [email protected] and [email protected] 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.
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
77+
78+
[Get-SPOContentEventEmailAddresses](Get-SPOContentEventEmailAddresses.md)
79+
80+
[Remove-SPOContentEventEmailAddresses](Remove-SPOContentEventEmailAddresses.md)

0 commit comments

Comments
 (0)