PowerShell – Log A rolling ping with A timestamp Posted by Phil Eddies | Apr 27, 2020 | Tips, Windows, Windows Server | 0 | A quick PowerShell one liner to perform a continuous/rolling ping and log the results to a file with a timestamp ping -t 8.8.8.8|Foreach{"{0} - {1}" -f (Get-Date),$_} > c:\script\ping_log.txt
Recent Comments