Skip to content

Conversation

@arindamthokder
Copy link
Contributor

Updated syntax for Test-Message cmdlet to require -TransportRules or -UnifiedDlpRules switch.

Updated syntax for Test-Message cmdlet to require -TransportRules or -UnifiedDlpRules switch.
@learn-build-service-prod
Copy link

Learn Build status updates of commit 01baefd:

✅ Validation status: passed

File Status Preview URL Details
exchange/exchange-ps/ExchangePowerShell/Test-Message.md ✅Succeeded View (exchange-ps)

For more details, please refer to the build report.

@chrisda
Copy link
Contributor

chrisda commented Oct 13, 2025

@arindamthokder, something strange is going on with the way this cmdlet is coded, because the TransportRules and UndifiedDlpRules parameters both have "Required: True" in the parameter YAML blocks, yet they're showing up with square brackets around them in the Syntax section, which indicates they're optional. The platyPS utility itself is picking this up. I've never seen this situation before.

Also, your note is righteous, but you can't just stick it anywhere in the article. I moved the text under the Description section.

@chrisda chrisda enabled auto-merge October 13, 2025 16:02
@learn-build-service-prod
Copy link

Learn Build status updates of commit e5ea5ae:

✅ Validation status: passed

File Status Preview URL Details
exchange/exchange-ps/ExchangePowerShell/Test-Message.md ✅Succeeded View (exchange-ps)

For more details, please refer to the build report.

@chrisda chrisda merged commit a55ecec into MicrosoftDocs:main Oct 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants