CmdID / PowerShell / Cmdlets / New
New-ComplianceCase
Use the New-ComplianceCase cmdlet to create eDiscovery cases in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 9 parameters Its page in the reference
Parameters
-NameThe Name parameter specifies the unique name of the compliance case.-CaseTypeThe CaseType parameter specifies the type of compliance case that you want to create.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DescriptionThe Description parameter specifies a description for the compliance case.-DomainControllerThis parameter is reserved for internal Microsoft use.-ExternalIdThe ExternalId parameter specifies an optional ID or external case number that you can associate with the new compliance case.-SecondaryCaseTypeThis parameter is reserved for internal Microsoft use.-SourceCaseTypeThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.