Re: vbscript and IIS
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 09/08/04
- Next message: Ron L: "Windows.Status throws error on some pages"
- Previous message: Zane: "Setting Computer Description Field with UserName"
- In reply to: Piotrek Stachowicz: "vbscript and IIS"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 08 Sep 2004 18:36:18 +0200
Piotrek Stachowicz wrote:
> Hi,
> I've got the following task to do: I need to check various settings of a
> website files on IIS. This mainly involves type of access (anonymous, basic
> authentication etc.) Up to now I've done it manually, I opened inetmgr,
> browsed to my website and than I manually checked file by file, security
> settings.
> Now, since the task is rather tedious, I thought about a script which
> would do this for me, but I'm not really sure how. I am dimly aware of
> things like ADSI, but I don't have any experience with it.
> Could anyone provide any example, how for instance I can check if the
> anonymous access has been set for given aspx file?!
Hi
I have no experience with IIS at all, but playing around with Google
newsgroup search, this is what I came up with:
Parsing the AuthFlags property looks like the way to do it:
http://groups.google.com/groups?threadm=emZzVGOw%24GA.197%40cppssbbsa02.microsoft.com
More IIS Management Scripts e.g. here:
http://www.iisfaq.com/Default.aspx?tabid=2538
You can use http://groups.google.com/advanced_group_search to search
in a news database having articles dated back to all the way to 1981.
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Ron L: "Windows.Status throws error on some pages"
- Previous message: Zane: "Setting Computer Description Field with UserName"
- In reply to: Piotrek Stachowicz: "vbscript and IIS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|