No lado do cliente
winrm quickconfig
winrm set winrm/config/client '@{TrustedHosts="Computer1,Computer2"}'
No lado do servidor
Enable-PSRemoting -Force
winrm quickconfig
para https
winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Hostname="_";CertificateThumbprint="_"}
para http
winrm create winrm/config/Listener?Address=*+Transport=HTTP
Teste com
Test-WsMan ComputerName
Test-WsMan ComputerName -UseSSL
Editar: defina TrustedHosts com o PowerShell
Ou com o PowerShell (como administrador)
Set-Item -Path WSMan:\localhost\Client\TrustedHosts -Value "Computer1,Computer2"
E marque (não precisa de Admin para isso)
Get-Item WSMan:\localhost\Client\TrustedHosts