简体   繁体   English

如何使用Powershell在IIS 5.0中创建应用程序?

[英]How do I create an application in IIS 5.0 using powershell?

I've worked out how to interact with IIS 6.0, but I can't find anything on the net about how to talk to IIS 5.0 - if indeed it's even possible? 我已经找到了如何与IIS 6.0进行交互的方法,但是在网上找不到有关如何与IIS 5.0进行通信的信息-如果确实可以的话?

I would like to write a script to create a temporary application, so I can copy some ASP.NET files there, build them, and then remove the temporary application. 我想编写一个脚本来创建一个临时应用程序,因此我可以在其中复制一些ASP.NET文件,构建它们,然后删除该临时应用程序。

If needs be I am happy to call a third-party VBScript instead. 如果需要,我很乐意调用第三方VBScript。

There use to be some installers on the ASP.NET downloads that would setup a project in IIS 5.0. 过去在ASP.NET下载中有一些安装程序可以在IIS 5.0中设置项目。 I think it was the old ASP.NET Forums software. 我认为这是旧的ASP.NET论坛软件。 I know this wasn't an answer to your question. 我知道这不是您问题的答案。

If I was a betting man I would say they probably created a batch file that used the VBScripts. 如果我是一个博彩人,我会说他们可能创建了一个使用VBScript的批处理文件。 Because I remember a black window popping up to compile and deploy. 因为我记得弹出一个黑色窗口以进行编译和部署。

As far as PowerShell goes, I don't think there is any solution for integration with IIS 5. 就PowerShell而言,我认为没有与IIS 5集成的任何解决方案。

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

相关问题 如何使用PowerShell在IIS 8.5中为特定用户创建应用程序池? - How do I create an application pool with specific user in IIS 8.5 using PowerShell? 如何在 IIS 管理器中使用 PowerShell 或 appcmd 在 Compression 中设置应用程序池磁盘空间限制? - How do I set the application pool disk space limit in IIS Manager in Compression using PowerShell or appcmd? 如何使用 PowerShell 在 IIS 中设置 RapidFailProtectionInterval? - How do I set rapidFailProtectionInterval in IIS using PowerShell? 如何使用 Powershell 删除 IIS 自定义标头? - How do I remove IIS custom header using Powershell? 我可以使用Powershell在远程IIS服务器上创建站点和应用程序池吗? - Can I create sites and application pools on a remote IIS server using Powershell? 如何使用Powershell回收IIS AppPool? - How do I recycle an IIS AppPool with Powershell? 如何在IIS中运行PowerShell脚本? - How do I run a PowerShell script “in” IIS? Powershell:如何在子文件夹下创建 IIS 6 虚拟目录/Web 应用程序 - Powershell : How to create IIS 6 Virtual Directory/Web application under a Subfolder 使用Powershell选择IIS物理路径后,如何删除/创建/重命名文件? - How do you delete/create/rename files after selecting the IIS Physical Path using Powershell? 如何通过在章鱼上使用Powershell创建Nginx IIS LoadBalancer? - How can I create Nginx IIS LoadBalancer by using Powershell over Octopus?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM