CmdID

CmdID / PowerShell / Cmdlets / Validate

Validate-RetentionRuleQuery

Use the Validate-RetentionRuleQuery cmdlet to validate the Keyword Query Language (KQL) content search filters for retention rules. Exchange PowerShell reference

From the Exchange PowerShell reference 1 parameter Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

1 in the Exchange PowerShell reference
-KqlQueryStringThe KqlQueryString parameter specifies the KQL text search string that you want to validate.