Cannot connect to server using Enter-PSSession

This topic contains 3 replies, has 3 voices, and was last updated by  Lucas 3 months, 2 weeks ago.

  • Author
    Posts
  • #73978

    Cam
    Participant

    I'm quite new to PowerShell and am trying to write a script that connects to our web server from our db server and pulls a file across. Unfortunately I'm hitting hurdles straight out of the gate with the following error when trying to use the Enter-PSSession cmdlet:

    I can confirm that PowerShell on the web server is set up and ready to receive connections:

    I am at a loss as to what to check now. Any help would be greatly appreciated.

  • #73979

    Richard Siddaway
    Moderator

    What results do you get if you use the server name instead of the IP address?

    • #73982

      Cam
      Participant

      Thanks for your reply – I think this issue can be ignored for now, I've spoken to our sysadmin who's mentioned there's a larger issue preventing the connection. I'll try again once this is resolved.

  • #74009

    Lucas
    Participant

    Do you have the same error while trying to enter PSsession locally on the server?

You must be logged in to reply to this topic.