首页 > 解决方案 > 如何将脚本 Powershell 调用到我的后端 .net 核心?

问题描述

如何在后端 .netcore 中调用脚本 PowerShell?例如,当我单击但我运行脚本 PowerShell 以通过模板将 VM 构建为天蓝色时?

我需要那个研讨会的解决方案。

谢谢。

。网

标签: .netazurepowershellasp.net-coreazure-vm

解决方案


Azure Functions 支持 Powershell。您所要做的就是调用 Azure Functions 端点,它将执行代码来构建 VM。

https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell?tabs=portal


推荐阅读