Quantcast
Viewing all articles
Browse latest Browse all 21975

Cant enter-pssesion server to itself

Hi,

I started having a strange powershell issue where i cant ps remote from server locally back to itself it gives me an error:

PS C:\Windows\system32> Enter-PSSession ghsehwsw8k3v
Enter-PSSession : Connecting to remote server failed with the following error message : The WinRM client sent a request
 to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HT
TP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting
Help topic.
At line:1 char:16
+ Enter-PSSession <<<<  ghsehwsw8k3v
    + CategoryInfo          : InvalidArgument: (ghsehwsw8k3v:String) [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

i can enter ps session from this server to other servers, and vice versa from remote servers back to this one.

I read that this is an http80 binding issue, but deleting and recreating that in IIS didnt help me.

Tried uninstalling and installing winrm feature in iis, also with no luck

Anyone have any ideas why it wont remote to itself?


Viewing all articles
Browse latest Browse all 21975

Trending Articles