System command

netsh wlan command

The `netsh wlan` command enables administrators to configure, manage, and troubleshoot wireless networking on Windows. This guide lists the documented syntax and parameters for netsh wlan; check Microsoft Learn for version, role and execution-context requirements.

Availability: Microsoft Learn command reference spanning Windows client and Windows Server releases; some entries are legacy, role-specific, optional-feature or interactive subcommands.中文

Documented syntax

netsh wlan [add | connect | delete | disconnect | dump | export | help | IHV | refresh | reportissues | set | show | start | stop | ?]
netsh wlan add filter [permission=]allow|block|denyall [ssid=]<string> [networktype=]infrastructure|adhoc
netsh wlan add profile [filename=]<string> [interface=]<string> [user=]all|current
netsh wlan connect [name=]<string> [ssid=]<string> [interface=]<string>
netsh wlan delete filter [permission=]allow|block|denyall [ssid=]<string> [networktype=]infrastructure|adhoc
netsh wlan delete profile [name=]<string> [[interface=]<string>]
netsh wlan disconnect [interface=]<string>
netsh wlan dump
netsh wlan export <hostednetworkprofile>
netsh wlan export profile [name=]<string> [folder=]<string> [[interface=]<string>] [key=<string>]
netsh wlan IHV <startlogging> <stoplogging>

The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.

Syntax pattern

Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.

netsh wlan [add | connect | delete | disconnect | dump | export | help | IHV | refresh | reportissues | set | show | start | stop | ?]

Parameters, options and clauses

Option / clauseDescription
<string>Microsoft documents this argument or subcommand; check the linked reference for its required format and context.
<hostednetworkprofile>Microsoft documents this argument or subcommand; check the linked reference for its required format and context.
<startlogging>Microsoft documents this argument or subcommand; check the linked reference for its required format and context.
<stoplogging>Microsoft documents this argument or subcommand; check the linked reference for its required format and context.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory