Skip to content

Instantly share code, notes, and snippets.

@ceberous
Created November 27, 2018 07:05
Show Gist options
  • Save ceberous/68349bd940abff7a2549e02be397ac28 to your computer and use it in GitHub Desktop.
Save ceberous/68349bd940abff7a2549e02be397ac28 to your computer and use it in GitHub Desktop.
Windows Restart Network
# https://stackoverflow.com/questions/36085055/batch-file-to-enable-disable-network-adapter
# netsh interface show interface
netsh interface set interface "Wireless network connection" DISABLED
TIMEOUT /T 5
netsh interface set interface "Wireless network connection" ENABLED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment