Netsh Wlan
You can manage connections directly from the CLI.
The key=clear parameter saves the password in plain text; remove it if you want the password encrypted/hidden. netsh wlan
To see details about your Wi-Fi hardware and driver: You can manage connections directly from the CLI
In the ecosystem of Windows network administration, the netsh (Network Shell) utility stands as a versatile and powerful tool for configuring and diagnosing network interfaces. Within this framework, the netsh wlan context emerges as a dedicated, scriptable interface for managing all aspects of wireless local area networking (WLAN). From viewing detailed signal metrics to exporting and importing Wi-Fi profiles, netsh wlan empowers both casual power users and professional system administrators to move beyond the limitations of the graphical interface, offering granular control, automation capabilities, and robust troubleshooting insights. Within this framework, the netsh wlan context emerges
Output includes: Name, Description, GUID, Physical Address (MAC), State, SSID (network name), BSSID (router MAC), Signal strength, and Radio Type (802.11n/ac/ax).
netsh wlan disconnect
netsh wlan show networks mode=bssid