People ask you for the Wi-Fi password. Answer quickly. Windows only.
This is inspired by same-purpose tool for macOS by @rauchg.
1. Install it
First of all, install PsGet if you don't have it yet - it's awesome module manager for PowerShell:
(New-Object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex
Now, you can easily install module itself:
Install-Module WiFi-Password
2. Use it:
To get the password for the WiFi you're currently logged onto:
Show-WiFiPassword
or just
wifi-password
To get it for a specific SSID:
$ wifi-password <ssid>
To list all the stored WiFi networks:
Select-WiFi
MIT