Useful command: netsh wlan
The management of wireless networks can be done via the Windows command “netsh wlan”. This command is especially useful when using Windows 8. You can use other “netsh” subcommands to retrieve other system information, like “netsh lan” to get information about your Wired AutoConfig Service settings.
The following table describes some options for “netsh wlan”.
Command | Description |
---|---|
show profiles | show all save profiles |
delete profile name=”profile name” | delete a specific profile |
show profile name=”profile name” key=clear | retrieve saved WPA2 PSK |
show wlanreport | report showing recent wireless session information |
export profile “profile name” folder=c:\export | export a profile with all settings to the directory c:\export |
add profile filename=”c:\export\filename” user=all | import a profile with all settings to all users profiles |
show profile “profile name” | display information on the specific wifi network |
show interfaces | shows a list of the wireless LAN interfaces on the system |
show all | display information on all currently available wifi networks |
set profileorder name=”profile name” interface=”Wi-Fi” priority=1 | change the priority of a wifi network |
There are a lot more useful commands available. You can always use the question mark to get more options.
The following two tabs change content below.
René Jorissen
Co-owner and Solution Specialist at 4IP Solutions
René Jorissen works as Solution Specialist for 4IP in the Netherlands. Network Infrastructures are the primary focus. René works with equipment of multiple vendors, like Cisco, Aruba Networks, FortiNet, HP Networking, Juniper Networks, RSA SecurID, AeroHive, Microsoft and many more. René is Aruba Certified Edge Expert (ACEX #26), Aruba Certified Mobility Expert (ACMX #438), Aruba Certified ClearPass Expert (ACCX #725), Aruba Certified Design Expert (ACDX #760), CCNP R&S, FCNSP and Certified Ethical Hacker (CEF) certified.
You can follow René on Twitter and LinkedIn.
Latest posts by René Jorissen (see all)
- MacOS Big Sur and SSLKEYFILELOG - November 23, 2021
- ClearPass, Azure AD, SSO and Object ID - August 12, 2021
- ClearPass – custom MPSK - July 20, 2021
thanx for the information very useful!