CmdID / PowerShell / Cmdlets / Add
Add-ComplianceCaseMember
Use the Add-ComplianceCaseMember cmdlet to add an individual member to an eDiscovery case in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-CaseThe Case parameter specifies the name of the eDiscovery case that you want to modify.-MemberThe Member parameter specifies the user that you want to add to the eDiscovery case.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.