Old versions of Android may not have this feature.
netsh wlan show profile
to see a list of SSIDs
C:\WINDOWS\system32>netsh wlan show profile Profiles on interface Wi-Fi: Group policy profiles (read only) --------------------------------- <None> User profiles ------------- All User Profile : MWireless All User Profile : Gbomb ... All User Profile : SuperDuperSketchyCorp_388 All User Profile : MGuest C:\WINDOWS\system32>
netsh wlan show profile <profile name here> key=clear
and look at the Key Content field
C:\WINDOWS\system32>netsh wlan show profile Gbomb key=clear Profile Gbomb on interface Wi-Fi: ======================================================================= ... Security settings ----------------- Authentication : WPA2-Personal Cipher : CCMP Authentication : WPA2-Personal Cipher : GCMP Security key : Present Key Content : <password here> ... C:\WINDOWS\system32>
C:\WINDOWS\system32>netsh wlan show profile MWireless key="clear" ... Security settings ----------------- Authentication : WPA2-Enterprise Cipher : CCMP Authentication : WPA2-Enterprise Cipher : GCMP Security key : Absent 802.1X : Enabled EAP type : Microsoft: Protected EAP (PEAP) 802.1X auth credential : User credential Credentials configured : No Cache user information : Yes ...
C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\
ls
/etc/NetworkManager/system-connections/
cat
/etc/NetworkManager/system-connections/<SSID>.nmconnection
sudo grep "psk="
/etc/NetworkManager/system-connections/*