How do I create websites on remote servers using appcmd?

江枫思渺然 提交于 2019-11-29 15:11:12

Using psexec.exe from sysinternals has worked for me to run appcmd on the IIS7 host from my administration host.

you can run a web service on the target machine, the web service should have the privileges to add websites to the iis server (done by using System.DirectoryServices

After much searching of the internet i could not find an existing tool that needs to do what i need it to do. So in the end i had to create my own utility application that creates websites using WMI.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!