I have same issue with Management Tools Only computers and scripts on them (stop working).
I found how to fix EMS only computers and RedistributeActiveDatabases (and other) scripts.
I disabled certificate signing of PowerShell serialization payloads and after restart servers (but should work and without them) and my scripts works again and RedistributeActiveDatabase script:
https://learn.microsoft.com/en-us/exchange/plan-and-deploy/post-installation-tasks/security-best-practices/exchange-serialization-payload-sign?view=exchserver-2019#disable-certificate-signing-of-powershell-serialization-payloads
I disabled it at one server and article says that i need restart IIS and WAS services on all other servers, but no need re-use disabling comandlets, just restart services:
This command enables all servers <...> in your environment for certificate signing of PowerShell serialization payloads. You don’t need to run the command on every Exchange server.