#
ping.exe
#
Ping with timestamp
ping.exe -t localhost|Foreach{"{0} - {1}" -f (Get-Date),$_} > ping.txt
ping.exe -t localhost|Foreach{"{0} - {1}" -f (Get-Date),$_} > ping.txt