My desktop is win7 and I am trying to connect to a server 2012.
Both hosts are on the same domain.
If I do:
Enter-PSSession -ComputerName *ServerName***
I get the following failure message from winrm
Enter-PSSession : Connecting to remote server xxx failed with the
following error message : WinRM cannot process the request. The following error occurred while using
Kerberos authentication: Cannot find the computer xxx. Verify that the
computer exists on the network and that the name provided is spelled correctly.*
It doesn't matter if I use just the server name or if I enter it fully qualified.
Both systems show
$PSVersionTable.PSVersion 4 0 -1 -1
I have tried the various troubleshooting hints that I found i.e.
Enable-PSRemoting -Force and also set
TrustedHosts = * on both sides.
I also disabled the firewall service on both sides.
When I try to Enter-PSSession from the server to my desktop it works as desired.
But from my desktop to the server I always get the error message that the computer cannot be found.