在Azure Function App中运行PowerShell脚本 [英] Run PowerShell Script In Azure Function App

查看:103
本文介绍了在Azure Function App中运行PowerShell脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法在Azure Function中运行PowerShell脚本.我只有3个选项c#,java和javascript.但是我需要运行powershell.我还将运行时堆栈的版本从2x更改为1x,但是不幸的是它无法正常工作.任何帮助将不胜感激:)

解决方案

Azure Functions不支持PowerShell语言.

运行时2.x​​使用新的语言可扩展性模型.此外,为了改善工具和性能,2.x中的每个应用程序都仅限于具有单一语言的功能. 当前在2.x中受支持的语言是C#,F#,JavaScript和Java.尚未更新Azure Functions 1.x实验语言以使用新模型,因此2.x不支持它们.

有关详细信息,请参见有关计划中的语言支持更改的信息,请参见Azure路线图.

--------------- -------------------------------------------------- ------------------------------

如果此答案有帮助,请单击"标记为答案"或"投票".要提供有关您的论坛体验的其他反馈,请单击 在这里 >

Unable to run PowerShell Script in Azure Function. I have only 3 options c#,java and javascript. However i need to run powershell. I also change runtime stack version from 2x to 1x but unfortunately its not working. Any help would be appreciated :)

解决方案

Note: PowerShell is not supported language in Azure Functions.

Runtime 2.x uses a new language extensibility model. In addition, to improve tooling and performance each app in 2.x is limited to only have functions in a single language. Currently supported languages in 2.x are C#, F#, JavaScript, and Java. Azure Functions 1.x experimental languages haven't been updated to use the new model, so they are not supported in 2.x.

For more information, see Supported languages.

For information about planned changes to language support, see Azure roadmap.

-----------------------------------------------------------------------------------------------

If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here


这篇关于在Azure Function App中运行PowerShell脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆