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来减少垃圾评论。了解我们如何处理您的评论数据