Article ID: 197891 - Last Review: June 23, 2005 - Revision: 3.2 Enumerating the Names of IIS Web Sites Using WSHThis article was previously published under Q197891 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
SUMMARY
When you use the Windows NT Option Pack (NTOP) and Internet Information
Server (IIS) version 4.0, Web sites are added to the server using the
Microsoft Management Console (MMC). Each new Web site is given a number in
the metabase, and this number is used by IIS when logging and FrontPage
when installing extensions. It is sometimes desirable to know which number
corresponds to a given Web site.
MORE INFORMATION
The following code was written using Windows Script Host (WSH) and
lists all Web sites by their short metabase path and name.
To use this script, follow these steps:
| Article Translations
|
Back to the top
