On Oct 24, 4:46 pm, "Chris M" <stopthat1....DeleteThis@gmail.com> wrote:
> I am always recreating my IIS virtual directories on to other servers. Is
> there an automated way I can recreate entire IIS virtual directory structure
> using export and import features of IIS? Any samples/articles would be
> great!
IIS version?
What you want can be done in a variety of ways:
1. Write script code against the IIS Admin APIs to create virtual
directory structure
2. Batch Script existing tools like ADSUTIL.VBS to create virtual
directory structure
3. On IIS6, use tools like IISCNFG.VBS to export/import virtual
directory structure.
http://technet2.microsoft.com/windowsserver/en/library/d76460b0-e6c3-4...-88d1-0
In all cases, you are responsible for making sure the physical
directories backing the virtual directories exist and are valid. IIS
will never guess and "fixup" your configuration mistakes.
IIS6 exposes import/export on the UI (same underlying code called by
IISCNFG.VBS). Script code/tools work on all modern IIS versions,
including IIS7 with IIS6 Metabase Compatibility component.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//