Hello,
I downloaded the "List Web Service Setting Properties" script from Microsoft
at:
http://www.microsoft.com/technet/scriptcenter/scripts/iis/iis6/web/i6wevb14.mspx.
I edit the strComputer variable to indicate the correct hostname. Script
errors at the line beginning the For Each loop indicated in the code snip
below. Can anyone help me determine what permission I need? (I am a local
admin on the server, however, GPO policies removes some local privileges).
strComputer = "correcthostname"
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")
Set colItems = objWMIService.ExecQuery("Select * from IIsWebServiceSetting")
For Each objItem in colItems ***********************
Wscript.Echo "Access Execute: " & objItem.AccessExecute
Wscript.Echo "Access Flags: " & objItem.AccessFlags
Wscript.Echo "Access No Physical Directory: " & _
objItem.AccessNoPhysicalDir
Wscript.Echo "Access No Remote Execute: " & _
Thanks in advance,