I've got a problem, i can't execute a powershell command in remote.
Invoke-Command -ComputerName MYCOMPUTER -Credential MYDOMAIN\MYUSER -ScriptBlock {Get-Culture}
and this is my error log:
Winrs error:WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.
Possible causes are:
-The user name or password specified are invalid. -Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names. -The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains. After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication. -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
I've got full rights on the server, i did "Enable-PSRemoting -Force" in admin, ,WinRm quickconfig" too, and i can ping the server and connect at it.
It's strange because i can do it on another server which has the same version of Windows (Windows Server 2008 R2) and the same version of powershell (2.0). Could you help me please ?
Thanks