CmdID / PowerShell / Cmdlets / New
New-ComplianceRetentionEventType
Use the New-ComplianceRetentionEventType cmdlet to create retention event types in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-NameThe Name parameter specifies the unique name of the retention event type.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.