CmdID

CmdID / PowerShell / Cmdlets / New

New-ComplianceTag

Use the New-ComplianceTag cmdlet to create retention labels in the Microsoft Purview compliance portal. Exchange PowerShell reference

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

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

Parameters

20 in the Exchange PowerShell reference
Show its 20 parameters
-NameThe Name parameter specifies a unique name for the label.
-PriorityCleanup
-RetentionActionThe RetentionAction parameter specifies the action for the label.
-RetentionDurationThe RetentionDuration parameter specifies the number of days to retain the content.
-RetentionTypeThe RetentionType parameter specifies whether the retention duration is calculated from the content creation date, tagged date, or last modification date.
-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.
-IsRecordLabelThe IsRecordLabel parameter specifies whether the label is a record label.
-IsRecordUnlockedAsDefault
-MultiStageReviewPropertyThe MultiStageReviewProperty parameter specifies the multi-stage review properties to include in the label.
-NotesThe Notes parameter specifies additional information about the object.
-Regulatory
-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.