Cannot connect to server using Enter-PSSession

Welcome Forums General PowerShell Q&A Cannot connect to server using Enter-PSSession

This topic contains 3 replies, has 3 voices, and was last updated by

 
Participant
1 year, 3 months ago.

  • Author
    Posts
  • #73978
    Cam

    Participant
    Points: 0
    Rank: Member

    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:

    View post on imgur.com

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

    View post on imgur.com

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

  • #73979

    Participant
    Points: 0
    Rank: Member

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

    • #73982
      Cam

      Participant
      Points: 0
      Rank: Member

      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

    Participant
    Points: 0
    Rank: Member

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

The topic ‘Cannot connect to server using Enter-PSSession’ is closed to new replies.