Query all available wifi networks
We can query all available wifi networks on a windows machine either user powershell or command prompt –
Command | Output |
---|---|
Microsoft Windows [Version 10.0.19045.3324] (c) Microsoft Corporation. All rights reserved. C:\Users\ali_baba>netsh wlan show networks | Interface name : Wi-Fi There are 5 networks currently visible. SSID 1 : MYWIFI Network type : Infrastructure Authentication : Open Encryption : None SSID 2 : Network type : Infrastructure Authentication : WPA2-Personal Encryption : CCMP SSID 3 : WHYPTel Network type : Infrastructure Authentication : WPA2-Personal Encryption : CCMP SSID 4 : DevicesY Network type : Infrastructure Authentication : WPA2-Personal Encryption : CCMP SSID 5 : Area51 Network type : Infrastructure Authentication : WPA2-Enterprise Encryption : CCMP |
Command | Output |
---|---|
PS C:\Users\ali_baba>netsh wlan show networks | Interface name : Wi-Fi There are 5 networks currently visible. SSID 1 : MYWIFI Network type : Infrastructure Authentication : Open Encryption : None SSID 2 : Network type : Infrastructure Authentication : WPA2-Personal Encryption : CCMP SSID 3 : WHYPTel Network type : Infrastructure Authentication : WPA2-Personal Encryption : CCMP SSID 4 : DevicesY Network type : Infrastructure Authentication : WPA2-Personal Encryption : CCMP SSID 5 : Area51 Network type : Infrastructure Authentication : WPA2-Enterprise Encryption : CCMP |