Solved

iis script

Posted on 2014-01-25
7
216 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
[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
  • 3
  • 2
  • 2
7 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39809779
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
ID: 39810078
IIS 7 WINDOWS 2003 64
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39810150
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:ethar1
ID: 39810704
sorry , yes it is iis6
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 39812204
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
ID: 39817920
can I use this script to create the web site also?
0
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 39817938
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

735 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