There are multiple ways to view the Wi-Fi password, but using Settings is the easiest. The Netsh utility, accessible via Command Prompt, shows passwords for all the networks you've ever connected to.
Windows creates a separate profile for each Wi-Fi network you’ve successfully logged into. Your Wi-Fi profile saves the network password so that if your Windows PC ...