Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Created March 14, 2022 15:08
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 yetanotherchris/7acf482f4af84e19e9ad35f69d13254b to your computer and use it in GitHub Desktop.
Save yetanotherchris/7acf482f4af84e19e9ad35f69d13254b to your computer and use it in GitHub Desktop.
Monitor internet speed test in Powershell
# choco install -y jq
# npm install --global fast-cli
while ($true)
{
$now = date;
$dateRow = $now.ToString("dd-MM-yyyy HH:mm");
$dl = fast -u --json | jq '.downloadSpeed';
echo "$dateRow, $dl" >> data.txt;
echo "$dateRow : $dl Mbps"
Sleep 600
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment