Skip to content

Commit a0c8bd1

Browse files
authored
Update New-TransportRule
Added a 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 a0c8bd1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

exchange/exchange-ps/exchange/New-TransportRule.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ This cmdlet is available in on-premises Exchange and in the cloud-based service.
1616

1717
Use the New-TransportRule cmdlet to create transport rules (mail flow rules) in your organization.
1818

19+
>[!NOTE]
20+
>If you create a rule without conditions and exceptions, 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.
21+
1922
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2023

2124
## SYNTAX

0 commit comments

Comments
 (0)