Solved

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

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

732 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