Batch script for Windows that prints all saved Wi-Fi SSIDs (Service Set Identifiers) and PSKs (Pre-Shared Keys).
Ever forget your Wi-Fi password? 📶
Run the .ps1 file with Windows PowerShell or Windows Terminal to list all saved Wi-Fi SSIDs and passwords.
Or, copy and paste everything from winpsks.ps1 into Windows PowerShell.
Wi-Fi SSID: SSID name : "Wi-believe-I-can-Fi" Password / PSK: Key Content : Take-it-from-a-former-network-engineer Wi-Fi SSID: SSID name : "Thats-what-she-SSID" Password / PSK: Key Content : AVOID-SPACES Wi-Fi SSID: SSID name : "Where-the-wild-pings-are" Password / PSK: Key Content : in-your-SSID-or-PSK
Connect to you Wi-Fi using the "Key Content" as the password.
-
Windows PowerShell
-
Windows Terminal (with default PowerShell)
-
Windows Command Prompt
-
Bash
-
Linux Terminal
-
MacOS Terminal
Note
PSK is accessible via: Launchpad > Other > Keychain Access > [WI-FI SSID] > Show Password