List Web Server Information
You can use any of the VBScript programs below in ActiveXperts Network Monitor. Click here for an explanation about how to include scripts in ActiveXperts Network Monitor.
Example(s)
strComputer = "LocalHost" Set objIIS = GetObject("IIS://" & strComputer & "/W3SVC/1") Wscript.Echo "Access Flags: " & objIIS.AccessFlags Wscript.Echo "ASP Enable Parent Paths: " & objIIS.AspEnableParentPaths Wscript.Echo "Access SSL Flags: " & objIIS.AccessSSLFlags Wscript.Echo "ASP Enable Typelib Cache: " & objIIS.AspEnableTypelibCache Wscript.Echo "ASP Errors to NT Log: " & objIIS.AspErrorsToNTLog Wscript.Echo "Allow Keep Alive: " & objIIS.AllowKeepAlive Wscript.Echo "ASP Exception Catch Enabled: " & _ objIIS.AspExceptionCatchEnable Wscript.Echo "Allow Path for Script Mappings: " & _ objIIS.AllowPathInfoForScriptMappings Wscript.Echo "ASP Log Error Requests: " & objIIS.AspLogErrorRequests Wscript.Echo "Anonymous Passwoprd Sync: " & objIIS.AnonymousPasswordSync Wscript.Echo "ASP Processor Thread Maximum: " & _ objIIS.AspProcessorThreadMax Wscript.Echo "Anonymous User Name: " & objIIS.AnonymousUserName Wscript.Echo "ASP Queue Connection Test Time: " & _ objIIS.AspQueueConnectionTestTime Wscript.Echo "Anonymous User Password: " & objIIS.AnonymousUserPass Wscript.Echo "ASP Queue Timeout: " & objIIS.AspQueueTimeout Wscript.Echo "Application Allow Client Debugging: " & _ objIIS.AppAllowClientDebug Wscript.Echo "ASP Request Queue Maximum: " & objIIS.AspRequestQueueMax Wscript.Echo "Application Allow Debugging: " & objIIS.AppAllowDebugging Wscript.Echo "ASP Script Engine Cache maximum: " & _ objIIS.AspScriptEngineCacheMax Wscript.Echo "Application Friendly Name: " & objIIS.AppFriendlyName Wscript.Echo "ASP Script Error Sent to Browser: " & _ objIIS.AspScriptErrorSentToBrowser Wscript.Echo "Application Isolated: " & objIIS.AppIsolated Wscript.Echo "ASP Script File Cache Size: " & _ objIIS.AspScriptFileCacheSize Wscript.Echo "Application OOP Recover Limit: " & _ objIIS.AppOopRecoverLimit Wscript.Echo "ASP Script Language: " & objIIS.AspScriptLanguage Wscript.Echo "Application pPackage ID: " & objIIS.AppPackageID Wscript.Echo "ASP Session Maximum: " & objIIS.AspSessionMax Wscript.Echo "Application Package Name: " & objIIS.AppPackageName Wscript.Echo "ASP Script Timeout: " & objIIS.AspScriptTimeout Wscript.Echo "Application Root: " & objIIS.AppRoot Wscript.Echo "ASP Session Timeout: " & objIIS.AspSessionTimeout Wscript.Echo "Application WAM Clsid: " & objIIS.AppWamClsid Wscript.Echo "ASP Allow Out-of-Process Components: " & _ objIIS.AspAllowOutOfProcComponents Wscript.Echo "ASP Allow Session State: " & objIIS.AspAllowSessionState Wscript.Echo "ASP Buffering On: " & objIIS.AspBufferingOn Wscript.Echo "ASP Codepage: " & objIIS.AspCodepage Wscript.Echo "ASP Enable Application Restart: " & _ objIIS.AspEnableApplicationRestart Wscript.Echo "ASP Enable ASP HTML Fallback: " & _ objIIS.AspEnableAspHtmlFallback Wscript.Echo "ASP Track Threading Model: " & _ objIIS.AspTrackThreadingModel Wscript.Echo "ASP Enable Chunck Encoding: " & _ objIIS.AspEnableChunkedEncoding Wscript.Echo "Authentication Flags: " & objIIS.AuthFlags Wscript.Echo "Create Process as User: " & objIIS.CreateProcessAsUser Wscript.Echo "Authentication Persistence: " & objIIS.AuthPersistence Wscript.Echo "Default Document: " & objIIS.DefaultDoc Wscript.Echo "Cache Control Custom: " & objIIS.CacheControlCustom Wscript.Echo "Default Document Footer: " & objIIS.DefaultDocFooter Wscript.Echo "Cache Control Maximum Age: " & objIIS.CacheControlMaxAge Wscript.Echo "Default Logon Domain: " & objIIS.DefaultLogonDomain Wscript.Echo "Cache Control No Cache: " & objIIS.CacheControlNoCache Wscript.Echo "Directory Browse Flags: " & objIIS.DirBrowseFlags Wscript.Echo "Cache ISAPI: " & objIIS.CacheISAPI Wscript.Echo "Disable Socket Pooling: " & objIIS.DisableSocketPooling Wscript.Echo "CGI Timeout: " & objIIS.CGITimeout Wscript.Echo "Don't Log: " & objIIS.DontLog Wscript.Echo "Connection Timeout: " & objIIS.ConnectionTimeout Wscript.Echo "Enable Document Footer: " & objIIS.EnableDocFooter Wscript.Echo "Enable Reverse DNS: " & objIIS.EnableReverseDns Wscript.Echo "FrontPage Web: " & objIIS.FrontPageWeb For Each strHeader in objIIS.HttpCustomHeaders Wscript.Echo "HTTP Custom Header: " & strHeader Next For Each strError in objIIS.HttpErrors Wscript.Echo "HTTP Error: " & strError Next Wscript.Echo "HTTP Expires: " & objIIS.HttpExpires For Each strPic in objIIS.HttpPics Wscript.Echo "HTTP Pics: " & strPic Next Wscript.Echo "Create CGI With new Console: " & _ objIIS.CreateCGIWithNewConsole Wscript.Echo "Log Ext File Flags: " & objIIS.LogExtFileFlags Wscript.Echo "Log ODBC Password: " & objIIS.LogOdbcPassword Wscript.Echo "Log File Directory: " & objIIS.LogFileDirectory Wscript.Echo "Log ODBC Table Name: " & objIIS.LogOdbcTableName Wscript.Echo "Log File Local Time Rollover: " & _ objIIS.LogFileLocaltimeRollover Wscript.Echo "Log ODBC User name: " & objIIS.LogOdbcUserName Wscript.Echo "Log File Period: " & objIIS.LogFilePeriod Wscript.Echo "Logon Method: " & objIIS.LogonMethod Wscript.Echo "Log File Truncate Size: " & _ objIIS.LogFileTruncateSize Wscript.Echo "Log Plugin Clsid: " & objIIS.LogPluginClsid Wscript.Echo "Log ODBC Data Source: " & objIIS.LogOdbcDataSource Wscript.Echo "Log Type: " & objIIS.LogType Wscript.Echo "Maximum Bandwidth: " & objIIS.MaxBandwidth For Each strHeader in objIIS.RedirectHeaders Wscript.Echo "Redirect Header: " & strHeader Next Wscript.Echo "Maximum Bandwidth Blocked: " & _ objIIS.MaxBandwidthBlocked For Each strMap in objIIS.ScriptMaps Wscript.Echo "Script Map: " & strMap Next Wscript.Echo "Maximum Connections: " & objIIS.MaxConnections For Each strBinding in objIIS.SecureBindings Wscript.Echo "Secure Binding: " & strBinding Next Wscript.Echo "Maximum Endpoints: " & objIIS.MaxEndpointConnections Wscript.Echo "Server AutoStart: " & objIIS.ServerAutoStart For Each strMap in objIIS.MimeMap Wscript.Echo "MIME Map: " & strMap Next For Each strBinding in objIIS.ServerBindings Wscript.Echo "Server Binding: " & strBinding Next Wscript.Echo "Server Comment: " & objIIS.ServerComment Wscript.Echo "Server Listen Backlog: " & objIIS.ServerListenBacklog Wscript.Echo "NT Authentication Providers: " & o_ bjIIS.NTAuthenticationProviders Wscript.Echo "Server Listen Timeout: " & objIIS.ServerListenTimeout Wscript.Echo "Password Cache TTL: " & objIIS.PasswordCacheTTL Wscript.Echo "Server Size: " & objIIS.ServerSize Wscript.Echo "Password Change Flags: " & objIIS.PasswordChangeFlags Wscript.Echo "Server State: " & objIIS.ServerState Wscript.Echo "Password Expire Pre-Notify Days: " & _ objIIS.PasswordExpirePrenotifyDays Wscript.Echo "SSI Exec Disable: " & objIIS.SSIExecDisable Wscript.Echo "Pool IDC Timeout: " & objIIS.PoolIdcTimeout Wscript.Echo "Process NTCR If Logged On: " & _ objIIS.ProcessNTCRIfLoggedOn Wscript.Echo "Upload Read-Ahead Size: " & _ objIIS.UploadReadAheadSize Wscript.Echo "Realm: " & objIIS.Realm