Show Wi-Fi SSIDs
netsh wlan show profiles
Show password for the specific Wi-Fi SSID
netsh wlan show profiles “SSID_name” key=clear
One-liner to get all passwords for all SSIDs
echo Username: & whoami & for /f “skip=9 tokens=4,* delims= ” %i in (‘netsh wlan show profiles’) do @echo %j | findstr -i -v echo | netsh wlan show profiles “%j” key=clear | findstr “name Content” & echo =====