ConfigManagerErrorCode - property in ROOT\CIMV2\ms_409 namespace

ConfigManagerErrorCode in other namespaces

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

propertyClassOrigin
ConfigManagerErrorCodeCIM_LogicalDeviceCIM_LogicalDevice

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

propertyClassOrigin
ConfigManagerErrorCodeCIM_AggregatePExtentCIM_LogicalDevice
ConfigManagerErrorCodeCIM_AggregatePSExtentCIM_LogicalDevice
ConfigManagerErrorCodeCIM_AlarmDeviceCIM_LogicalDevice
ConfigManagerErrorCodeCIM_BatteryCIM_LogicalDevice
ConfigManagerErrorCodeCIM_BinarySensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_CacheMemoryCIM_LogicalDevice
ConfigManagerErrorCodeCIM_CDROMDriveCIM_LogicalDevice
ConfigManagerErrorCodeCIM_ControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_CoolingDeviceCIM_LogicalDevice
ConfigManagerErrorCodeCIM_CurrentSensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_DesktopMonitorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_DiscreteSensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_DiskDriveCIM_LogicalDevice
ConfigManagerErrorCodeCIM_DisketteDriveCIM_LogicalDevice
ConfigManagerErrorCodeCIM_DiskPartitionCIM_LogicalDevice
ConfigManagerErrorCodeCIM_DisplayCIM_LogicalDevice
ConfigManagerErrorCodeCIM_FanCIM_LogicalDevice
ConfigManagerErrorCodeCIM_FlatPanelCIM_LogicalDevice
ConfigManagerErrorCodeCIM_HeatPipeCIM_LogicalDevice
ConfigManagerErrorCodeCIM_InfraredControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_KeyboardCIM_LogicalDevice
ConfigManagerErrorCodeCIM_LogicalDiskCIM_LogicalDevice
ConfigManagerErrorCodeCIM_MagnetoOpticalDriveCIM_LogicalDevice
ConfigManagerErrorCodeCIM_ManagementControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_MediaAccessDeviceCIM_LogicalDevice
ConfigManagerErrorCodeCIM_MemoryCIM_LogicalDevice
ConfigManagerErrorCodeCIM_MultiStateSensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_NetworkAdapterCIM_LogicalDevice
ConfigManagerErrorCodeCIM_NonVolatileStorageCIM_LogicalDevice
ConfigManagerErrorCodeCIM_NumericSensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_ParallelControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PCIControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PCMCIAControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PCVideoControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PhysicalExtentCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PointingDeviceCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PotsModemCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PowerSupplyCIM_LogicalDevice
ConfigManagerErrorCodeCIM_PrinterCIM_LogicalDevice
ConfigManagerErrorCodeCIM_ProcessorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_ProtectedSpaceExtentCIM_LogicalDevice
ConfigManagerErrorCodeCIM_RefrigerationCIM_LogicalDevice
ConfigManagerErrorCodeCIM_ScannerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_SCSIControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_SensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_SerialControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_StorageExtentCIM_LogicalDevice
ConfigManagerErrorCodeCIM_StorageVolumeCIM_LogicalDevice
ConfigManagerErrorCodeCIM_TachometerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_TapeDriveCIM_LogicalDevice
ConfigManagerErrorCodeCIM_TemperatureSensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_UninterruptiblePowerSupplyCIM_LogicalDevice
ConfigManagerErrorCodeCIM_USBControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_USBDeviceCIM_LogicalDevice
ConfigManagerErrorCodeCIM_USBHubCIM_LogicalDevice
ConfigManagerErrorCodeCIM_UserDeviceCIM_LogicalDevice
ConfigManagerErrorCodeCIM_VideoControllerCIM_LogicalDevice
ConfigManagerErrorCodeCIM_VolatileStorageCIM_LogicalDevice
ConfigManagerErrorCodeCIM_VoltageSensorCIM_LogicalDevice
ConfigManagerErrorCodeCIM_VolumeSetCIM_LogicalDevice
ConfigManagerErrorCodeCIM_WORMDriveCIM_LogicalDevice
ConfigManagerErrorCodeWin32_1394ControllerCIM_LogicalDevice
ConfigManagerErrorCodeWin32_BatteryCIM_LogicalDevice
ConfigManagerErrorCodeWin32_BusCIM_LogicalDevice
ConfigManagerErrorCodeWin32_CacheMemoryCIM_LogicalDevice
ConfigManagerErrorCodeWin32_CDROMDriveCIM_LogicalDevice
ConfigManagerErrorCodeWin32_CurrentProbeCIM_LogicalDevice
ConfigManagerErrorCodeWin32_DesktopMonitorCIM_LogicalDevice
ConfigManagerErrorCodeWin32_DiskDriveCIM_LogicalDevice
ConfigManagerErrorCodeWin32_DiskPartitionCIM_LogicalDevice
ConfigManagerErrorCodeWin32_FanCIM_LogicalDevice
ConfigManagerErrorCodeWin32_FloppyControllerCIM_LogicalDevice
ConfigManagerErrorCodeWin32_FloppyDriveCIM_LogicalDevice
ConfigManagerErrorCodeWin32_HeatPipeCIM_LogicalDevice
ConfigManagerErrorCodeWin32_IDEControllerCIM_LogicalDevice
ConfigManagerErrorCodeWin32_InfraredDeviceCIM_LogicalDevice
ConfigManagerErrorCodeWin32_KeyboardCIM_LogicalDevice
ConfigManagerErrorCodeWin32_LogicalDiskCIM_LogicalDevice
ConfigManagerErrorCodeWin32_MappedLogicalDiskCIM_LogicalDevice
ConfigManagerErrorCodeWin32_MemoryArrayCIM_LogicalDevice
ConfigManagerErrorCodeWin32_MemoryDeviceCIM_LogicalDevice
ConfigManagerErrorCodeWin32_MotherboardDeviceCIM_LogicalDevice
ConfigManagerErrorCodeWin32_NetworkAdapterCIM_LogicalDevice
ConfigManagerErrorCodeWin32_ParallelPortCIM_LogicalDevice
ConfigManagerErrorCodeWin32_PCMCIAControllerCIM_LogicalDevice
ConfigManagerErrorCodeWin32_PnPEntityCIM_LogicalDevice
ConfigManagerErrorCodeWin32_PointingDeviceCIM_LogicalDevice
ConfigManagerErrorCodeWin32_PortableBatteryCIM_LogicalDevice
ConfigManagerErrorCodeWin32_POTSModemCIM_LogicalDevice
ConfigManagerErrorCodeWin32_ProcessorCIM_LogicalDevice
ConfigManagerErrorCodeWin32_RefrigerationCIM_LogicalDevice
ConfigManagerErrorCodeWin32_SCSIControllerCIM_LogicalDevice
ConfigManagerErrorCodeWin32_SerialPortCIM_LogicalDevice
ConfigManagerErrorCodeWin32_SMBIOSMemoryCIM_LogicalDevice
ConfigManagerErrorCodeWin32_SoundDeviceCIM_LogicalDevice
ConfigManagerErrorCodeWin32_TapeDriveCIM_LogicalDevice
ConfigManagerErrorCodeWin32_TemperatureProbeCIM_LogicalDevice
ConfigManagerErrorCodeWin32_USBControllerCIM_LogicalDevice
ConfigManagerErrorCodeWin32_USBHubCIM_LogicalDevice
ConfigManagerErrorCodeWin32_VideoControllerCIM_LogicalDevice
ConfigManagerErrorCodeWin32_VoltageProbeCIM_LogicalDevice
ConfigManagerErrorCodeWin32_VolumeCIM_LogicalDevice

Code samples for ConfigManagerErrorCode property

Get instance of WMI class using GetObject, ConfigManagerErrorCode 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.ConfigManagerErrorCode 'or other property name, see properties
See more VBS samples of CIM_Printer class

WMI query - sample windows WQL with C#, ConfigManagerErrorCode 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("ConfigManagerErrorCode : {0}", m["ConfigManagerErrorCode"]);
  
}

WMI query - sample windows WQL with VB.Net, ConfigManagerErrorCode 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("ConfigManagerErrorCode : {0}", mObject("ConfigManagerErrorCode"))
Next
comments powered by Disqus
WUtils.com