Exporting passwords for WLAN profiles using PowerShell and Netsh

During the course of time, your Windows device has a lot of saved WLAN profiles, and well... Sometimes you just don't know the password you (Or someone else) entered. You just use that connection and then a colleague asks you if you know the password for the customer's SSID... You can export it from your Windows laptop (Or desktop) using the script in this blogpost 🙂