IIsWebServiceSetting - WMI sample in VBScript
The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).
ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.
On this site, you can find many WMI samples.
The IIsWebServiceSetting WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
IIsWebServiceSetting
Example(s)
Set objWMIService = GetObject("winmgmts:\\.\root\MicrosoftIISv2") Set colItems = objWMIService.ExecQuery("Select * From IIsWebServiceSetting") For Each objItem in colItems WScript.Echo "AccessExecute:" & objItem.AccessExecute WScript.Echo "AccessFlags:" & objItem.AccessFlags WScript.Echo "AccessNoPhysicalDir:" & objItem.AccessNoPhysicalDir WScript.Echo "AccessNoRemoteExecute:" & objItem.AccessNoRemoteExecute WScript.Echo "AccessNoRemoteRead:" & objItem.AccessNoRemoteRead WScript.Echo "AccessNoRemoteScript:" & objItem.AccessNoRemoteScript WScript.Echo "AccessNoRemoteWrite:" & objItem.AccessNoRemoteWrite WScript.Echo "AccessRead:" & objItem.AccessRead WScript.Echo "AccessScript:" & objItem.AccessScript WScript.Echo "AccessSource:" & objItem.AccessSource WScript.Echo "AccessSSL:" & objItem.AccessSSL WScript.Echo "AccessSSL128:" & objItem.AccessSSL128 WScript.Echo "AccessSSLFlags:" & objItem.AccessSSLFlags WScript.Echo "AccessSSLMapCert:" & objItem.AccessSSLMapCert WScript.Echo "AccessSSLNegotiateCert:" & objItem.AccessSSLNegotiateCert WScript.Echo "AccessSSLRequireCert:" & objItem.AccessSSLRequireCert WScript.Echo "AccessWrite:" & objItem.AccessWrite WScript.Echo "AdminACLBin:" & Join(objItem.AdminACLBin) WScript.Echo "AdminServer:" & objItem.AdminServer WScript.Echo "AllowKeepAlive:" & objItem.AllowKeepAlive WScript.Echo "AllowPathInfoForScriptMappings:" & objItem.AllowPathInfoForScriptMappings WScript.Echo "AnonymousPasswordSync:" & objItem.AnonymousPasswordSync WScript.Echo "AnonymousUserName:" & objItem.AnonymousUserName WScript.Echo "AnonymousUserPass:" & objItem.AnonymousUserPass WScript.Echo "AppAllowClientDebug:" & objItem.AppAllowClientDebug WScript.Echo "AppAllowDebugging:" & objItem.AppAllowDebugging WScript.Echo "AppFriendlyName:" & objItem.AppFriendlyName WScript.Echo "ApplicationDependencies:" & Join(objItem.ApplicationDependencies) WScript.Echo "AppPoolId:" & objItem.AppPoolId WScript.Echo "AppWamClsid:" & objItem.AppWamClsid WScript.Echo "AspAllowOutOfProcComponents:" & objItem.AspAllowOutOfProcComponents WScript.Echo "AspAllowSessionState:" & objItem.AspAllowSessionState WScript.Echo "AspAppServiceFlags:" & objItem.AspAppServiceFlags WScript.Echo "AspBufferingLimit:" & objItem.AspBufferingLimit WScript.Echo "AspBufferingOn:" & objItem.AspBufferingOn WScript.Echo "AspCalcLineNumber:" & objItem.AspCalcLineNumber WScript.Echo "AspCodepage:" & objItem.AspCodepage WScript.Echo "AspDiskTemplateCacheDirectory:" & objItem.AspDiskTemplateCacheDirectory WScript.Echo "AspEnableApplicationRestart:" & objItem.AspEnableApplicationRestart WScript.Echo "AspEnableAspHtmlFallback:" & objItem.AspEnableAspHtmlFallback WScript.Echo "AspEnableChunkedEncoding:" & objItem.AspEnableChunkedEncoding WScript.Echo "AspEnableParentPaths:" & objItem.AspEnableParentPaths WScript.Echo "AspEnableSxs:" & objItem.AspEnableSxs WScript.Echo "AspEnableTracker:" & objItem.AspEnableTracker WScript.Echo "AspEnableTypelibCache:" & objItem.AspEnableTypelibCache WScript.Echo "AspErrorsToNTLog:" & objItem.AspErrorsToNTLog WScript.Echo "AspExceptionCatchEnable:" & objItem.AspExceptionCatchEnable WScript.Echo "AspExecuteInMTA:" & objItem.AspExecuteInMTA WScript.Echo "AspKeepSessionIDSecure:" & objItem.AspKeepSessionIDSecure WScript.Echo "AspLCID:" & objItem.AspLCID WScript.Echo "AspLogErrorRequests:" & objItem.AspLogErrorRequests WScript.Echo "AspMaxDiskTemplateCacheFiles:" & objItem.AspMaxDiskTemplateCacheFiles WScript.Echo "AspMaxRequestEntityAllowed:" & objItem.AspMaxRequestEntityAllowed WScript.Echo "AspPartitionID:" & objItem.AspPartitionID WScript.Echo "AspProcessorThreadMax:" & objItem.AspProcessorThreadMax WScript.Echo "AspQueueConnectionTestTime:" & objItem.AspQueueConnectionTestTime WScript.Echo "AspQueueTimeout:" & objItem.AspQueueTimeout WScript.Echo "AspRequestQueueMax:" & objItem.AspRequestQueueMax WScript.Echo "AspRunOnEndAnonymously:" & objItem.AspRunOnEndAnonymously WScript.Echo "AspScriptEngineCacheMax:" & objItem.AspScriptEngineCacheMax WScript.Echo "AspScriptErrorMessage:" & objItem.AspScriptErrorMessage WScript.Echo "AspScriptErrorSentToBrowser:" & objItem.AspScriptErrorSentToBrowser WScript.Echo "AspScriptFileCacheSize:" & objItem.AspScriptFileCacheSize WScript.Echo "AspScriptLanguage:" & objItem.AspScriptLanguage WScript.Echo "AspScriptTimeout:" & objItem.AspScriptTimeout WScript.Echo "AspSessionMax:" & objItem.AspSessionMax WScript.Echo "AspSessionTimeout:" & objItem.AspSessionTimeout WScript.Echo "AspSxsName:" & objItem.AspSxsName WScript.Echo "AspTrackThreadingModel:" & objItem.AspTrackThreadingModel WScript.Echo "AspUsePartition:" & objItem.AspUsePartition WScript.Echo "AuthAdvNotifyDisable:" & objItem.AuthAdvNotifyDisable WScript.Echo "AuthAnonymous:" & objItem.AuthAnonymous WScript.Echo "AuthBasic:" & objItem.AuthBasic WScript.Echo "AuthChangeDisable:" & objItem.AuthChangeDisable WScript.Echo "AuthChangeUnsecure:" & objItem.AuthChangeUnsecure WScript.Echo "AuthChangeURL:" & objItem.AuthChangeURL WScript.Echo "AuthExpiredUnsecureURL:" & objItem.AuthExpiredUnsecureURL WScript.Echo "AuthExpiredURL:" & objItem.AuthExpiredURL WScript.Echo "AuthFlags:" & objItem.AuthFlags WScript.Echo "AuthMD5:" & objItem.AuthMD5 WScript.Echo "AuthNotifyPwdExpUnsecureURL:" & objItem.AuthNotifyPwdExpUnsecureURL WScript.Echo "AuthNotifyPwdExpURL:" & objItem.AuthNotifyPwdExpURL WScript.Echo "AuthNTLM:" & objItem.AuthNTLM WScript.Echo "AuthPassport:" & objItem.AuthPassport WScript.Echo "AuthPersistence:" & objItem.AuthPersistence WScript.Echo "AuthPersistSingleRequest:" & objItem.AuthPersistSingleRequest WScript.Echo "AzEnable:" & objItem.AzEnable WScript.Echo "AzImpersonationLevel:" & objItem.AzImpersonationLevel WScript.Echo "AzScopeName:" & objItem.AzScopeName WScript.Echo "AzStoreName:" & objItem.AzStoreName WScript.Echo "CacheControlCustom:" & objItem.CacheControlCustom WScript.Echo "CacheControlMaxAge:" & objItem.CacheControlMaxAge WScript.Echo "CacheControlNoCache:" & objItem.CacheControlNoCache WScript.Echo "CacheISAPI:" & objItem.CacheISAPI WScript.Echo "Caption:" & objItem.Caption WScript.Echo "CentralBinaryLoggingEnabled:" & objItem.CentralBinaryLoggingEnabled WScript.Echo "CentralW3CLoggingEnabled:" & objItem.CentralW3CLoggingEnabled WScript.Echo "CertCheckMode:" & objItem.CertCheckMode WScript.Echo "CGITimeout:" & objItem.CGITimeout WScript.Echo "ConnectionTimeout:" & objItem.ConnectionTimeout WScript.Echo "ContentIndexed:" & objItem.ContentIndexed WScript.Echo "CreateCGIWithNewConsole:" & objItem.CreateCGIWithNewConsole WScript.Echo "CreateProcessAsUser:" & objItem.CreateProcessAsUser WScript.Echo "DefaultDoc:" & objItem.DefaultDoc WScript.Echo "DefaultDocFooter:" & objItem.DefaultDocFooter WScript.Echo "DefaultLogonDomain:" & objItem.DefaultLogonDomain WScript.Echo "DemandStartThreshold:" & objItem.DemandStartThreshold WScript.Echo "Description:" & objItem.Description WScript.Echo "DirBrowseFlags:" & objItem.DirBrowseFlags WScript.Echo "DirBrowseShowDate:" & objItem.DirBrowseShowDate WScript.Echo "DirBrowseShowExtension:" & objItem.DirBrowseShowExtension WScript.Echo "DirBrowseShowLongDate:" & objItem.DirBrowseShowLongDate WScript.Echo "DirBrowseShowSize:" & objItem.DirBrowseShowSize WScript.Echo "DirBrowseShowTime:" & objItem.DirBrowseShowTime WScript.Echo "DirectoryLevelsToScan:" & objItem.DirectoryLevelsToScan WScript.Echo "DisableSocketPooling:" & objItem.DisableSocketPooling WScript.Echo "DisableStaticFileCache:" & objItem.DisableStaticFileCache WScript.Echo "DoDynamicCompression:" & objItem.DoDynamicCompression WScript.Echo "DontLog:" & objItem.DontLog WScript.Echo "DoStaticCompression:" & objItem.DoStaticCompression WScript.Echo "DownlevelAdminInstance:" & objItem.DownlevelAdminInstance WScript.Echo "EnableDefaultDoc:" & objItem.EnableDefaultDoc WScript.Echo "EnableDirBrowsing:" & objItem.EnableDirBrowsing WScript.Echo "EnableDocFooter:" & objItem.EnableDocFooter WScript.Echo "EnabledProtocols:" & objItem.EnabledProtocols WScript.Echo "EnableReverseDns:" & objItem.EnableReverseDns WScript.Echo "HeaderWaitTimeout:" & objItem.HeaderWaitTimeout WScript.Echo "HttpCustomHeaders:" & Join(objItem.HttpCustomHeaders) WScript.Echo "HttpErrors:" & Join(objItem.HttpErrors) WScript.Echo "HttpErrorsExistingResponse:" & objItem.HttpErrorsExistingResponse WScript.Echo "HttpExpires:" & objItem.HttpExpires WScript.Echo "HttpPics:" & Join(objItem.HttpPics) WScript.Echo "IIs5IsolationModeEnabled:" & objItem.IIs5IsolationModeEnabled WScript.Echo "InProcessIsapiApps:" & Join(objItem.InProcessIsapiApps) WScript.Echo "LogExtFileBytesRecv:" & objItem.LogExtFileBytesRecv WScript.Echo "LogExtFileBytesSent:" & objItem.LogExtFileBytesSent WScript.Echo "LogExtFileClientIp:" & objItem.LogExtFileClientIp WScript.Echo "LogExtFileComputerName:" & objItem.LogExtFileComputerName WScript.Echo "LogExtFileCookie:" & objItem.LogExtFileCookie WScript.Echo "LogExtFileDate:" & objItem.LogExtFileDate WScript.Echo "LogExtFileFlags:" & objItem.LogExtFileFlags WScript.Echo "LogExtFileHost:" & objItem.LogExtFileHost WScript.Echo "LogExtFileHttpStatus:" & objItem.LogExtFileHttpStatus WScript.Echo "LogExtFileHttpSubStatus:" & objItem.LogExtFileHttpSubStatus WScript.Echo "LogExtFileMethod:" & objItem.LogExtFileMethod WScript.Echo "LogExtFileProtocolVersion:" & objItem.LogExtFileProtocolVersion WScript.Echo "LogExtFileReferer:" & objItem.LogExtFileReferer WScript.Echo "LogExtFileServerIp:" & objItem.LogExtFileServerIp WScript.Echo "LogExtFileServerPort:" & objItem.LogExtFileServerPort WScript.Echo "LogExtFileSiteName:" & objItem.LogExtFileSiteName WScript.Echo "LogExtFileTime:" & objItem.LogExtFileTime WScript.Echo "LogExtFileTimeTaken:" & objItem.LogExtFileTimeTaken WScript.Echo "LogExtFileUriQuery:" & objItem.LogExtFileUriQuery WScript.Echo "LogExtFileUriStem:" & objItem.LogExtFileUriStem WScript.Echo "LogExtFileUserAgent:" & objItem.LogExtFileUserAgent WScript.Echo "LogExtFileUserName:" & objItem.LogExtFileUserName WScript.Echo "LogExtFileWin32Status:" & objItem.LogExtFileWin32Status WScript.Echo "LogFileDirectory:" & objItem.LogFileDirectory WScript.Echo "LogFileLocaltimeRollover:" & objItem.LogFileLocaltimeRollover WScript.Echo "LogFilePeriod:" & objItem.LogFilePeriod WScript.Echo "LogFileTruncateSize:" & objItem.LogFileTruncateSize WScript.Echo "LogInUTF8:" & objItem.LogInUTF8 WScript.Echo "LogModuleList:" & objItem.LogModuleList WScript.Echo "LogOdbcDataSource:" & objItem.LogOdbcDataSource WScript.Echo "LogOdbcPassword:" & objItem.LogOdbcPassword WScript.Echo "LogOdbcTableName:" & objItem.LogOdbcTableName WScript.Echo "LogOdbcUserName:" & objItem.LogOdbcUserName WScript.Echo "LogonMethod:" & objItem.LogonMethod WScript.Echo "LogPluginClsid:" & objItem.LogPluginClsid WScript.Echo "LogType:" & objItem.LogType WScript.Echo "MaxBandwidth:" & objItem.MaxBandwidth WScript.Echo "MaxConnections:" & objItem.MaxConnections WScript.Echo "MaxEndpointConnections:" & objItem.MaxEndpointConnections WScript.Echo "MaxGlobalBandwidth:" & objItem.MaxGlobalBandwidth WScript.Echo "MaxRequestEntityAllowed:" & objItem.MaxRequestEntityAllowed WScript.Echo "MimeMap:" & Join(objItem.MimeMap) WScript.Echo "MinFileBytesPerSec:" & objItem.MinFileBytesPerSec WScript.Echo "Name:" & objItem.Name WScript.Echo "NTAuthenticationProviders:" & objItem.NTAuthenticationProviders WScript.Echo "PassportRequireADMapping:" & objItem.PassportRequireADMapping WScript.Echo "PasswordCacheTTL:" & objItem.PasswordCacheTTL WScript.Echo "PasswordChangeFlags:" & objItem.PasswordChangeFlags WScript.Echo "PasswordExpirePrenotifyDays:" & objItem.PasswordExpirePrenotifyDays WScript.Echo "PoolIdcTimeout:" & objItem.PoolIdcTimeout WScript.Echo "ProcessNTCRIfLoggedOn:" & objItem.ProcessNTCRIfLoggedOn WScript.Echo "RapidFailProtectionInterval:" & objItem.RapidFailProtectionInterval WScript.Echo "RapidFailProtectionMaxCrashes:" & objItem.RapidFailProtectionMaxCrashes WScript.Echo "Realm:" & objItem.Realm WScript.Echo "RedirectHeaders:" & Join(objItem.RedirectHeaders) WScript.Echo "RevocationFreshnessTime:" & objItem.RevocationFreshnessTime WScript.Echo "RevocationURLRetrievalTimeout:" & objItem.RevocationURLRetrievalTimeout WScript.Echo "ScriptMaps:" & Join(objItem.ScriptMaps) WScript.Echo "ServerAutoStart:" & objItem.ServerAutoStart WScript.Echo "ServerBindings:" & Join(objItem.ServerBindings) WScript.Echo "ServerComment:" & objItem.ServerComment WScript.Echo "ServerListenBacklog:" & objItem.ServerListenBacklog WScript.Echo "ServerListenTimeout:" & objItem.ServerListenTimeout WScript.Echo "ServerSize:" & objItem.ServerSize WScript.Echo "SettingID:" & objItem.SettingID WScript.Echo "ShutdownTimeLimit:" & objItem.ShutdownTimeLimit WScript.Echo "SSIExecDisable:" & objItem.SSIExecDisable WScript.Echo "SSLAlwaysNegoClientCert:" & objItem.SSLAlwaysNegoClientCert WScript.Echo "SSLStoreName:" & objItem.SSLStoreName WScript.Echo "SslUseDsMapper:" & objItem.SslUseDsMapper WScript.Echo "TraceUriPrefix:" & Join(objItem.TraceUriPrefix) WScript.Echo "UploadReadAheadSize:" & objItem.UploadReadAheadSize WScript.Echo "UseDigestSSP:" & objItem.UseDigestSSP WScript.Echo "WAMUserName:" & objItem.WAMUserName WScript.Echo "WAMUserPass:" & objItem.WAMUserPass WScript.Echo "WebSvcExtRestrictionList:" & Join(objItem.WebSvcExtRestrictionList) WScript.Echo "" WScript.Echo "########" WScript.Echo "" Next