Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions exchange/exchange-ps/ExchangePowerShell/Test-Message.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For information about the parameter sets in the Syntax section below, see [Excha

### TransportRules
```
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> [-TransportRules]
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> -TransportRules
[-Confirm]
[-Force]
[-MessageFileData <Byte[]>]
Expand All @@ -35,14 +35,16 @@ Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdPara

### UnifiedDLPRules
```
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> [-UnifiedDlpRules]
Test-Message -Recipients <ProxyAddressCollection> -SendReportTo <RecipientIdParameter> -UnifiedDlpRules
[-Confirm]
[-Force]
[-MessageFileData <Byte[]>]
[-Sender <SmtpAddress>]
[-WhatIf]
[<CommonParameters>]
```
> [!NOTE]
> Test-Message command must be run with either -TransportRules or -UnifiedDlpRules switch.

## DESCRIPTION
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).
Expand Down
Loading