StatusInfo - property in ROOT\CIMV2\ms_409 namespace

StatusInfo in other namespaces

List of classes with StatusInfo local property in ROOT\CIMV2\ms_409 namespace

propertyClassOrigin
StatusInfoCIM_LogicalDeviceCIM_LogicalDevice

List of classes with StatusInfo derived property in ROOT\CIMV2\ms_409 namespace

propertyClassOrigin
StatusInfoCIM_AggregatePExtentCIM_LogicalDevice
StatusInfoCIM_AggregatePSExtentCIM_LogicalDevice
StatusInfoCIM_AlarmDeviceCIM_LogicalDevice
StatusInfoCIM_BatteryCIM_LogicalDevice
StatusInfoCIM_BinarySensorCIM_LogicalDevice
StatusInfoCIM_CacheMemoryCIM_LogicalDevice
StatusInfoCIM_CDROMDriveCIM_LogicalDevice
StatusInfoCIM_ControllerCIM_LogicalDevice
StatusInfoCIM_CoolingDeviceCIM_LogicalDevice
StatusInfoCIM_CurrentSensorCIM_LogicalDevice
StatusInfoCIM_DesktopMonitorCIM_LogicalDevice
StatusInfoCIM_DiscreteSensorCIM_LogicalDevice
StatusInfoCIM_DiskDriveCIM_LogicalDevice
StatusInfoCIM_DisketteDriveCIM_LogicalDevice
StatusInfoCIM_DiskPartitionCIM_LogicalDevice
StatusInfoCIM_DisplayCIM_LogicalDevice
StatusInfoCIM_FanCIM_LogicalDevice
StatusInfoCIM_FlatPanelCIM_LogicalDevice
StatusInfoCIM_HeatPipeCIM_LogicalDevice
StatusInfoCIM_InfraredControllerCIM_LogicalDevice
StatusInfoCIM_KeyboardCIM_LogicalDevice
StatusInfoCIM_LogicalDiskCIM_LogicalDevice
StatusInfoCIM_MagnetoOpticalDriveCIM_LogicalDevice
StatusInfoCIM_ManagementControllerCIM_LogicalDevice
StatusInfoCIM_MediaAccessDeviceCIM_LogicalDevice
StatusInfoCIM_MemoryCIM_LogicalDevice
StatusInfoCIM_MultiStateSensorCIM_LogicalDevice
StatusInfoCIM_NetworkAdapterCIM_LogicalDevice
StatusInfoCIM_NonVolatileStorageCIM_LogicalDevice
StatusInfoCIM_NumericSensorCIM_LogicalDevice
StatusInfoCIM_ParallelControllerCIM_LogicalDevice
StatusInfoCIM_PCIControllerCIM_LogicalDevice
StatusInfoCIM_PCMCIAControllerCIM_LogicalDevice
StatusInfoCIM_PCVideoControllerCIM_LogicalDevice
StatusInfoCIM_PhysicalExtentCIM_LogicalDevice
StatusInfoCIM_PointingDeviceCIM_LogicalDevice
StatusInfoCIM_PotsModemCIM_LogicalDevice
StatusInfoCIM_PowerSupplyCIM_LogicalDevice
StatusInfoCIM_PrinterCIM_LogicalDevice
StatusInfoCIM_ProcessorCIM_LogicalDevice
StatusInfoCIM_ProtectedSpaceExtentCIM_LogicalDevice
StatusInfoCIM_RefrigerationCIM_LogicalDevice
StatusInfoCIM_ScannerCIM_LogicalDevice
StatusInfoCIM_SCSIControllerCIM_LogicalDevice
StatusInfoCIM_SensorCIM_LogicalDevice
StatusInfoCIM_SerialControllerCIM_LogicalDevice
StatusInfoCIM_StorageExtentCIM_LogicalDevice
StatusInfoCIM_StorageVolumeCIM_LogicalDevice
StatusInfoCIM_TachometerCIM_LogicalDevice
StatusInfoCIM_TapeDriveCIM_LogicalDevice
StatusInfoCIM_TemperatureSensorCIM_LogicalDevice
StatusInfoCIM_UninterruptiblePowerSupplyCIM_LogicalDevice
StatusInfoCIM_USBControllerCIM_LogicalDevice
StatusInfoCIM_USBDeviceCIM_LogicalDevice
StatusInfoCIM_USBHubCIM_LogicalDevice
StatusInfoCIM_UserDeviceCIM_LogicalDevice
StatusInfoCIM_VideoControllerCIM_LogicalDevice
StatusInfoCIM_VolatileStorageCIM_LogicalDevice
StatusInfoCIM_VoltageSensorCIM_LogicalDevice
StatusInfoCIM_VolumeSetCIM_LogicalDevice
StatusInfoCIM_WORMDriveCIM_LogicalDevice
StatusInfoWin32_1394ControllerCIM_LogicalDevice
StatusInfoWin32_BatteryCIM_LogicalDevice
StatusInfoWin32_BusCIM_LogicalDevice
StatusInfoWin32_CacheMemoryCIM_LogicalDevice
StatusInfoWin32_CDROMDriveCIM_LogicalDevice
StatusInfoWin32_CurrentProbeCIM_LogicalDevice
StatusInfoWin32_DesktopMonitorCIM_LogicalDevice
StatusInfoWin32_DiskDriveCIM_LogicalDevice
StatusInfoWin32_DiskPartitionCIM_LogicalDevice
StatusInfoWin32_FanCIM_LogicalDevice
StatusInfoWin32_FloppyControllerCIM_LogicalDevice
StatusInfoWin32_FloppyDriveCIM_LogicalDevice
StatusInfoWin32_HeatPipeCIM_LogicalDevice
StatusInfoWin32_IDEControllerCIM_LogicalDevice
StatusInfoWin32_InfraredDeviceCIM_LogicalDevice
StatusInfoWin32_KeyboardCIM_LogicalDevice
StatusInfoWin32_LogicalDiskCIM_LogicalDevice
StatusInfoWin32_MappedLogicalDiskCIM_LogicalDevice
StatusInfoWin32_MemoryArrayCIM_LogicalDevice
StatusInfoWin32_MemoryDeviceCIM_LogicalDevice
StatusInfoWin32_MotherboardDeviceCIM_LogicalDevice
StatusInfoWin32_NetworkAdapterCIM_LogicalDevice
StatusInfoWin32_ParallelPortCIM_LogicalDevice
StatusInfoWin32_PCMCIAControllerCIM_LogicalDevice
StatusInfoWin32_PnPEntityCIM_LogicalDevice
StatusInfoWin32_PointingDeviceCIM_LogicalDevice
StatusInfoWin32_PortableBatteryCIM_LogicalDevice
StatusInfoWin32_POTSModemCIM_LogicalDevice
StatusInfoWin32_ProcessorCIM_LogicalDevice
StatusInfoWin32_RefrigerationCIM_LogicalDevice
StatusInfoWin32_SCSIControllerCIM_LogicalDevice
StatusInfoWin32_SerialPortCIM_LogicalDevice
StatusInfoWin32_SMBIOSMemoryCIM_LogicalDevice
StatusInfoWin32_SoundDeviceCIM_LogicalDevice
StatusInfoWin32_TapeDriveCIM_LogicalDevice
StatusInfoWin32_TemperatureProbeCIM_LogicalDevice
StatusInfoWin32_USBControllerCIM_LogicalDevice
StatusInfoWin32_USBHubCIM_LogicalDevice
StatusInfoWin32_VideoControllerCIM_LogicalDevice
StatusInfoWin32_VoltageProbeCIM_LogicalDevice
StatusInfoWin32_VolumeCIM_LogicalDevice

Code samples for StatusInfo property

Get instance of WMI class using GetObject, StatusInfo property of CIM_Printer

Short VBS code - get a single specified instance of CIM_Printer 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\CIMV2\ms_409:" + _
 "CIM_Printer.PropertyName=""SomeText""")
Wscript.Echo wmiObject.StatusInfo 'or other property name, see properties
See more VBS samples of CIM_Printer class

WMI query - sample windows WQL with C#, StatusInfo property of CIM_Printer

Get a specified instance of CIM_Printer 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\\CIMV2\\ms_409");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM CIM_Printer 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("StatusInfo : {0}", m["StatusInfo"]);
  
}

WMI query - sample windows WQL with VB.Net, StatusInfo property of CIM_Printer

Get a specified instance of CIM_Printer 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\CIMV2\ms_409")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM CIM_Printer 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("StatusInfo : {0}", mObject("StatusInfo"))
Next
comments powered by Disqus
WUtils.com