windows ping 带时间

windows powershell 执行:

 

 

ping.exe -t 202.96.209.5 |Foreach{“{0} – {1}” -f (Get-Date),$_}

ping.exe -t 192.168.0.254 | Foreach {“{0} – {1}” -f (Get-Date), $_} | Tee-Object -FilePath “D:\ping_log.txt”

欢迎访问本网站!
雨木霜月 » windows ping 带时间

发表回复

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理