使用管理员加打windows10中的Windows PowerShell,使用以下命令开始ping
单纯查看
ping.exe -t 8.210.0.141 |Foreach{"{0} - {1}" -f (Get-Date),$_}
记录到文档
ping.exe -t 8.210.0.141 |Foreach{"{0} - {1}" -f (Get-Date),$_}>D:pinglog.txt
参考:https://blog.csdn.net/qq_45172832/article/details/126132596