List IIS Bandwidth Information

Returns bandwidth information for an IIS server.

VBScript Code


strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & strComputer & "")

Wscript.Echo "Maximum Bandwidth: " & objIIS.MaxBandwidth
Wscript.Echo "Maximum Bandwidth Blocked: " & objIIS.MaxBandwidthBlocked