Solved

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

Posted on 2008-06-25
3
1,326 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
  • 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

896 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now