Type - property in ROOT\WMI namespace

Type in other namespaces

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

propertyClassOrigin
Type__NTLMUser9X__NTLMUser9X
TypeAllocateSegmentAllocateSegment
Typeapp_domain_ring_buffer_recordedapp_domain_ring_buffer_recorded
TypeBcdDeviceLocateDataBcdDeviceLocateData
TypeBcdElementBcdElement
TypeBcdObjectBcdObject
Typeconnectivity_ring_buffer_recordedconnectivity_ring_buffer_recorded
Typedatabase_agent_create_filegroupdatabase_agent_create_filegroup
Typeddl_with_wait_at_low_priorityddl_with_wait_at_low_priority
TypeGCStartGCStart
TypeHBAFCPBindingEntryHBAFCPBindingEntry
TypeHBAFCPBindingEntry2HBAFCPBindingEntry2
TypeHvGuestExceptionHvGuestException
TypeIISGeneralVirtualModuleUnresolvedIISGeneralVirtualModuleUnresolved
TypeISCSI_IP_AddressISCSI_IP_Address
TypeISCSI_SessionStaticInfoISCSI_SessionStaticInfo
TypeKernelIdleStatesKernelIdleStates
TypeKernelPerfStateKernelPerfState
TypeKernelPerfStatesKernelPerfStates
Typelog_buffer_allocatedlog_buffer_allocated
TypeMS_SMHBA_BINDINGENTRYMS_SMHBA_BINDINGENTRY
TypeMS1394_BusEventNotificationMS1394_BusEventNotification
TypeMS1394_DeviceAccessNotificationMS1394_DeviceAccessNotification
TypeMSiSCSI_EventlogMSiSCSI_Eventlog
TypeMSKeyboard_ExtendedIDMSKeyboard_ExtendedID
TypeMSMCAEvent_BusErrorMSMCAEvent_BusError
TypeMSMCAEvent_CPUErrorMSMCAEvent_CPUError
TypeMSMCAEvent_HeaderMSMCAEvent_Header
TypeMSMCAEvent_InvalidErrorMSMCAEvent_InvalidError
TypeMSMCAEvent_MemoryErrorMSMCAEvent_MemoryError
TypeMSMCAEvent_MemoryHierarchyErrorMSMCAEvent_MemoryHierarchyError
TypeMSMCAEvent_PCIBusErrorMSMCAEvent_PCIBusError
TypeMSMCAEvent_PCIComponentErrorMSMCAEvent_PCIComponentError
TypeMSMCAEvent_PlatformSpecificErrorMSMCAEvent_PlatformSpecificError
TypeMSMCAEvent_SMBIOSErrorMSMCAEvent_SMBIOSError
TypeMSMCAEvent_SystemEventErrorMSMCAEvent_SystemEventError
TypeMSMCAEvent_TLBErrorMSMCAEvent_TLBError
TypeMSNdis_ObjectHeaderMSNdis_ObjectHeader
TypeMSNdis_PortCharMSNdis_PortChar
TypePoolAllocFreePoolAllocFree
TypeRegistry_ChangeNotificationRegistry_ChangeNotification
Typesession_mgr_work_item_dequeuedsession_mgr_work_item_dequeued
Typesession_mgr_work_item_end_executionsession_mgr_work_item_end_execution
Typesession_mgr_work_item_enqueuedsession_mgr_work_item_enqueued
Typesession_mgr_work_item_start_executionsession_mgr_work_item_start_execution
TypeSessionPoolAllocFreeSessionPoolAllocFree
Typespinlock_backoffspinlock_backoff
Typespinlock_backoff_warningspinlock_backoff_warning
Typetrace_flag_changedtrace_flag_changed
TypeWmiMonitorRawEEdidV1BlockWmiMonitorRawEEdidV1Block
TypeWT_DiskWT_Disk

Code samples for Type property

Get instance of WMI class using GetObject, Type property of KernelIdleStates

Short VBS code - get a single specified instance of KernelIdleStates 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:" + _
 "KernelIdleStates.InstanceName=""PPM_Processor_0""")
Wscript.Echo wmiObject.Type 'or other property name, see properties
See more VBS samples of KernelIdleStates class

WMI query - sample windows WQL with C#, Type property of KernelIdleStates

Get a specified instance of KernelIdleStates 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 KernelIdleStates Where InstanceName=\"PPM_Processor_0\"");

//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("Type : {0}", m["Type"]);
  
}

WMI query - sample windows WQL with VB.Net, Type property of KernelIdleStates

Get a specified instance of KernelIdleStates 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 KernelIdleStates Where InstanceName="PPM_Processor_0"")

'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("Type : {0}", mObject("Type"))
Next
comments powered by Disqus
WUtils.com