Skip to content

Instantly share code, notes, and snippets.

@brandedoutcast
Created February 20, 2018 05:48
Show Gist options
  • Save brandedoutcast/d15513ac84d1b5286c1eb35a1f0d3f37 to your computer and use it in GitHub Desktop.
Save brandedoutcast/d15513ac84d1b5286c1eb35a1f0d3f37 to your computer and use it in GitHub Desktop.
Setup, Start, Stop & Restart scripts for hosted network on Windows
REM Setup Hosted Network
netsh wlan stop hostednetwork
netsh wlan set hostednetwork mode=allow ssid=RidersHub key=GiveMeInternet
netsh wlan start hostednetwork
#pause
REM Start Hosted Network
netsh wlan start hostednetwork
REM Stop Hosted Network
netsh wlan stop hostednetwork
REM Restart Hosted Network
netsh wlan stop hostednetwork
timeout 10
netsh wlan start hostednetwork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment