I mean yeah its a fancy command but not realy practical as you can just click your way through to see the password.
Anyways, want to do it without user input?
Code:
(netsh wlan show profile name="$(netsh wlan show interfaces | Select-String 'SSID' | ForEach-Object { $_ -replace '^\s+SSID\s+: ','' })" key=clear) | Select-String 'Key content'
Powershell command, wont work in cmd.
Leave a comment: