Skip to content

Instantly share code, notes, and snippets.

@atao
Created July 18, 2017 09:42
Show Gist options
  • Save atao/29356e37e32ea9b3e89609556d96403d to your computer and use it in GitHub Desktop.
Save atao/29356e37e32ea9b3e89609556d96403d to your computer and use it in GitHub Desktop.
How manage wireless networks with netsh?
REM Info for an interface
Netsh WLAN show interfaces
Netsh WLAN show interface name="Interface_Name"
REM Export Wireless key
Netsh WLAN export profile key=clear folder="c:\Temp"
REM Import profile
Netsh WLAN add profile filename="File_Path.XML"
REM Profile info
Netsh WLAN show profile name="Profile_Name" key=clear
REM Delete profile
Netsh WLAN delete profile name="Profile_Name"
REM Change mode connexion auto/manual
Netsh WLAN set profileparameter name=" Profile_Name" connectionmode=auto/manual
REM Reporting with Netsh
Netsh WLAN show WLANreport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment