how to save ping results in notepad with time and date?
windows inbuilt Powershell Ping feature to capture the ping response with timestamp ping.exe -t google.com | ForEach {“{0} – {1}” -f (Get-Date),$_} | Tee C:\mysystemtogoogle.txt ping.exe -t 192.168.2.250 | ForEach {“{0} – {1}” -f (Get-Date),$_} | Tee C:\mysystemtoserverip.txt ping.exe -t 192.168.2.1 | ForEach {“{0} – {1}” -f (Get-Date),$_} | Tee C:\mysystemtogatewayip.txt ping.exe -t erp.manaprojects.com | …
how to save ping results in notepad with time and date? Read More »