Monday, March 26, 2012

Printing IIS 7.0 site collection information

I was asked to make a list of hosted applications on our amazone live server , so that we can perform some analysis on running application, hosted ports etc .
after looking into IIS 7.0 manager i found a summery view is available but not allowing it to copy or to print details , so what i found was
using inetsrv command and providing it a text file , this command\tool will list all sites into provided text file. command can be used like that

c:\windows\system32\inetsrv\> appcmd list sites > sitelist.txt

where sitelist.txt will be the file containing site information.

Note:file can pe placed commonly in system32 folder or C:\users\[yourusers] folder

No comments:

Post a Comment