Skip to content

Instantly share code, notes, and snippets.

@t3hmun
Created October 31, 2022 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t3hmun/7d0e0cd9ef91bb5a7a28b29ade23f248 to your computer and use it in GitHub Desktop.
Save t3hmun/7d0e0cd9ef91bb5a7a28b29ade23f248 to your computer and use it in GitHub Desktop.
Download sysinternals psping.exe to create a log of pings to google every second.
./psping.exe -i 1 -t 8.8.8.8 | Foreach{"{0}, {1}" -f (Get-Date),$_} >> uptime.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment