CmdID / PowerShell / Cmdlets / New
New-CaseHoldRule
Use the New-CaseHoldRule cmdlet to create new case hold rules in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-NameThe Name parameter specifies a unique name for the case hold rule.-PolicyThe Policy parameter specifies the case hold policy that contains the rule.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ContentMatchQueryThe ContentMatchQuery parameter specifies a content search filter.-DisabledThe Disabled parameter specifies whether the case hold rule is enabled or disabled.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.