Netsh Commands for Wireless Local Area Network (WLAN)

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2

You can use commands in the Netsh wireless local area network (WLAN) context to configure and manage 802.11 wireless connectivity and security settings. Additionally, you can use Netsh WLAN commands to display information such as 802.11 wireless adapter drivers, wireless network profiles, applied filters, tracing information, and more.

To run these commands from the command prompt, you must either enter the netsh wlan context or prepend the context to the command. You can enter the netsh wlan context by typing netsh and pressing ENTER, and then typing wlan and pressing ENTER. Alternately, if you are at the command prompt but have not entered the wlan context, you can type:

netsh wlan command

Where command is the command that you want to run, including all of the required parameters for the command.

Learn more

The following sections provide Netsh commands for WLAN in Windows Server® 2008 and Windows Server® 2008 R2.

Note

Unless otherwise noted in this reference, Netsh commands in Windows Server 2008 R2 provide the same functionality as the Netsh commands in Windows Server 2008.

The commands documented in the Netsh WLAN reference for Windows Server® 2008 can be run - as documented – on computers running Windows Vista®.

Likewise, the commands documented in the Netsh WLAN reference for Windows Server® 2008 R2 Release Candidate (RC) can be run - as documented – on computers running Windows® 7 RC.