how to find the connected wifi password in windows 10 in cmd code example

Example: 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