Rotating Azure Function App Host Key

It caught my attention that there's still no easy way to rotate an Azure Function App's host key, in case you want to do it regularly and put it into a Key Vault. There are many scripts available online but none of them did the work I needed, so I compiled them into a single and simple one.

The code is also in my AzureFunctionsPowershells GitHub Repo, which I hope will grow eventually (with enough sun and water, I presume).