Export List of IIS7 Sites

Expand / Collapse


This article explains how to export of a list of sites in IIS on Windows Server 2008.


    1. Log into the server via Remote Desktop.
    2. Open a command prompt.
    3. Change the directory to %windir%\system32\inetsrv\ by running the following command:

      cd %windir%\system32\inetsrv\

    4. Run the following command to export the sites and save it to the C: drive as an Excel worksheet:

      appcmd list site > c:\sites.xls

    5. You could use it this way if you want all of the fields, but to clean it up further open the .xls file with Excel.

    Rate this Article:

    Category: Windows

    Last Modified:Tuesday, May 08, 2012 11:06 AM

    Type: HOWTO

    Level: Beginner

    Rated 5 stars based on 1 vote

    Article has been viewed 6,472 times.

    Email Article Email Article

    Social Bookmarks Social Bookmarks