ping带时间记录

使用Powershell执行

ping.exe -t IP地址 |Foreach{"{0} - {1}" -f (Get-Date),$_}>D:/ping.txt
原文地址:https://www.cnblogs.com/ChenRihe/p/Ping_Record.html