netsh wlan show profile name="Home_Network_5G" key=clear
Exporting Profiles for BackupIf you are setting up a new computer and don't want to manually enter twenty different Wi-Fi passwords, you can export your profiles to XML files. Use the command:netsh wlan export profile folder=C:\BackupYou can then use the netsh add profile command on your new machine to import them instantly. Technical Details in the Output
Group policy profiles (read only) <None>
Now that you know the exact name of the profile (let's say we want the password for ), you need to run a modified version of the command.
Have you ever forgotten your Wi-Fi password? Maybe a friend is visiting and wants to hop on your network, or you need to connect a new device, but you just can't remember that complicated string of characters you set up three years ago.
Open (as administrator for full functionality) and run:
To use this command, you need to access the Command Prompt or Windows PowerShell. Press the Windows Key and type cmd.