简体   繁体   English

我如何*在*云服务上安装Azure Powershell

[英]How do I install Azure Powershell *on* a cloud service

I have need for a cloud based intranet application to run Azure Powershell. 我需要一个基于云的Intranet应用程序来运行Azure Powershell。 I've done a bunch of digging and I cannot find anywhere that gives me an understanding of the process I need to follow to actually get Azure Powershell to install on my Cloud Service machine so that my app can interact with and manage my Azure environment. 我做了很多工作,但找不到任何地方可以使我了解将Azure Powershell实际安装到我的Cloud Service计算机上所需要遵循的过程,以便我的应用程序可以与我的Azure环境进行交互和管理。

If I run the application with my Azure Powershell scripts locally, everthing is fine, but I cannot for the life of me get it to function correctly on Azure. 如果我使用Azure Powershell脚本在本地运行该应用程序,一切都很好,但是我终生无法使其在Azure上正常运行。

If you check here: https://www.simple-talk.com/cloud/platform-as-a-service/installing-third-party-software-on-windows-azure-%E2%80%93-what-are-the-options/ 如果您在此处查看: https : //www.simple-talk.com/cloud/platform-as-a-service/installing-third-party-software-on-windows-azure-%E2%80%93-what-是选项/

You can see how it can be done in technique 2. 您可以看到如何在技术2中完成。

In short you have to add the installer to your solution. 简而言之,您必须将安装程序添加到解决方案中。 (Make sure it is copy-local) and then install it from a bat file for example. (确保它是本地副本),然后例如从bat文件安装它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM