Hello all. I would like to be able to run a vbscript on my XP machine that
will connect to different IIS servers running W2003 and give me a listing of
all the App Pools with their names and properties. I am pretty sure I am
going to have to use WMI to do this but I can't find the correct settings to
use. I have found some scripts on the net that work on Vista using WMI with
root\WebAdministration, but this does not work on W2003.

Thanks for any help.

--
Gonzo

Re: VBScript for getting IIS App Pool properties remotely. by Michael

Michael
Fri Dec 07 17:38:01 PST 2007

Gonzo wrote:
> Hello all. I would like to be able to run a vbscript on my XP machine
> that will connect to different IIS servers running W2003 and give me
> a listing of all the App Pools with their names and properties. I am
> pretty sure I am going to have to use WMI to do this but I can't find
> the correct settings to use. I have found some scripts on the net
> that work on Vista using WMI with root\WebAdministration, but this
> does not work on W2003.
>
> Thanks for any help.

Here's a google way to find out...

IIS provider wmi OR adsi site:msdn2.microsoft.com - Google Search
<http://www.google.com/search?q=IIS%20provider%20wmi%20OR%20adsi%20site:msdn2.microsoft.com&num=100&scoring=d>

ADSI and WMI Providers in IIS
<http://msdn2.microsoft.com/en-us/library/ms525855.aspx>


--
Michael Harris



Re: VBScript for getting IIS App Pool properties remotely. by Gonzo

Gonzo
Tue Dec 11 08:14:04 PST 2007

Hello MIchael. Yes I had found those links earlier, but they were not very
useful without samples. I have tried to figure out the WMI code and
interfaces using Cim Studio, wbemtest.exe, and Scriptomatic, but can't come
up with the code I need.

Thanks for your help. I will just keep digging.
--
Gonzo


"Michael Harris" wrote:

> Gonzo wrote:
> > Hello all. I would like to be able to run a vbscript on my XP machine
> > that will connect to different IIS servers running W2003 and give me
> > a listing of all the App Pools with their names and properties. I am
> > pretty sure I am going to have to use WMI to do this but I can't find
> > the correct settings to use. I have found some scripts on the net
> > that work on Vista using WMI with root\WebAdministration, but this
> > does not work on W2003.
> >
> > Thanks for any help.
>
> Here's a google way to find out...
>
> IIS provider wmi OR adsi site:msdn2.microsoft.com - Google Search
> <http://www.google.com/search?q=IIS%20provider%20wmi%20OR%20adsi%20site:msdn2.microsoft.com&num=100&scoring=d>
>
> ADSI and WMI Providers in IIS
> <http://msdn2.microsoft.com/en-us/library/ms525855.aspx>
>
>
> --
> Michael Harris
>
>
>