Reconfigure Hyper-V External switch to the correct Network Adapter

If you use Hyper-V on your laptop, you will probably recognize this... You work at home, go to the Office and use Wi-Fi instead of the wired connection at home. You boot your VM, and... No network?! *sigh* You must change the External Switch again in your Hyper-V configuration. In this blog post, I will show you how to change it automatically using PowerShell.