I run a constant
window on my main PC which runs 24/7 and this will catch my eye if the ping suddenly jumps from 20ms to 1000ms which tends to precede a problem, or will report outages you might not notice in everyday computer use. But it doesn't log anything. I don't want to log all the results as it will end up a big log file.
Can any Powershell (for preference) experts give me any ideas how I could run a similar script, which would continue to stream to my command window but also write problematic entries to a log file?
Or would I be better to spend an hour writing my own little C# application rather than faffing about?
(We have persistent intermittent internet supply issues on our FTTC supply - short outages somewhat often and longer outages or prolonged very slow speeds. We're an isolated house with a overhead line at the limit what the cabinet can supply but still typically get a 30/6 sort of speed... except it seems to be increasingly unreliable. Had the engineer out a few times but there's never a fault when he's here. He suspects our internal CAT6 wiring or mesh WiFi is the problem but anyway)
Code:
ping -t google.com
Can any Powershell (for preference) experts give me any ideas how I could run a similar script, which would continue to stream to my command window but also write problematic entries to a log file?
Or would I be better to spend an hour writing my own little C# application rather than faffing about?
(We have persistent intermittent internet supply issues on our FTTC supply - short outages somewhat often and longer outages or prolonged very slow speeds. We're an isolated house with a overhead line at the limit what the cabinet can supply but still typically get a 30/6 sort of speed... except it seems to be increasingly unreliable. Had the engineer out a few times but there's never a fault when he's here. He suspects our internal CAT6 wiring or mesh WiFi is the problem but anyway)
Comment