Save Virtual Directory configuration to a file in IIS 7.0?

This is a discussion on Save Virtual Directory configuration to a file in IIS 7.0? within the Inetserver forums in Microsoft Tools category; In IIS 6.0 you could save a virtual directory configuration to a file and create a new virtual directory from a file. How do you do that in IIS 7.0? I want to copy the RPC Directory in Exchnage 2007 from the Default Web Site to another web site on the same server....

Go Back   Application Development Forum > Microsoft Tools > Inetserver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-16-2008, 02:04 PM
Bill
Guest
 
Default Save Virtual Directory configuration to a file in IIS 7.0?

In IIS 6.0 you could save a virtual directory configuration to a file
and create a new virtual directory from a file. How do you do that in
IIS 7.0?

I want to copy the RPC Directory in Exchnage 2007 from the Default Web
Site to another web site on the same server.
Reply With Quote
  #2  
Old 05-19-2008, 11:37 PM
Bernard Cheah [MVP]
Guest
 
Default Re: Save Virtual Directory configuration to a file in IIS 7.0?

huh? I just replied another thread. nvm - try

---
you can use appcmd list site/vdir/etc /config /xml > output.xml

to import it try appcmd add site/vdir/etc /in < output.xml

note - you may need to edit the xml file to avoid conflict etc.
say site id -
export site id = 1
import - change site id to 2 before the appcmd /in syntax.



--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


"Bill" <wnorrish@gmail.com> wrote in message
news:16eef7b0-3cc2-484b-aa5b-468b39797145@e39g2000hsf.googlegroups.com...
> In IIS 6.0 you could save a virtual directory configuration to a file
> and create a new virtual directory from a file. How do you do that in
> IIS 7.0?
>
> I want to copy the RPC Directory in Exchnage 2007 from the Default Web
> Site to another web site on the same server.



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:27 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.