CmdID / PowerShell / Cmdlets / Set
Set-ComplianceTag
Use the Set-ComplianceTag cmdlet to modify retention labels in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 15 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the label that you want to modify.-AutoApprovalPeriod-CommentThe Comment parameter specifies an optional comment.-ComplianceTagForNextStage-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-EventTypeThe EventType specifies the retention rule that's associated with the label.-FilePlanPropertyThe FilePlanProperty parameter specifies the file plan properties to include in the label.-FlowIdThe FlowId parameter specifies the Power Automate flow to run at the end of the retention period.-ForceThe Force switch hides warning or confirmation messages.-MultiStageReviewPropertyThe MultiStageReviewProperty parameter specifies the multi-stage review properties to include in the label.-NotesThe Notes parameter specifies an optional note.-PriorityCleanup-RetentionDurationThe RetentionDuration parameter specifies the number of days to retain the content.-ReviewerEmailThe ReviewerEmail parameter specifies the email address of a reviewer for Delete and KeepAndDelete retention actions.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.