How to export list of host headers from iis?

How to export list of host headers from iis?

am 24.08.2007 22:14:10 von MichaelC

I have 45 websites running on IIS, many have multiple host headers. For
example www.companyA.com may also have a host header for www.companyA.net.
Does anyone know of a clever way to generate a list of all my host headers
without having to drill into each IIS web properties?

thank-you!
--

Michael C.
Microsoft Certified Solution Provider
Independent Solution Vendor

Re: How to export list of host headers from iis?

am 25.08.2007 08:19:12 von Kristofer Gafvert

Hello,

You can write a script. The following script can be a starting point, or
you can use it directly since it will print out all information you want
(and some more):

http://blogs.msdn.com/david.wang/archive/2005/07/13/HOWTO_En umerate_IIS_Website_Configuration.aspx

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Michael C. wrote:

>I have 45 websites running on IIS, many have multiple host headers. For
>example www.companyA.com may also have a host header for www.companyA.net.
>Does anyone know of a clever way to generate a list of all my host headers
>without having to drill into each IIS web properties?
>
>thank-you!

Re: How to export list of host headers from iis?

am 25.08.2007 16:48:00 von MichaelC

Thank-You Kristopher, that is just whatI needed.
--

Michael C.
Microsoft Certified Solution Provider
Independent Solution Vendor



"Kristofer Gafvert" wrote:

> Hello,
>
> You can write a script. The following script can be a starting point, or
> you can use it directly since it will print out all information you want
> (and some more):
>
> http://blogs.msdn.com/david.wang/archive/2005/07/13/HOWTO_En umerate_IIS_Website_Configuration.aspx
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Michael C. wrote:
>
> >I have 45 websites running on IIS, many have multiple host headers. For
> >example www.companyA.com may also have a host header for www.companyA.net.
> >Does anyone know of a clever way to generate a list of all my host headers
> >without having to drill into each IIS web properties?
> >
> >thank-you!
>