To get a list of your previous WiFi connections, type this command:
netsh wlan show profiles
To get key from a specific Profile, type this command:
netsh wlan show profile name=”Meraki WiFi” key=clear
This particular key is not secure, do not use it! I’ve change it just to do this post!
References: