CmdID / PowerShell / Cmdlets / Remove
Remove-ComplianceCaseMember
Use the Remove-ComplianceCaseMember cmdlet to remove a single member from an eDiscovery search in Security & Compliance. 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 remove from 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.