Central administration

Central administration

am 23.10.2007 17:03:01 von Ed

Hi,

I'd like to control the configuration of IIS from a remote computer, but I'm
struggling to see how I could change things like host headers for sites via
the command line, it would also be useful to be able to change the script
permissions on directories.

Does anyone have any tips for how I can do this?

Re: Central administration

am 23.10.2007 17:22:56 von Leon Mayne

"ed" wrote in message
news:C257EA5E-6C2F-45CE-8110-DA4802452D27@microsoft.com...
> Hi,
>
> I'd like to control the configuration of IIS from a remote computer, but
> I'm
> struggling to see how I could change things like host headers for sites
> via
> the command line, it would also be useful to be able to change the script
> permissions on directories.
>
> Does anyone have any tips for how I can do this?

Can you not use:
http://www.microsoft.com/downloads/details.aspx?familyid=f9c 1fb79-c903-4842-9f6c-9db93643fdb7&displaylang=en

?

Re: Central administration

am 23.10.2007 17:41:08 von Ed

"Leon Mayne" wrote:

>
> "ed" wrote in message
> news:C257EA5E-6C2F-45CE-8110-DA4802452D27@microsoft.com...
> > Hi,
> >
> > I'd like to control the configuration of IIS from a remote computer, but
> > I'm
> > struggling to see how I could change things like host headers for sites
> > via
> > the command line, it would also be useful to be able to change the script
> > permissions on directories.
> >
> > Does anyone have any tips for how I can do this?
>
> Can you not use:
> http://www.microsoft.com/downloads/details.aspx?familyid=f9c 1fb79-c903-4842-9f6c-9db93643fdb7&displaylang=en
>
> ?
>
>
>

Hi,

Thanks for your response.

I have this already, but I was hoping to automate most of the tasks that are
required, such as turning scripting on or off, creating application pools
etc, just things that I would otherwise have to load IIS Admin for.

Re: Central administration

am 23.10.2007 18:53:22 von Kristofer Gafvert

You can configure everything with scripts. Either use adsutil.vbs (or any
other of the vbs-files), or write your own script.

"Using Command-Line Administration Scripts (IIS 6.0)"
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/1805162e-6ac5-4a98-9a08-919c4c10827d.mspx

"Using the Adsutil.vbs Administration Script (IIS 6.0)"
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx

IIS Script Center
http://www.microsoft.com/technet/scriptcenter/scripts/iis/de fault.mspx

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


ed wrote:

>Hi,
>
>I'd like to control the configuration of IIS from a remote computer, but
>I'm
>struggling to see how I could change things like host headers for sites via
>the command line, it would also be useful to be able to change the script
>permissions on directories.
>
>Does anyone have any tips for how I can do this?

Re: Central administration

am 24.10.2007 11:25:15 von Leon Mayne

"ed" wrote in message
news:4C235E03-30A9-486B-8CFD-CC88F0E5ACA7@microsoft.com...
> I have this already, but I was hoping to automate most of the tasks that
> are
> required, such as turning scripting on or off, creating application pools
> etc, just things that I would otherwise have to load IIS Admin for.

Oic, then yes, as Kristofer said, use adsutil.

Re: Central administration

am 25.10.2007 07:58:16 von David Wang

On Oct 24, 2:25 am, "Leon Mayne" wrote:
> "ed" wrote in message
>
> news:4C235E03-30A9-486B-8CFD-CC88F0E5ACA7@microsoft.com...
>
> > I have this already, but I was hoping to automate most of the tasks that
> > are
> > required, such as turning scripting on or off, creating application pools
> > etc, just things that I would otherwise have to load IIS Admin for.
>
> Oic, then yes, as Kristofer said, use adsutil.


You can use this tool to tweak LIST data types like Host Headers
(ServerBinding).

http://blogs.msdn.com/david.wang/archive/2004/12/02/273681.a spx

ADSUTIL.VBS and the list of Metabase properties should allow you to
automate all the other settings that you mentioned.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//