Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Invoke-Command - Network connection has been interrupted

$
0
0

Hi,

I have been having this problem intermittently, i use

invoke-command -AsJob -computername myserver1 -scriptblock{get-process}

WARNING: The network connection to myserver1 has been interrupted. Attempting to reconnect for up to 4 minutes...

WARNING: Attempting to reconnect tomyserver1 ...

WARNING: The network connection tomyserver1 has been restored.

On another window i did a ping myserver1 -t to see if any network packets are lost but anything of that sort happened.

I tried using the IP of myserver1 as well and see the same.

Any idea why this message comes up and under what circumstances?

Thanks for your thoughts and help.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>