title: Get ping.exe -t condition and log if no reply
body: <p>I'm trying to log ping results if the response doesnt have a reply</p>
  
  <p>My final line is essentially this and I'm wondering how I can capture and log lines that do not get a valid response.</p>
  
  <p>Ping.exe -t 8.8.8.8 | ForEach{"{0}-{1}"-f(Get-Date),$_} > "C:\Users\test.txt"</p>
  
  <p>Any pointers as to how about I could filter those responses?</p>