Aja*_*jay 4 windows wireless-networking netsh
可以NETSH WLAN找到接口、连接、设置、成本等列表。但是我如何找到最基本的信息:
这些没有帮助:
netsh wlan show profilesnetsh wlan show profiles name=*netsh wlan show interfaces 我刚刚找到了这个问题的答案。只需要使用netsh wlan show interfaces命令即可。这将显示所有接口(Wi-Fi 设备/卡 - 如网络连接中所示)。例如,当没有连接任何WiFi时,会显示:
There is 1 interface on the system:
Name : WiFi
Description : D-Link DWA-132 Wireless N USB Adapter(rev.B)
GUID : b023475e-7b92-4714-9cb2-0d15bc7c182b
Physical address : 78:54:2e:df:1b:01
State : disconnected
Radio status : Hardware On
Software On
Hosted network status : Not available
Run Code Online (Sandbox Code Playgroud)
但是,连接到 Wi-Fi SSID 后,它显示:
There is 1 interface on the system:
Name : WiFi
Description : D-Link DWA-132 Wireless N USB Adapter(rev.B)
GUID : b023475e-7b92-4714-9cb2-0d15bc7c182b
Physical address : 78:54:2e:df:1b:01
State : connected
SSID : YourSSID
BSSID : 06:18:0a:7a:c0:d4
Network type : Infrastructure
Radio type : 802.11n
Authentication : WPA2-Personal
Cipher : CCMP
Connection mode : Profile
Channel : 11
Receive rate (Mbps) : 144
Transmit rate (Mbps) : 144
Signal : 100%
Profile : TheProfileName
Hosted network status : Not available
Run Code Online (Sandbox Code Playgroud)
其中条目Profile: TheProfileName和SSID: YourSSID显示您连接到的配置文件/SSID。如果有多个 Wi-Fi 设备,则会适当显示详细信息。