Admin-Ahead Community

Windows => General Windows => Topic started by: Chetan Singh on January 25, 2014, 11:12:07 am

Title: How to list sites from Command Prompt!
Post by: Chetan Singh on January 25, 2014, 11:12:07 am
Hello,

With the help of this article you will be able to list all the sites.

========================>>>
List all sites hosted in IIS:
------------------------------------
C:\Windows\System32\inetsrv>appcmd list site
SITE "Default Web Site" (id:1,bindings:ftp/*:21:,net.tcp/808:*,net.pipe/*,net.ms
mq/localhost,msmq.formatname/localhost,http/*:80:,state:Started)
------------------------------

List only one particular one site:
------------------------------
C:\Windows\System32\inetsrv>appcmd list site "Default Web Site"
SITE "Default Web Site" (id:1,bindings:ftp/*:21:,net.tcp/808:*,net.pipe/*,net.ms
mq/localhost,msmq.formatname/localhost,http/*:80:,state:Started)
========================>>>

Thank you,