Solved

Create IIS Virtual Directories though script, batch file, or Programming Language

Posted on 2008-06-25
3
1,333 Views
Last Modified: 2013-11-26
I am looking to find a script that will Automatcally create a virtual dirctory in IIS6. I am not really looking for c# / vb.net examples as all of the examples did not work on my production server. The problem i am having with .Net solutions is that it will not create the virtual directory under the proper domain name.

I am looking for something i can pass the name of the web domain and the virual directory and it will do the rest by createing the vdir in the proper website. I would need a switch for basic auth as some of the sites are running basic authentication and others are not.

I would perfer a vbscript or batch file, but if you can find me an alternative solution that works than that would be good.
0
Comment
Question by:talker2004
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Alexey_Varlamov earned 500 total points
ID: 21867532
1. iisweb standard script:  http://technet2.microsoft.com/windowsserver/en/library/a87340fc-86c7-40a9-9881-62789b80cc9d1033.mspx?mfr=true

2. iisvdir standard script:  http://technet2.microsoft.com/windowsserver/en/library/a87340fc-86c7-40a9-9881-62789b80cc9d1033.mspx?mfr=true

You must be a member of the Administrators group on the local computer or member of the Domain Admins in the domain.
0
 
LVL 7

Author Comment

by:talker2004
ID: 21868674
I don't have these scripts. Is this a download or somthing i have to install from the cd?
0
 
LVL 2

Expert Comment

by:Alexey_Varlamov
ID: 21876218
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question