Creating PowerShell Azure Functions and deploying them with Bicep

Albert Starreveld
5 min readAug 9, 2022

Azure Functions supports various runtimes. One of them is PowerShell. Not all workloads of an Azure Function are complex. In that case, a PowerShell Azure Function might be useful to execute small tasks.

In this article, I’m creating an Azure Function based on PowerShell. I’m coding the required infrastructure with Bicep so that it can be deployed continuously too. As a result, with a couple of files, you can deploy the Azure Function and the changes we’ve made to it repeatedly, continuously.