Introduction
It's simple, many public wifi spots, be it educational or in a shop, etc. are very unreliable. Simply use the following Powershell script to quickly relase your IP, disconnect then reconnect and receive a new IP.
Using the Code
Personally, I have found that having to do this manually is very annoying (hence the script). Simply replace the "Name
" and "SSID
" with the desired information.
//
ipconfig /release
netsh wlan disconnect
netsh wlan show profile
ipconfig /renew
netsh wlan connect name="NAME" ssid="SSID"
//
Many thanks!