Created
March 14, 2022 15:08
-
-
Save yetanotherchris/7acf482f4af84e19e9ad35f69d13254b to your computer and use it in GitHub Desktop.
Monitor internet speed test in Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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