Solved

iis script

Posted on 2014-01-25
7
205 Views
Last Modified: 2014-01-29
Deal all,
Its possible to develop a iis script to configure virtual directory under given domain?

CreateVD( UnderDomain, VDName, VDPath)
0
Comment
Question by:ethar1
  • 3
  • 2
  • 2
7 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
Comment Utility
Hi,
probably yes. Which IIS version and which scripting technology?
You might be able to use VBScript and ADSI / WMI provider as well as Powershell and WebAdministration module - but all of them depend on the version of the OS/IIS.

Some guidelines:
VBScript and IIS >= 7
http://www.iis.net/configreference/system.applicationhost/sites/site/application/virtualdirectory

VBScript IIS6
http://msdn.microsoft.com/en-us/library/ms524830%28v=vs.90%29.aspx

HTH
Rainer
0
 

Author Comment

by:ethar1
Comment Utility
IIS 7 WINDOWS 2003 64
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
Comment Utility
Hi,
hm, this info does not look right as Windows Server 2003 is shipped with IIS6 and afaik you cannot install another / a newer version on the OS.
Therefore one part has to be wrong: either its
a. Windows Server 2003 with IIS6
or
b. Windows Server 2008 with IIS7

Thanks for clarification.
Rainer
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

Author Comment

by:ethar1
Comment Utility
sorry , yes it is iis6
0
 
LVL 32

Expert Comment

by:Big Monty
Comment Utility
you'll want to use the Iisvdir.vbs script already included in the IIS setup. have a look at the link below

https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/82373078-e14f-4f20-9a1f-883c2e94dc8d.mspx?mfr=true
0
 

Author Comment

by:ethar1
Comment Utility
can I use this script to create the web site also?
0
 
LVL 32

Accepted Solution

by:
Big Monty earned 500 total points
Comment Utility
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

743 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

15 Experts available now in Live!

Get 1:1 Help Now