You might want to hack it.
but there is a simple process to find your wifi password using cmd.
with netsh wlan show profiles command.
Sometimes, a situation arises, where you may forget the connected Wifi internet password.
Besides finding out the Wi-Fi password, you could also use this result to further optimize your WiFi.
For example, Under the profile information, you’re able to see mac randomization is disabled.
source: www.techworm.net