1. Client configuration:
Run gpedit.msc to enter the Local Group Policy Manager, Computer Configuration > Administrative Templates > Windows Components > WinRM > WinRM Client
Enable Allow Encrypted Communication;
enable Trusted Hosts and add the exchange server IP address to TrustedHostsList : *.domain.com
2. Server side configuration:
enable-psremoting -force
enable IIS basic authentication
SSL settings do not require SSL, accept