Skip to content

Instantly share code, notes, and snippets.

@shayas
Created December 11, 2015 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shayas/21904bcc6514001a28a8 to your computer and use it in GitHub Desktop.
Save shayas/21904bcc6514001a28a8 to your computer and use it in GitHub Desktop.
:: Restart Windows network interface
@echo off
SET interfaceName="Wi-Fi"
netsh interface set interface name=%interfaceName% admin="DISABLED"
netsh interface set interface name=%interfaceName% admin="ENABLED"
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment