I am trying to start and stop a website hosted in IIS with windows batch file and found that there is an option that with cscript.exe you can make use of adsutil.vbs file with START_SERVER option.
I know that the following command will do that, but I don't understand what I am supposed enter for 'path'
cscript.exe adsutil.vbs START_SERVER path - starts the given web site
the documentation has a the following sample
cscript.exe adsutil.vbs START_SERVER W3SVC/1
but W3SVC/1
no way related to virtual directory path or the application name.
can you please help me understand??
more info on: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx?mfr=true