Skip to content

Instantly share code, notes, and snippets.

@altbdoor
Created February 27, 2016 13:53
Show Gist options
  • Save altbdoor/0324457f85c053fca396 to your computer and use it in GitHub Desktop.
Save altbdoor/0324457f85c053fca396 to your computer and use it in GitHub Desktop.
Small script to share LAN internet with WiFi
:: http://www.slideshare.net/vbdotnetnrew/0321210255-ch21
netsh wlan set hostednetwork mode=allow ssid=<wifi_display_name> key=<wifi_password> keyUsage=persistent
netsh wlan start hostednetwork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment