If you have forgotten the wireless password of a network you have previously connected to you can view this by going into the wireless networks properties, but a simple command line utility also do this for older connected networks.
View wireless network profiles
netsh wlan show profiles
Show passwords in clear text
netsh wlan show profiles name=[profile name] key=clear
Using Netsh Commands for Wi-Fi Management in Windows 10 | ServerWatch