Skip to content

Instantly share code, notes, and snippets.

@Technetium1
Created June 30, 2021 18:46
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 Technetium1/e53b0339add96bbedf9d27a4ab33b411 to your computer and use it in GitHub Desktop.
Save Technetium1/e53b0339add96bbedf9d27a4ab33b411 to your computer and use it in GitHub Desktop.
Start-Process -FilePath "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -ArgumentList "http://captive.apple.com/hotspot-detect.html"
timeout /T 10 /NOBREAK
echo "ENDING EDGE!"
Get-Process -Name "*Edge*" | Stop-Process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment