How to move an Azure VM to another virtual network

So there you are. You created a new VM late at night and didn't pay close attention when hitting enter on that New-AzVM command. Unfortunately it got placed in the wrong virtual network/subnet. "Okay, let's just create another NIC" - you think. But things are not that easy.…