Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Scripting IIS

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Why do I get a password prompt?  
Author Message
user642

External


Since: Aug 22, 2003
Posts: 2



(Msg. 1) Posted: Thu Oct 02, 2003 1:54 pm
Post subject: Scripting IIS
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello

Is it possible to write a script that changes the home directory
of a web site on IIS 5 / Win2k?


--
Mikael Engdahl

 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
migreen

External


Since: Sep 05, 2003
Posts: 173



(Msg. 2) Posted: Tue Oct 07, 2003 4:37 am
Post subject: RE: Scripting IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Since the setting for the metabase are accessible through a command line,
I'm sure you can write a script to make the changes you desire. For
example: The following command line would return the path for the default
web site:

c:\inetpub\adminscripts>cscript adsutil.vbs get w3svc/1/root/path
Path : (STRING) "c:\inetpub\wwwroot"

Thank you for choosing Microsoft
Miriam Green
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.

 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
scripting - Hello! Anyone know how I can determine in the IIS 6.0 name of Application Pool by ADSI script? It will be great to see sample code or link. Thanks.

Remote Scripting With Clustered Servers - We have a web app that has been in production for a while and it is going to be moved to clustered servers. I need to verify this, but I am pretty certain that both IIS and SQL are running on the same clustered server. (I'm not too familiar with the..

Server side scripting on IIS - local machine only - I'm very new at web programming, but I was working through an example from Beginning VB.net and hit a wall. In the example, you setup 2 text boxes and 2 pushbuttons. All that happens is the text in the boxes changes when you hit the pushbuttons, but one....
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]