ethar turky
asked on
iis script
Deal all,
Its possible to develop a iis script to configure virtual directory under given domain?
CreateVD( UnderDomain, VDName, VDPath)
Its possible to develop a iis script to configure virtual directory under given domain?
CreateVD( UnderDomain, VDName, VDPath)
ASKER
IIS 7 WINDOWS 2003 64
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
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
ASKER
sorry , yes it is iis6
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
https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/82373078-e14f-4f20-9a1f-883c2e94dc8d.mspx?mfr=true
ASKER
can I use this script to create the web site also?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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