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("https://raw.githubusercontent.com/psget/psget/master/GetPsGet.ps1") | iexNow, you can easily install module itself:
Install-Module WiFi-Password2. Use it:
To get the password for the WiFi you're currently logged onto:
Show-WiFiPasswordor just
wifi-passwordTo get it for a specific SSID:
$ wifi-password <ssid>To list all the stored WiFi networks:
Select-WiFiMIT