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
Parameters
-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.