how to find out the wifi password on windows 10 code example

Example 1: windows get wifi password

# show all saved wifi names
netsh wlan show profile
# show specific wifi password
netsh wlan show profile <wifi name> key=clear

Example 2: how to see wifi password windows 10 cmd

Open cmd and Run as an Adminstrator
on THE CMD LINE TYPE "netsh"
c:/user>netsh
in netsh type "wlan show profile"
netsh>wlan show profile
This shows the list of wifi you are connected to:)

Profiles on interface Wi-Fi:

Group policy profiles (read only)
---------------------------------
    <None>

User profiles
-------------
    All User Profile     : Wifi 1
    All User Profile     : Wifi 2
    
   Lets say we are checking Wifi 1
Now type this wlan show profile wifi 1 key=clear

Now look for Key content in the list that pop up!
Thats the password!
netsh>


To leave netsh just ctrl + c