Skip to content

Commit 761e718

Browse files
Merge pull request #13170 from MicrosoftDocs/main
[AutoPublish] main to live - 10/13 10:30 PDT | 10/13 23:00 IST
2 parents 4dfddf5 + a55ecec commit 761e718

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exchange/exchange-ps/ExchangePowerShell/Test-Message.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2323

2424
### TransportRules
2525
```
26-
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> [-TransportRules]
26+
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> -TransportRules
2727
[-Confirm]
2828
[-Force]
2929
[-MessageFileData <Byte[]>]
@@ -35,7 +35,7 @@ Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdPara
3535

3636
### UnifiedDLPRules
3737
```
38-
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> [-UnifiedDlpRules]
38+
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> -UnifiedDlpRules
3939
[-Confirm]
4040
[-Force]
4141
[-MessageFileData <Byte[]>]
@@ -45,6 +45,8 @@ Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdPara
4545
```
4646

4747
## DESCRIPTION
48+
You need to run this cmdlet with the TransportRules or UnifiedDlpRules switch.
49+
4850
You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
4951

5052
## EXAMPLES

0 commit comments

Comments
 (0)