I have a Windows 2003 IIS6 setup.
I would like to get an extract (system output) of all the header dns entries (virtual hosts etc).
As I need to move my server and just updated the IPs (I don't have direct access to my DNS server as it is managed by our hosting provider, and I can't very well just say "updated all our domains" as we have other servers.
And no, I don't have a pre-existing list, some of this was done before I joined my company.
Thoughts? Is there a way or do I go through manually and do it?
You can list the existing sites with:
Output looks like the following, the
Host
column is the host header value.Here is the Technet for
iisweb.vbs
as well as the Managing Web Sites Using Scripts parent article.