28 April 2015

How to save continuous pinging in Notepad file with time stamp[Solved]

How to save the ping in notepad file
Open command prompt and copy and past the below command(change your ip instead of goolge.com)
ping google.com >> d:\Test.txt -t

How to save ping status with time stamp
Open Windows PowerShell command and copy and past below command
ping -t google.com|Foreach{"{0} - {1}" -f (Get-Date), $_} > D:\test.txt

check in your d drive Test file

No comments: