Appcmd IIS7 command line tool

Appcmd list sites
Appcmd list site “sitename” /config

Appcmd start/stop sites “Default Web Site”
(or whatever site you want to start)

Appcmd add sites /name:”Site 5” /id:12 /bindings:http://mysite5.com:80 /physicalPath:C:\inetpub\site5

Backup IIS config:
appcmd add backup
appcmd list backup
appcmd restore backup

It has much much more functionality – appcmd /h

You can leave a response, or trackback from your own site.

Leave a Reply