2

I have two computers in the domain. I can successfully execute command:

Enter-PSSession "some computer name" -credentials $cred

But for one reason, I need to execute this command without the credential, like this:

Enter-PSSession "some computer name"

But when I execute this command I see the error:

Enter-PSSession : Connecting to remote server ... failed with the following error message : WinRM cannot process the request. The following error occurred while using Kerberos authentication: Cannot find the computer .... Verify that the computer exists on the network and that the name provided is spelled correctly. For more information, see the about_Remote_Troubleshooting Help topic. At line:1 char:1 + Enter-PSSession "..."

What should I do to fix this issue? I know, that trusted host is *. But remote computer somewhere required a credential. Could you please advice what is missing?

3
  • can you successfully ping "some computer name"? It says it does not find the computer
    – SimonS
    Commented Oct 1, 2019 at 12:06
  • Do you mean that with the credentials it find the computer, but without them it doesn't?
    – harrymc
    Commented Oct 1, 2019 at 12:09
  • yes. I can ping successfully remote computer. And yes, with credential it is working, without is not. Commented Oct 1, 2019 at 12:17

0

You must log in to answer this question.

Browse other questions tagged .