WiFiProfileManagement
WiFiProfileManagement copied to clipboard
Source for ProfileName
Get-WiFiProfile and Get-WifiAvailableNetwork return a ProfileName. I'd like to understand how this corresponds to other similar names. I have attached a screenshot to illustrate my questions.
- Is ProfileName the same as the name in the Windows Settings->Wi-Fi dialog list?
- Will ProfileName always exactly match the WiFi network's SSID as reported by Get-WifiAvailableNetwork, assuming the WiFi network is available?
- How can I correlate a network in Get-WiFiAvailableNetwork with an active connection? In the screenshot below, how do I know whether WiFi profile lep22pard or gal47lows is active on InterfaceIndex 9? In this case lep22pard is on 5 GHz and gal47lows is on 2.4 GHz from the same AP.
Originally I thought the WiFi ProfileName corresponded to the Windows network name in Get-NetConnectionProfile and the control panel, but I see that is not always the case, as with "leppard 2" in the screenshot.
Looks like netsh has the correlation between Wi-Fi profile name and connected SSID from netsh wlan show interfaces, like below.
Is there a way to make this determination within WiFiProfileManagement or some other native Powershell module?