diff --git a/exchange/exchange-ps/ExchangePowerShell/Test-Message.md b/exchange/exchange-ps/ExchangePowerShell/Test-Message.md index 3ec53636f8..784cff7abf 100644 --- a/exchange/exchange-ps/ExchangePowerShell/Test-Message.md +++ b/exchange/exchange-ps/ExchangePowerShell/Test-Message.md @@ -23,7 +23,7 @@ For information about the parameter sets in the Syntax section below, see [Excha ### TransportRules ``` -Test-Message -Recipients -SendReportTo [-TransportRules] +Test-Message -Recipients -SendReportTo -TransportRules [-Confirm] [-Force] [-MessageFileData ] @@ -35,7 +35,7 @@ Test-Message -Recipients -SendReportTo -SendReportTo [-UnifiedDlpRules] +Test-Message -Recipients -SendReportTo -UnifiedDlpRules [-Confirm] [-Force] [-MessageFileData ] @@ -43,6 +43,8 @@ Test-Message -Recipients -SendReportTo ] ``` +> [!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).