RE: Exporting Text File list of all virtual sites running in IIS
From: Yan Liu [MS] (yanliu@online.microsoft.com)
Date: 10/21/02
- Next message: w: "Re: Good Secure FTP Server"
- Previous message: Yan Liu [MS]: "RE: Configuring IIS to use IP then Authentication for access"
- In reply to: Morgan Lean: "Exporting Text File list of all virtual sites running in IIS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: yanliu@online.microsoft.com (Yan Liu [MS]) Date: Mon, 21 Oct 2002 08:36:58 GMT
Hi,
Do you mean you want to get all the virtual directories under 'Default Web
Site'? If so, you may try:
Set objIIS = GetObject("IIS://localhost/W3SVC/1/ROOT")
For Each obj In objIIS
WScript.Echo obj.Name & ":" & obj.KeyType
Next
You can use FileSystemObject to create a text file so that the results will
be exported to the text file.
Also there is a useful tool to check the metabase settings for IIS, check
out the following article if you are interested:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q232068
Regards,
Yan Liu
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: w: "Re: Good Secure FTP Server"
- Previous message: Yan Liu [MS]: "RE: Configuring IIS to use IP then Authentication for access"
- In reply to: Morgan Lean: "Exporting Text File list of all virtual sites running in IIS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]