CmdID

CmdID / PowerShell / Cmdlets / Set

Set-CaseHoldRule

Use the Set-CaseHoldRule cmdlet to modify existing case hold rules in the Microsoft Purview compliance portal. Exchange PowerShell reference

From the Exchange PowerShell reference 6 parameters Its page in the reference

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

Parameters

6 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the case hold rule that you want to modify.
-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.