WifiConnectionAPI
2.4.0.1
Wifi Management, easy connect with 1 line to a wifi network
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2021 Tvanleeuwen. All rights reserved.
Package Details
Author(s)
- Tvanleeuwen
Tags
wifi wi-fi radio connectivity automation networkadapter wpa2 wpa3 entrerprise 8021x 802.1x user password eap radius bssid ssid winrt
Functions
Connect-WiFiNetwork Connect-WifiNetworkWps Search-WifiNetworks Disconnect-WifiNetwork Get-InternetConnectionCost Get-WifiCurrentConnection Get-WifiConnectionProfile Get-WiFiAvailableAdapter Get-WifiDeviceInformation Get-WifiAvailableNetworks Get-WifiNetworkWpsCapability Get-RadioState Set-RadioState Remove-WifiConnectionProfile Request-LocationPermission
Dependencies
This module has no dependencies.
Release Notes
Minor Update V2.4.0.0
New Features:
WPS PIN and Push Button Support:
Added support for WPS (Wi-Fi Protected Setup) PIN and Push Button methods.
Allows easier connection to compatible Wi-Fi networks without requiring a password.
Hidden SSID Fix:
Fixed the oversight where hidden SSIDs weren’t handled properly. Now, the Connect-WifiNetwork function correctly passes the SSID when connecting to hidden networks.
Codebase Overhaul:
The code has been completely reworked for better readability and maintainability.
Refined structure to make future updates and bug fixes easier to implement.
Bug Fixes & Improvements:
Location Access Handling:
The Request-LocationPermission function now checks for location access properly before attempting to connect to networks, preventing failures related to lack of location access.
Hidden Network Support:
Reworked hidden network support to function properly. When connecting to a hidden SSID, the SSID is now correctly passed in the ConnectAsync call.
WPS Support:
Pin: Added support to connect using WPS PIN method.
Push: Added support for WPS push button connection method.
Other Notable Changes:
Autocompleter Improvements:
Enhanced the autocompleter for SSID, BSSID, and other network-related commands.
Timeout Adjustments:
Default timeout for Await function is now 10 seconds, with customizability up to 60 seconds using the -TimeoutMS parameter.
Multi-Adapter Support:
Target specific Wi-Fi adapters using the -Index parameter, giving more flexibility when managing multiple network adapters.
FileList
- WifiConnectionAPI.nuspec
- Private\ArgumentCompleters.ps1
- Private\Await.ps1
- Private\Functions.ps1
- Private\ScriptBlocks.ps1
- Public\Connectivity\Get-InternetConnectionCost.ps1
- Public\Geolocation\Request-LocationPermission.ps1
- Public\Radio\Get-RadioState.ps1
- Public\Radio\Set-RadioState.ps1
- Public\Wifi\Connect-WifiNetwork.ps1
- Public\Wifi\Connect-WifiNetworkWps.ps1
- Public\Wifi\Disconnect-WifiNetwork.ps1
- Public\Wifi\Get-WiFiAvailableAdapter.ps1
- Public\Wifi\Get-WifiAvailableNetworks.ps1
- Public\Wifi\Get-WifiConnectionProfile.ps1
- Public\Wifi\Get-WifiCurrentConnection.ps1
- Public\Wifi\Get-WifiDeviceInformation.ps1
- Public\Wifi\Get-WifiNetworkWpsCapability.ps1
- Public\Wifi\Remove-WiFiConnectionProfile.ps1
- Public\Wifi\Search-WifiNetworks.ps1
- WifiConnectionAPI.psd1
- WifiConnectionAPI.psm1