ping返回时间的命令

zhg1016 / 2023-05-23 / 原文

打powershell

输入 如  ping.exe -t 192.168.192.1 |Foreach{"{0} - {1}" -f (Get-Date),$_}       

把ip地址替换为你想ping的地址

返回如下图所示