开发者

How do I create websites on remote servers using appcmd?

I have used appcmd to create websites on my local computer. There doesn't appear to be a server parameter which means that i have to remote desktop on to each machine that i'm deploying to and run the appcmd comm开发者_如何学运维and.

Also, can i use appcmd to deploy to IIS 6.0? If not, how do i deploy to remote IIS 6.0 web servers? I've tried the iisweb.vbs but i can't get it to run on my windows 7 computer because it can#t find the Microsoft.cmdlib. I have tired registering this file but it doesn't make a difference.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜