Our website has a large number of virtual directories being used as redirects (aprox. 150+). We're in the process of making a dev site that will ultimately become our live site so those directories need to be copied over to the new site. I have seen scripts to create virtual directories, but I don't see a way to set them as redirects. Is there a way to move these directories and what they redirect to with a script, or within IIS itself?
The IIS 6 metabase is stored in an XML format, so you may be able to get away with slicing and dicing the XML files on the source and destination servers to get what you want.
Failing that, you could write a script using