ping qq.com -t | ForEach-Object { “$(Get-Date -Format ‘yyyy-MM-dd HH:mm:ss’) $_” } >> 1.txt
Continuous pinging of the site to the file with detailed date and time logging
ping qq.com -t | ForEach-Object { “$(Get-Date -Format ‘yyyy-MM-dd HH:mm:ss’) $_” } >> 1.txt
Continuous pinging of the site to the file with detailed date and time logging