How to view the wireless password stored in Windows

Run this command in Windows PowerShell to see Wireless Password store on the computer:

 

(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)}  | Select-String "Key Content\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize

 

You can also use this command to reveal the password for a specific wireless saved on the computer:

Replaced "Wi-Fi name" with the name of your wireless.

netsh wlan show profile name= "Wi-Fi name" key=clear