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"
>
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"
>