see password wifi windows 10 cmd code example
Example 1: cmd commands for wifi password
NETSH WLAN SHOW PROFILE WIFI KEY=CLEAR
Example 2: how to check wifi password using cmd
netsh wlan show profile
NETSH WLAN SHOW PROFILE WIFI KEY=CLEAR
netsh wlan show profile