1. Run PowerShell
From the command prompt on Exchange 2019 Server Core, type in PowerShell and Press enter.
2. Add the Snapin
Type in Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn and press enter.
3. Disable Admin Access
Run the following command to disable the EAC: Get-EcpVirtualdirectory | Set-ecpvirtualdirectory -AdminEnabled $False