Skip to content

Commit 8851ced

Browse files
authored
Merge pull request MicrosoftDocs#3907 from get-itips/patch-76
Added 2 examples
2 parents 74c02cf + 604fabd commit 8851ced

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

exchange/exchange-ps/exchange/policy-and-compliance/Set-ProtectionAlert.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,35 @@ Use the Set-ProtectionAlert cmdlet to modify alert policies in the Security & Co
1818

1919
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax (https://technet.microsoft.com/library/bb123552.aspx).
2020

21+
2122
> [!NOTE]
2223
> You cannot use this cmdlet to edit default alert policies. You can only modify alerts you have created using New-ProtectionAlert cmdlet.
2324
2425
## SYNTAX
2526

2627
```
2728
Set-ProtectionAlert [-Identity] <ComplianceRuleIdParameter>
28-
[-AggregationType <None | SimpleAggregation | AnomalousAggregation>] [-AlertBy <MultiValuedProperty>]
29+
[-AggregationType <None | SimpleAggregation | AnomalousAggregation>]
30+
[-AlertBy <MultiValuedProperty>]
2931
[-AlertFor <MultiValuedProperty>]
3032
[-Category <None | DataLossPrevention | ThreatManagement | DataGovernance | AccessGovernance | Others>]
31-
[-Comment <String>] [-Confirm] [-Description <String>] [-Disabled <$true | $false>] [-Filter <String>]
32-
[-Name <String>] [-NotificationCulture <CultureInfo>] [-NotifyUser <MultiValuedProperty>]
33-
[-NotifyUserOnFilterMatch <$true | $false>] [-NotifyUserSuppressionExpiryDate <DateTime>]
34-
[-NotifyUserThrottleThreshold <Int32>] [-NotifyUserThrottleWindow <Int32>] [-Operation <MultiValuedProperty>]
35-
[-Severity <Low | Medium | High | None>] [-Threshold <Int32>] [-TimeWindow <Int32>] [-WhatIf]
36-
[<CommonParameters>]
33+
[-Comment <String>]
34+
[-Confirm]
35+
[-Description <String>]
36+
[-Disabled <$true | $false>]
37+
[-Filter <String>]
38+
[-Name <String>]
39+
[-NotificationCulture <CultureInfo>]
40+
[-NotifyUser <MultiValuedProperty>]
41+
[-NotifyUserOnFilterMatch <$true | $false>]
42+
[-NotifyUserSuppressionExpiryDate <DateTime>]
43+
[-NotifyUserThrottleThreshold <Int32>]
44+
[-NotifyUserThrottleWindow <Int32>]
45+
[-Operation <MultiValuedProperty>]
46+
[-Severity <Low | Medium | High | None>]
47+
[-Threshold <Int32>]
48+
[-TimeWindow <Int32>]
49+
[-WhatIf] [<CommonParameters>]
3750
```
3851

3952
## DESCRIPTION
@@ -43,17 +56,18 @@ You need to be assigned permissions in the Office 365 Security & Compliance Cent
4356

4457
### -------------------------- Example 1 --------------------------
4558
```
46-
Insert example commands for example 1.
59+
Set-ProtectionAlert -Identity "Content search deleted" -Severity High
4760
```
4861

49-
Insert descriptive text for example 1.
62+
This example sets the Severity of the detection to High.
5063

5164
### -------------------------- Example 2 --------------------------
5265
```
53-
Insert example commands for example 2.
66+
Set-ProtectionAlert -Identity "Content search deleted" -NotifyUserOnFilterMatch:$true -AggregationType SimpleAggregation -Threshold 10 -TimeWindow 120
5467
```
5568

56-
Insert descriptive text for example 2.
69+
This example modifies an alert so that even though it's configured for aggregated activity, a notification is triggered during a match for the activity. A threshold of 10 detections and a TimeWindow of two hours are also configured in the same command.
70+
5771

5872
## PARAMETERS
5973

0 commit comments

Comments
 (0)