ping 8.8.8.8 -t | Select-String "Reply" | foreach $_ { $a = Get-Date $a.ToString() + " " + $_ } | Out-File  "C:\users\$env:USERNAME\desktop\PingResults - $((get-date).tostring("(dd MM yyyy)")).txt"