CmdID / PowerShell / Cmdlets / Update
Update-eDiscoveryCaseAdmin
Use the Update-eDiscoveryCaseAdmin cmdlet to replace all existing eDiscovery Administrators in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 3 parameters Its page in the reference
Parameters
-UsersThe Users parameter specifies the users that replaces the current eDiscovery Administrators.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.