Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Virtural Directory adsutil.vbs

Status
Not open for further replies.

WebAppsIT

Technical User
Nov 3, 2009
3
0
0
US
I am trying to use adsutil.vbs to create a virtural directory that is identical on 30 servers and I want to do this with a batch file. I found some command on how to do this but when you look at IIS metabase there are other settings not getting aded to the virtural dir does any body knwo how to set these from a batch file? Does anybody knwo how to make a batch file to read and XML virtural directory export?
C:\WINDOWS\ServicePackFiles\i386\adsutil.vbs create W3SVC/1582538432/root/clj/ "IISWebVirturalDir"

Example of Metabase Settings (built manually)
<IIsWebVirtualDir Location ="/LM/W3SVC/1582538432/root/jonesch9"
AccessFlags="AccessExecute | AccessRead | AccessScript"
AppFriendlyName="les-testservices"
AppIsolated="2"
AppRoot="/LM/W3SVC/1582538432/ROOT/LES-SERVICES"
AuthFlags="AuthAnonymous"
DirBrowseFlags="DirBrowseShowDate | DirBrowseShowTime | DirBrowseShowSize | DirBrowseShowExtension | DirBrowseShowLongDate | EnableDefaultDoc"
Path="D:\OPENTEXT\LL971\app1\webservices\dotnet\les-services"
>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top