ContextId - property in ROOT\WMI namespace

ContextId in other namespaces

List of classes with ContextId local property in ROOT\WMI namespace

propertyClassOrigin
ContextIdAspApplicationOnStartErrorAspApplicationOnStartError
ContextIdAspApplicationOnStartSuccessAspApplicationOnStartSuccess
ContextIdAspClientConnectionDisconnectedAspClientConnectionDisconnected
ContextIdAspCompileFailedAspCompileFailed
ContextIdAspCurrentSessionAspCurrentSession
ContextIdAspDequeueRequestAspDequeueRequest
ContextIdAspDoneProcessingAspDoneProcessing
ContextIdAspEndApplicationOnStartAspEndApplicationOnStart
ContextIdAspEndCacheAccessAspEndCacheAccess
ContextIdAspEndCompileAspEndCompile
ContextIdAspEndGlobalASACheckAspEndGlobalASACheck
ContextIdAspEndRequestAspEndRequest
ContextIdAspEndScriptExecutionAspEndScriptExecution
ContextIdAspEndScriptlessSendAspEndScriptlessSend
ContextIdAspEndSessionOnStartAspEndSessionOnStart
ContextIdAspFileAccessDeniedAspFileAccessDenied
ContextIdAspFileNotFoundAspFileNotFound
ContextIdAspFirstRequestAspFirstRequest
ContextIdAspFirstRequestForApplicationAspFirstRequestForApplication
ContextIdAspGlobalASAAccessDeniedAspGlobalASAAccessDenied
ContextIdAspGlobalASAAccessSuccessAspGlobalASAAccessSuccess
ContextIdAspGlobalASADoesNotExistAspGlobalASADoesNotExist
ContextIdAspInitFailureAspInitFailure
ContextIdAspLogErrorAspLogError
ContextIdAspNetAcquireSessionBeginAspNetAcquireSessionBegin
ContextIdAspNetAcquireSessionEndAspNetAcquireSessionEnd
ContextIdAspNetAppDomainEnterAspNetAppDomainEnter
ContextIdAspNetCompileEnterAspNetCompileEnter
ContextIdAspNetCompileLeaveAspNetCompileLeave
ContextIdAspNetEndHandlerAspNetEndHandler
ContextIdAspNetGetAppDomainEnterAspNetGetAppDomainEnter
ContextIdAspNetGetAppDomainLeaveAspNetGetAppDomainLeave
ContextIdAspNetHttpHandlerEnterAspNetHttpHandlerEnter
ContextIdAspNetHttpHandlerLeaveAspNetHttpHandlerLeave
ContextIdAspNetMapHandlerEnterAspNetMapHandlerEnter
ContextIdAspNetMapHandlerLeaveAspNetMapHandlerLeave
ContextIdAspNetModuleDiagCriticalEventAspNetModuleDiagCriticalEvent
ContextIdAspNetModuleDiagErrorEventAspNetModuleDiagErrorEvent
ContextIdAspNetModuleDiagInfoEventAspNetModuleDiagInfoEvent
ContextIdAspNetModuleDiagResumeEventAspNetModuleDiagResumeEvent
ContextIdAspNetModuleDiagStartEventAspNetModuleDiagStartEvent
ContextIdAspNetModuleDiagStopEventAspNetModuleDiagStopEvent
ContextIdAspNetModuleDiagSuspendEventAspNetModuleDiagSuspendEvent
ContextIdAspNetModuleDiagTransferEventAspNetModuleDiagTransferEvent
ContextIdAspNetModuleDiagVerboseEventAspNetModuleDiagVerboseEvent
ContextIdAspNetModuleDiagWarningEventAspNetModuleDiagWarningEvent
ContextIdAspNetPageInitEnterAspNetPageInitEnter
ContextIdAspNetPageInitLeaveAspNetPageInitLeave
ContextIdAspNetPageLoadEnterAspNetPageLoadEnter
ContextIdAspNetPageLoadLeaveAspNetPageLoadLeave
ContextIdAspNetPageLoadPostDataEnterAspNetPageLoadPostDataEnter
ContextIdAspNetPageLoadPostDataLeaveAspNetPageLoadPostDataLeave
ContextIdAspNetPageLoadViewstateEnterAspNetPageLoadViewstateEnter
ContextIdAspNetPageLoadViewstateLeaveAspNetPageLoadViewstateLeave
ContextIdAspNetPagePostDataChangedEnterAspNetPagePostDataChangedEnter
ContextIdAspNetPagePostDataChangedLeaveAspNetPagePostDataChangedLeave
ContextIdAspNetPagePreInitEnterAspNetPagePreInitEnter
ContextIdAspNetPagePreInitLeaveAspNetPagePreInitLeave
ContextIdAspNetPagePreRenderEnterAspNetPagePreRenderEnter
ContextIdAspNetPagePreRenderLeaveAspNetPagePreRenderLeave
ContextIdAspNetPageRaisePostbackEnterAspNetPageRaisePostbackEnter
ContextIdAspNetPageRaisePostbackLeaveAspNetPageRaisePostbackLeave
ContextIdAspNetPageRenderEnterAspNetPageRenderEnter
ContextIdAspNetPageRenderLeaveAspNetPageRenderLeave
ContextIdAspNetPageSaveViewstateEnterAspNetPageSaveViewstateEnter
ContextIdAspNetPageSaveViewstateLeaveAspNetPageSaveViewstateLeave
ContextIdAspNetPageTraceWarnEventAspNetPageTraceWarnEvent
ContextIdAspNetPageTraceWriteEventAspNetPageTraceWriteEvent
ContextIdAspNetParseEnterAspNetParseEnter
ContextIdAspNetParseLeaveAspNetParseLeave
ContextIdAspNetPipelineModuleEnterAspNetPipelineModuleEnter
ContextIdAspNetPipelineModuleLeaveAspNetPipelineModuleLeave
ContextIdAspNetProfileBeginAspNetProfileBegin
ContextIdAspNetProfileEndAspNetProfileEnd
ContextIdAspNetRequestDequeuedAspNetRequestDequeued
ContextIdAspNetRequestQueuedAspNetRequestQueued
ContextIdAspNetRoleManagerBeginAspNetRoleManagerBegin
ContextIdAspNetRoleManagerEndAspNetRoleManagerEnd
ContextIdAspNetRoleManagerGetUserRolesAspNetRoleManagerGetUserRoles
ContextIdAspNetRoleManagerIsUserInRoleAspNetRoleManagerIsUserInRole
ContextIdAspNetSessionStatePartitionEndAspNetSessionStatePartitionEnd
ContextIdAspNetSessionStatePartitionStartAspNetSessionStatePartitionStart
ContextIdAspNetStartAspNetStart
ContextIdAspNetStartHandlerAspNetStartHandler
ContextIdAspNetStopAspNetStop
ContextIdAspNetWebEventDeliverEndAspNetWebEventDeliverEnd
ContextIdAspNetWebEventDeliverStartAspNetWebEventDeliverStart
ContextIdAspNetWebEventRaiseEndAspNetWebEventRaiseEnd
ContextIdAspNetWebEventRaiseStartAspNetWebEventRaiseStart
ContextIdAspNewSessionAspNewSession
ContextIdAspQueueRequestAspQueueRequest
ContextIdAspQueueRequestFailedAspQueueRequestFailed
ContextIdAspReadFileAspReadFile
ContextIdAspRequestTimeoutAspRequestTimeout
ContextIdAspScriptObjectTraceInfoAspScriptObjectTraceInfo
ContextIdAspScriptTraceInfoAspScriptTraceInfo
ContextIdAspSecureSessionIDAspSecureSessionID
ContextIdAspServerTooBusyAspServerTooBusy
ContextIdAspSessionOnStartErrorAspSessionOnStartError
ContextIdAspSessionOnStartSuccessAspSessionOnStartSuccess
ContextIdAspStartApplicationOnStartAspStartApplicationOnStart
ContextIdAspStartCacheAccessAspStartCacheAccess
ContextIdAspStartCompileAspStartCompile
ContextIdAspStartGlobalASACheckAspStartGlobalASACheck
ContextIdAspStartRequestAspStartRequest
ContextIdAspStartScriptExecutionAspStartScriptExecution
ContextIdAspStartScriptlessSendAspStartScriptlessSend
ContextIdAspStartSessionOnStartAspStartSessionOnStart
ContextIdAspTransactionAbortedAspTransactionAborted
ContextIdAspTransactionCommitedAspTransactionCommited
ContextIdAspUnhealthyFailureAspUnhealthyFailure
ContextIdIISGeneralConfigChangeNotificationIISGeneralConfigChangeNotification
ContextIdIISGeneralFileChangeNotificationIISGeneralFileChangeNotification
ContextIdIISGeneralHandlerChangedIISGeneralHandlerChanged
ContextIdIISGeneralHandlerPreconditionNotMatchIISGeneralHandlerPreconditionNotMatch
ContextIdIISGeneralModulePreconditionNotMatchIISGeneralModulePreconditionNotMatch
ContextIdIISGeneralUrlChangedIISGeneralUrlChanged
ContextIdIISGeneralUserSetIISGeneralUserSet
ContextIdIISGeneralVirtualModuleUnresolvedIISGeneralVirtualModuleUnresolved
ContextIdIISModuleEventsModuleCriticalErrorIISModuleEventsModuleCriticalError
ContextIdIISModuleEventsModuleEndIISModuleEventsModuleEnd
ContextIdIISModuleEventsModuleErrorIISModuleEventsModuleError
ContextIdIISModuleEventsModuleInformationIISModuleEventsModuleInformation
ContextIdIISModuleEventsModuleStartIISModuleEventsModuleStart
ContextIdIISModuleEventsModuleVerboseIISModuleEventsModuleVerbose
ContextIdIISModuleEventsModuleWarningIISModuleEventsModuleWarning
ContextIdIISRequestNotificationEventsCompletionIISRequestNotificationEventsCompletion
ContextIdIISRequestNotificationEventsEndIISRequestNotificationEventsEnd
ContextIdIISRequestNotificationEventsErrorIISRequestNotificationEventsError
ContextIdIISRequestNotificationEventsResponseErrorDescriptionIISRequestNotificationEventsResponseErrorDescription
ContextIdIISRequestNotificationEventsResponseErrorStatusIISRequestNotificationEventsResponseErrorStatus
ContextIdIISRequestNotificationEventsResponseSuccessStatusIISRequestNotificationEventsResponseSuccessStatus
ContextIdIISRequestNotificationEventsStartIISRequestNotificationEventsStart
ContextIdIISRequestNotificationPreBeginEndIISRequestNotificationPreBeginEnd
ContextIdIISRequestNotificationPreBeginStartIISRequestNotificationPreBeginStart
ContextIdIsapiCallExtensionIsapiCallExtension
ContextIdIsapiExtensionDoneIsapiExtensionDone
ContextIdIsapiNotifyCompletionIsapiNotifyCompletion
ContextIdW3AuthAnonPasswdChangeNeededW3AuthAnonPasswdChangeNeeded
ContextIdW3AuthBadBasicHeaderW3AuthBadBasicHeader
ContextIdW3AuthBasicLogonFailedW3AuthBasicLogonFailed
ContextIdW3AuthEndW3AuthEnd
ContextIdW3AuthIISDigestLogonFailedW3AuthIISDigestLogonFailed
ContextIdW3AuthInvalidAnonAccountW3AuthInvalidAnonAccount
ContextIdW3AuthKerberosFailedW3AuthKerberosFailed
ContextIdW3AuthNTLMNullSessionW3AuthNTLMNullSession
ContextIdW3AuthPassportLogonFailedW3AuthPassportLogonFailed
ContextIdW3AuthPasswdChangeDisabledW3AuthPasswdChangeDisabled
ContextIdW3AuthPasswdChangeNeededW3AuthPasswdChangeNeeded
ContextIdW3AuthRequestAuthTypeW3AuthRequestAuthType
ContextIdW3AuthSSPIContinueNeededW3AuthSSPIContinueNeeded
ContextIdW3AuthSSPILogonFailedW3AuthSSPILogonFailed
ContextIdW3AuthStartW3AuthStart
ContextIdW3AuthSucceededW3AuthSucceeded
ContextIdW3AuthTypeNotSupportedW3AuthTypeNotSupported
ContextIdW3AuthWDigestLogonFailedW3AuthWDigestLogonFailed
ContextIdW3CacheFileCacheAccessEndW3CacheFileCacheAccessEnd
ContextIdW3CacheFileCacheAccessStartW3CacheFileCacheAccessStart
ContextIdW3CacheFileCacheCreateFileW3CacheFileCacheCreateFile
ContextIdW3CacheHttpsysCacheableW3CacheHttpsysCacheable
ContextIdW3CacheURLCacheAccessEndW3CacheURLCacheAccessEnd
ContextIdW3CacheURLCacheAccessStartW3CacheURLCacheAccessStart
ContextIdW3CGIEndW3CGIEnd
ContextIdW3CGIFActivityTimeoutW3CGIFActivityTimeout
ContextIdW3CGIFAddJobObjectFailW3CGIFAddJobObjectFail
ContextIdW3CGIFAppMgrShutdownW3CGIFAppMgrShutdown
ContextIdW3CGIFAssignProcessW3CGIFAssignProcess
ContextIdW3CGIFEndW3CGIFEnd
ContextIdW3CGIFPathNotFoundW3CGIFPathNotFound
ContextIdW3CGIFQueueFullW3CGIFQueueFull
ContextIdW3CGIFQueueRequestW3CGIFQueueRequest
ContextIdW3CGIFRapidFailureProtectionW3CGIFRapidFailureProtection
ContextIdW3CGIFRequestTimeoutW3CGIFRequestTimeout
ContextIdW3CGIFResponseWrittenW3CGIFResponseWritten
ContextIdW3CGIFScriptProcessorMissingW3CGIFScriptProcessorMissing
ContextIdW3CGIFStartW3CGIFStart
ContextIdW3CGIFTraceErrorW3CGIFTraceError
ContextIdW3CGIFTraceInfoW3CGIFTraceInfo
ContextIdW3CGIFTraceWarningW3CGIFTraceWarning
ContextIdW3CGIFUnexpectedExitW3CGIFUnexpectedExit
ContextIdW3CGIFUnknownErrorW3CGIFUnknownError
ContextIdW3CGIFWaitingForResponseW3CGIFWaitingForResponse
ContextIdW3CGIHeadersReceivedW3CGIHeadersReceived
ContextIdW3CGILaunchW3CGILaunch
ContextIdW3CGIPrematureTerminationW3CGIPrematureTermination
ContextIdW3CGIRequestEntitySentW3CGIRequestEntitySent
ContextIdW3CGIStartW3CGIStart
ContextIdW3CGITimeoutW3CGITimeout
ContextIdW3DynamicCompressionDoW3DynamicCompressionDo
ContextIdW3DynamicCompressionEndW3DynamicCompressionEnd
ContextIdW3DynamicCompressionNotSuccessW3DynamicCompressionNotSuccess
ContextIdW3DynamicCompressionStartW3DynamicCompressionStart
ContextIdW3DynamicCompressionSuccessW3DynamicCompressionSuccess
ContextIdW3FilterAccessDeniedEndW3FilterAccessDeniedEnd
ContextIdW3FilterAccessDeniedStartW3FilterAccessDeniedStart
ContextIdW3FilterAddReqHeaderW3FilterAddReqHeader
ContextIdW3FilterAddRespHeaderW3FilterAddRespHeader
ContextIdW3FilterAuthCompleteEndW3FilterAuthCompleteEnd
ContextIdW3FilterAuthCompleteStartW3FilterAuthCompleteStart
ContextIdW3FilterAuthenticationEndW3FilterAuthenticationEnd
ContextIdW3FilterAuthenticationStartW3FilterAuthenticationStart
ContextIdW3FilterEndW3FilterEnd
ContextIdW3FilterEndOfRequestEndW3FilterEndOfRequestEnd
ContextIdW3FilterEndOfRequestStartW3FilterEndOfRequestStart
ContextIdW3FilterErrorW3FilterError
ContextIdW3FilterLogEndW3FilterLogEnd
ContextIdW3FilterLogStartW3FilterLogStart
ContextIdW3FilterPreprocEndW3FilterPreprocEnd
ContextIdW3FilterPreprocStartW3FilterPreprocStart
ContextIdW3FilterSendRawDataEndW3FilterSendRawDataEnd
ContextIdW3FilterSendRawDataStartW3FilterSendRawDataStart
ContextIdW3FilterSendResponseEndW3FilterSendResponseEnd
ContextIdW3FilterSendResponseStartW3FilterSendResponseStart
ContextIdW3FilterSetReqHeaderW3FilterSetReqHeader
ContextIdW3FilterSetRespHeaderW3FilterSetRespHeader
ContextIdW3FilterStartW3FilterStart
ContextIdW3FilterURLMapEndW3FilterURLMapEnd
ContextIdW3FilterURLMapStartW3FilterURLMapStart
ContextIdW3GeneralCGIHandlerW3GeneralCGIHandler
ContextIdW3GeneralChildRequestEndW3GeneralChildRequestEnd
ContextIdW3GeneralChildRequestStartW3GeneralChildRequestStart
ContextIdW3GeneralDavHandlerW3GeneralDavHandler
ContextIdW3GeneralEndNewRequestW3GeneralEndNewRequest
ContextIdW3GeneralEndpointInformationW3GeneralEndpointInformation
ContextIdW3GeneralFlushResponseEndW3GeneralFlushResponseEnd
ContextIdW3GeneralFlushResponseStartW3GeneralFlushResponseStart
ContextIdW3GeneralGetURLMetadataW3GeneralGetURLMetadata
ContextIdW3GeneralISAPIHandlerW3GeneralISAPIHandler
ContextIdW3GeneralMapHandlerW3GeneralMapHandler
ContextIdW3GeneralModuleFactoryFailedW3GeneralModuleFactoryFailed
ContextIdW3GeneralNotSendCustomErrorW3GeneralNotSendCustomError
ContextIdW3GeneralOopISAPIHandlerW3GeneralOopISAPIHandler
ContextIdW3GeneralOptionsHandlerW3GeneralOptionsHandler
ContextIdW3GeneralReadEntityEndW3GeneralReadEntityEnd
ContextIdW3GeneralReadEntityStartW3GeneralReadEntityStart
ContextIdW3GeneralRedirectionHandlerW3GeneralRedirectionHandler
ContextIdW3GeneralRequestEntityW3GeneralRequestEntity
ContextIdW3GeneralRequestHeadersW3GeneralRequestHeaders
ContextIdW3GeneralResponseEntityBufferW3GeneralResponseEntityBuffer
ContextIdW3GeneralResponseEntityFileW3GeneralResponseEntityFile
ContextIdW3GeneralResponseHeadersW3GeneralResponseHeaders
ContextIdW3GeneralSendCustomErrorW3GeneralSendCustomError
ContextIdW3GeneralSetRequestHeaderW3GeneralSetRequestHeader
ContextIdW3GeneralSetResponseHeaderW3GeneralSetResponseHeader
ContextIdW3GeneralStartNewRequestW3GeneralStartNewRequest
ContextIdW3GeneralStaticFileHandlerW3GeneralStaticFileHandler
ContextIdW3GeneralTraceHandlerW3GeneralTraceHandler
ContextIdW3ISAPIEndW3ISAPIEnd
ContextIdW3ISAPIStartW3ISAPIStart
ContextIdW3OutputCacheDisabledW3OutputCacheDisabled
ContextIdW3OutputCacheLookupEndW3OutputCacheLookupEnd
ContextIdW3OutputCacheLookupStartW3OutputCacheLookupStart
ContextIdW3OutputCacheUpdateEndW3OutputCacheUpdateEnd
ContextIdW3OutputCacheUpdateStartW3OutputCacheUpdateStart
ContextIdW3SecDeniedByAccessFlagsW3SecDeniedByAccessFlags
ContextIdW3SecDeniedByCGIRestrictionW3SecDeniedByCGIRestriction
ContextIdW3SecDeniedByISAPIRestrictionW3SecDeniedByISAPIRestriction
ContextIdW3SecDeniedByMimemapW3SecDeniedByMimemap
ContextIdW3SecFileAccessDeniedW3SecFileAccessDenied
ContextIdW3SecIllegalShortFilenameW3SecIllegalShortFilename
ContextIdW3SecRejectedHostnameW3SecRejectedHostname
ContextIdW3SecRejectedIPW3SecRejectedIP
ContextIdW3SecRequireSSL128W3SecRequireSSL128
ContextIdW3StaticCompressionCreateEndW3StaticCompressionCreateEnd
ContextIdW3StaticCompressionCreateStartW3StaticCompressionCreateStart
ContextIdW3StaticCompressionEndW3StaticCompressionEnd
ContextIdW3StaticCompressionNotSuccessW3StaticCompressionNotSuccess
ContextIdW3StaticCompressionStartW3StaticCompressionStart
ContextIdW3StaticCompressionSuccessW3StaticCompressionSuccess
ContextIdW3WebSocketApplicationCloseConnectionW3WebSocketApplicationCloseConnection
ContextIdW3WebSocketCloseReceivedW3WebSocketCloseReceived
ContextIdW3WebSocketCloseSendFailureW3WebSocketCloseSendFailure
ContextIdW3WebSocketCloseSendStartW3WebSocketCloseSendStart
ContextIdW3WebSocketCloseSendSuccessW3WebSocketCloseSendSuccess
ContextIdW3WebSocketEndFailureW3WebSocketEndFailure
ContextIdW3WebSocketEndSuccessW3WebSocketEndSuccess
ContextIdW3WebSocketInitializeNotSuccessW3WebSocketInitializeNotSuccess
ContextIdW3WebSocketModuleCloseConnectionW3WebSocketModuleCloseConnection
ContextIdW3WebSocketReadFragmentEndFailureW3WebSocketReadFragmentEndFailure
ContextIdW3WebSocketReadFragmentEndPendingW3WebSocketReadFragmentEndPending
ContextIdW3WebSocketReadFragmentEndSuccessW3WebSocketReadFragmentEndSuccess
ContextIdW3WebSocketReadFragmentStartW3WebSocketReadFragmentStart
ContextIdW3WebSocketReadIoFailedW3WebSocketReadIoFailed
ContextIdW3WebSocketStartW3WebSocketStart
ContextIdW3WebSocketWriteFragmentEndFailureW3WebSocketWriteFragmentEndFailure
ContextIdW3WebSocketWriteFragmentEndPendingW3WebSocketWriteFragmentEndPending
ContextIdW3WebSocketWriteFragmentEndSuccessW3WebSocketWriteFragmentEndSuccess
ContextIdW3WebSocketWriteFragmentStartW3WebSocketWriteFragmentStart
ContextIdW3WebSocketWriteIoFailedW3WebSocketWriteIoFailed

Code samples for ContextId property

Get instance of WMI class using GetObject, ContextId property of AspSessionOnStartSuccess

Short VBS code - get a single specified instance of AspSessionOnStartSuccess class or get a default unnamed instance (singleton) of the class, using one single command GetObject with exact path of the wmi object.

'https://wutils.com/wmi/
Dim wmiObject
Set wmiObject = GetObject( _
 "WINMGMTS:\\.\ROOT\WMI:" + _
 "AspSessionOnStartSuccess.PropertyName=""SomeText""")
Wscript.Echo wmiObject.ContextId 'or other property name, see properties
See more VBS samples of AspSessionOnStartSuccess class

WMI query - sample windows WQL with C#, ContextId property of AspSessionOnStartSuccess

Get a specified instance of AspSessionOnStartSuccess by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this c# sample code.
See in another language: VBScript, VB.Net.
//https://wutils.com/wmi/

//Project -> Add reference -> System.Management
//using System.Management;

//create a management scope object
ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\WMI");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM AspSessionOnStartSuccess Where PropertyName=\"SomeText\"");

//create object searcher
ManagementObjectSearcher searcher =
                        new ManagementObjectSearcher(scope, query);

//get a collection of WMI objects
ManagementObjectCollection queryCollection = searcher.Get();

//enumerate the collection.
foreach (ManagementObject m in queryCollection) 
{
  // access properties of the WMI object
  Console.WriteLine("ContextId : {0}", m["ContextId"]);
  
}

WMI query - sample windows WQL with VB.Net, ContextId property of AspSessionOnStartSuccess

Get a specified instance of AspSessionOnStartSuccess by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this VB.Net sample code.
See in another language: VBScript, C#
'Project -> Add reference -> System.Management
'Imports System.Management

'Get the namespace management scope
Dim Scope As New ManagementScope("\\.\ROOT\WMI")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM AspSessionOnStartSuccess Where PropertyName="SomeText"")

'Create object searcher
Dim Searcher As New ManagementObjectSearcher(Scope, Query)

'Get a collection of WMI objects
Dim queryCollection As ManagementObjectCollection = Searcher.Get

'Enumerate wmi object 
For Each mObject As ManagementObject In queryCollection
  'write out some property value
  Console.WriteLine("ContextId : {0}", mObject("ContextId"))
Next
comments powered by Disqus
WUtils.com