AppCmd to create a virtual directory in default web site in IIS7

Posted by Riri on Server Fault See other posts from Server Fault or by Riri
Published on 2009-07-28T12:55:35Z Indexed on 2010/04/03 17:03 UTC
Read the original article Hit count: 306

Filed under:
|

I try to create a virtual directory under the "Default Web Site" in IIS 7 using AppCmd. First I however like to see if one already exist. How can I use AppCmd to create a virtual directory under the "Deafult Web Site" and how can I do an if-statement?

© Server Fault or respective owner

Related posts about iis7

Related posts about scripting