user8153582
user8153582

Reputation:

Write an Azure function in powershell

I have the following problem. I want to write a Azure Function but need to code in PowerShell. I found several sites online stating, that I can select "experimental" languages when I create a new function. But I can't activate / deactivate this because it doesn't show me the necessary button. So I did some more research, and learnt that I have to use the v1 environment instead of v2, so I changed it. But still I can't change the language and can only code in C#.

The guide to create a new function even tells me, that I can use PowerShell when I create a custom function (see screenshot) but after clicking on the advised link there is no option for that.

Guide when creating the function Guide when creating the function

Options to create a function Options to create a function

Anyone who has the same problem or knows the solution to this??

I found this link beforehand: Where is the option for PowerShell script in Azure Functions But sadly I am missing the upper right button to enable the languages!

Thank you in advance!

Upvotes: 0

Views: 471

Answers (1)

Joy Wang
Joy Wang

Reputation: 42043

For your issue, click create your own custom function,then enable Experimental Language Support, refer to the screenshot.

enter image description here enter image description here

Upvotes: 1

Related Questions