Skip to content

Commit c6f36e5

Browse files
authored
Update Set-TransportRule
Highlighted the fact that "If the rule is created without any condition and exception, that rule will match for all messages." Such rule has huge impact and often lead to the catastrophic scenario for the customer if not set properly. Work Item ID: 3103951
1 parent 46e27f2 commit c6f36e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exchange/exchange-ps/exchange/Set-TransportRule.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ This cmdlet is available in on-premises Exchange and in the cloud-based service.
1616

1717
Use the Set-TransportRule cmdlet to modify existing transport rules (mail flow rules) in your organization.
1818

19-
If you delete all conditions and exceptions from a rule, the rule action is applied to all messages. This can have unintended consequences. For example, if the rule action is to delete the message, removing the conditions and exceptions could cause the rule to delete all inbound and outbound messages for the entire organization.
19+
> [!NOTE]
20+
> If you delete all conditions and exceptions from a rule, the rule action is applied to all messages. This can have unintended consequences. For example, if the rule action is to delete the message, removing the conditions and exceptions could cause the rule to delete all inbound and outbound messages for the entire organization.
2021
2122
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2223

0 commit comments

Comments
 (0)