Run a powershell script at startup of your windows machine that lets you know when network has been disconnected
- Put the script somewhere and copy the file path
C:\Users\[USERNAME]\Documents\network-alert.ps1
- Then navigate to:
C:\Users\[USERNAME]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
-
Right click > New > Shortcut
-
Paste this as the target
powershell.exe -noexit -ExecutionPolicy Bypass -File C:/path/to/script/from/step/1
This script was made entirely by ChatGPT, modified to ping to captive.apple.com
(to also activate any network login pages)