Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Enter-PSsession does not work

$
0
0

Hello!

I'm trying to connect to PS on a remote Windows Server 2012 from my Windows 7 client. Firewalls on both the server and the client are disabled.

Here are my steps:

1) I enabled "Remote management" in the server's Server Manager

2) Given that the client and the server are NOT the members of a same domain I ran the following command on the server:

winrm set winrm/config/client `@`{TrustedHosts=`"`*`"`}

3) and then

Enter-PSSession -ComputerName host -Credential host\administrator

 After typing the password in the window that pops up following the command  I receive this error:

"Enter-PSSession : Connecting to remote server failed with the following error message : WinRM cannot process the request. The following error occured while using Kerberos authentication: There are currently no logon servers available to service the logon request. ...."

The question: is there anything else I should do to make a remote PS connections to a server in a different domain/workgroup and where can I read about it?

Thank you in advance,

Michael



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>