Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-25
3
Medium Priority
?
1,335 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

610 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