first step
Open cmd and type netsh wlan show profile
Second step
you will see the connected wifi name in your pc
Third step
you will select the any connected wifi name
Fourth step
and type netsh wlan show profile “wifi name”
Fivth step
you will see your select wifi name information
Sixth step and last step
type netsh wlan show profile “wifi name” key = clear
and you will she your selected wifi information you scroll down and left
hand side you will she Key content and is right is your wifi password