Hy,

1). How can i create an Application Pool with adsutil? Can someone give
me a code-example?

2). How can i set Identity->Predefined to Local System (on a virtual
directory) with a script?

3). How can i set the Application Pool, which i created (1), to an
virual directory with a script?

4). How can i allowed
-Active Server Pages and
-ASP.NET v.1.1.4322 in the Web Service Extensions with a script?


Please help me...;)

Thanks a lot,
Peter

Re: Automate IIS with Scripts by Egbert

Egbert
Tue Apr 27 05:54:46 CDT 2004

"Peter Wyss" <peter.wyss_@_timeware.ch> wrote in message
news:e3Xj03DLEHA.3300@TK2MSFTNGP10.phx.gbl...
> Hy,
>
> 1). How can i create an Application Pool with adsutil? Can someone give
> me a code-example?

Can you give detail on which scripts residing (by default!) in
file://C:\Inetpub\AdminScripts you can't use?


Re: Automate IIS with Scripts by Peter

Peter
Tue Apr 27 06:12:48 CDT 2004

hy,
>
> Can you give detail on which scripts residing (by default!) in
> file://C:\Inetpub\AdminScripts you can't use?
>

I'm not sure if i have understand your question...i want to use a script
to automate the things described i my first post, because i want to
modify this settings with an installation-programm.

sorry if i haven't understand your question...

Peter

Re: Automate IIS with Scripts by Egbert

Egbert
Tue Apr 27 06:56:28 CDT 2004

"Peter Wyss" <peter.wyss_@_timeware.ch> wrote in message
news:usRLihELEHA.3880@TK2MSFTNGP09.phx.gbl...
> hy,
> >
> > Can you give detail on which scripts residing (by default!) in
> > file://C:\Inetpub\AdminScripts you can't use?
> >
>
> I'm not sure if i have understand your question...i want to use a script
> to automate the things described i my first post, because i want to
> modify this settings with an installation-programm.
>
> sorry if i haven't understand your question...

Your question 1,2,3 is answered by scripts residing in inetpub\adminscripts
(please see that path)

Question 4)
> -ASP.NET v.1.1.4322 in the Web Service Extensions with a script?

this question is not quite clear. ASP.NET has nothing to do with web service
extensions, I
think you mean frontpage web extensions.

Anyway, up to now, you'll need quite a lot of programming to configure IIS
websites. Maybe sourceforge.org has some ISP (website) related scripts for
you. And soon, MS might extend the IIS resource kit with nice tools for
ISP's (hosters).


> Peter


Re: Automate IIS with Scripts by Tom

Tom
Tue Apr 27 07:44:59 CDT 2004

"Peter Wyss" <peter.wyss_@_timeware.ch> wrote in message
news:e3Xj03DLEHA.3300@TK2MSFTNGP10.phx.gbl...
> Hy,
>
> 1). How can i create an Application Pool with adsutil? Can someone give
> me a code-example?
>
> 2). How can i set Identity->Predefined to Local System (on a virtual
> directory) with a script?
>
> 3). How can i set the Application Pool, which i created (1), to an
> virual directory with a script?
>
> 4). How can i allowed
> -Active Server Pages and
> -ASP.NET v.1.1.4322 in the Web Service Extensions with a script?

Start with the IIS 6 Programmatic Administration Guide and use either WMI or
ADSI:
http://www.microsoft.com/resources/documentation/IIS/6/all/proddocs/en-us/prog_prog.asp

1) not exactly what you asked for, but the best I can find:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/iis/creating_application_pools_using_system_directoryservices.asp

2)
http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_mb_apppoolidentitytype.asp

3)
http://www.microsoft.com/resources/documentation/IIS/6/all/proddocs/en-us/ref_mb_apppoolid.asp

4)
http://www.microsoft.com/resources/documentation/IIS/6/all/proddocs/en-us/cl_as_enext.asp

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/




Re: Automate IIS with Scripts by Peter