What just happened!? Powershell Remote issues

My dev box I use to do remote powershell stuff just stopped working all of a sudden. Here is what happened, yesterday it was working fine, this morning when I came in no longer works.

Simple commands I used to do like

Get-WmiObject -computername COMPUTER win32_bios 

are met with

Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) 

But if i turn around and run it again, it connects. Then if i try to

Enter-PSSession -ComputerName COMPUTER 

Im met with

Enter-PSSession : Connecting to remote server COMPUTERNAME 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 HTTP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting Help topic. 

If I get on my laptop or another computer and try the same commands to the same remote computer, it works perfect. So i thought it was an issue with my computer and just reimaged it to win10v1803 which is what I was using yesterday, and the same reult.

submitted by /u/saGot3n
[link] [comments]

Leave a Reply