published

WinWifiSupport

A simple Windows PowerShell script to determine a Wi-Fi adaptor's key capabilities

Author: Brett Verney

Version: v1.1 | 11-05-2021

Background

There are a number of key technologies that, if supported by a Wi-Fi adaptor may be explicitly enabled on the supporting Wi-Fi infrastructure. By filtering through the netsh wlan show command on a Windows machine, we can find the capabilities of the Wireless adaptor. This script simply finds the data that we need, and applies a little formatting to present it a little nicer.

Usage

If not already set, enable PowerShell to run scripts by bypassing the default execution policy for the current user:

Set-ExecutionPolicy Bypass -Scope CurrentUser -Force

Alternatively, you can bypass the execution policy for the current PowerShell session only:

Set-ExecutionPolicy Bypass -Scope Process -Force

Execute the script:

.\WinWifiSupport.ps1

Output

You should see something similar to this:

WinWifiSupport Output

Special Thanks

Felipe Binotto for helping me understand hashtables.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.