SystemName - property in ROOT\CIMV2\ms_409 namespace

SystemName in other namespaces

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

propertyClassOrigin
SystemNameCIM_DeviceErrorCountsCIM_DeviceErrorCounts
SystemNameCIM_JobDestinationCIM_JobDestination
SystemNameCIM_LogicalDeviceCIM_LogicalDevice
SystemNameCIM_ServiceCIM_Service
SystemNameCIM_ServiceAccessPointCIM_ServiceAccessPoint
SystemNameCIM_StorageErrorCIM_StorageError

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

propertyClassOrigin
SystemNameCIM_AggregatePExtentCIM_LogicalDevice
SystemNameCIM_AggregatePSExtentCIM_LogicalDevice
SystemNameCIM_AlarmDeviceCIM_LogicalDevice
SystemNameCIM_BatteryCIM_LogicalDevice
SystemNameCIM_BinarySensorCIM_LogicalDevice
SystemNameCIM_BootSAPCIM_ServiceAccessPoint
SystemNameCIM_BootServiceCIM_Service
SystemNameCIM_CacheMemoryCIM_LogicalDevice
SystemNameCIM_CDROMDriveCIM_LogicalDevice
SystemNameCIM_ClusteringSAPCIM_ServiceAccessPoint
SystemNameCIM_ClusteringServiceCIM_Service
SystemNameCIM_ControllerCIM_LogicalDevice
SystemNameCIM_CoolingDeviceCIM_LogicalDevice
SystemNameCIM_CurrentSensorCIM_LogicalDevice
SystemNameCIM_DesktopMonitorCIM_LogicalDevice
SystemNameCIM_DiscreteSensorCIM_LogicalDevice
SystemNameCIM_DiskDriveCIM_LogicalDevice
SystemNameCIM_DisketteDriveCIM_LogicalDevice
SystemNameCIM_DiskPartitionCIM_LogicalDevice
SystemNameCIM_DisplayCIM_LogicalDevice
SystemNameCIM_FanCIM_LogicalDevice
SystemNameCIM_FlatPanelCIM_LogicalDevice
SystemNameCIM_HeatPipeCIM_LogicalDevice
SystemNameCIM_InfraredControllerCIM_LogicalDevice
SystemNameCIM_KeyboardCIM_LogicalDevice
SystemNameCIM_LogicalDiskCIM_LogicalDevice
SystemNameCIM_MagnetoOpticalDriveCIM_LogicalDevice
SystemNameCIM_ManagementControllerCIM_LogicalDevice
SystemNameCIM_MediaAccessDeviceCIM_LogicalDevice
SystemNameCIM_MemoryCIM_LogicalDevice
SystemNameCIM_MultiStateSensorCIM_LogicalDevice
SystemNameCIM_NetworkAdapterCIM_LogicalDevice
SystemNameCIM_NonVolatileStorageCIM_LogicalDevice
SystemNameCIM_NumericSensorCIM_LogicalDevice
SystemNameCIM_ParallelControllerCIM_LogicalDevice
SystemNameCIM_PCIControllerCIM_LogicalDevice
SystemNameCIM_PCMCIAControllerCIM_LogicalDevice
SystemNameCIM_PCVideoControllerCIM_LogicalDevice
SystemNameCIM_PhysicalExtentCIM_LogicalDevice
SystemNameCIM_PointingDeviceCIM_LogicalDevice
SystemNameCIM_PotsModemCIM_LogicalDevice
SystemNameCIM_PowerSupplyCIM_LogicalDevice
SystemNameCIM_PrinterCIM_LogicalDevice
SystemNameCIM_ProcessorCIM_LogicalDevice
SystemNameCIM_ProtectedSpaceExtentCIM_LogicalDevice
SystemNameCIM_RefrigerationCIM_LogicalDevice
SystemNameCIM_ScannerCIM_LogicalDevice
SystemNameCIM_SCSIControllerCIM_LogicalDevice
SystemNameCIM_SensorCIM_LogicalDevice
SystemNameCIM_SerialControllerCIM_LogicalDevice
SystemNameCIM_StorageExtentCIM_LogicalDevice
SystemNameCIM_StorageVolumeCIM_LogicalDevice
SystemNameCIM_TachometerCIM_LogicalDevice
SystemNameCIM_TapeDriveCIM_LogicalDevice
SystemNameCIM_TemperatureSensorCIM_LogicalDevice
SystemNameCIM_UninterruptiblePowerSupplyCIM_LogicalDevice
SystemNameCIM_USBControllerCIM_LogicalDevice
SystemNameCIM_USBDeviceCIM_LogicalDevice
SystemNameCIM_USBHubCIM_LogicalDevice
SystemNameCIM_UserDeviceCIM_LogicalDevice
SystemNameCIM_VideoControllerCIM_LogicalDevice
SystemNameCIM_VolatileStorageCIM_LogicalDevice
SystemNameCIM_VoltageSensorCIM_LogicalDevice
SystemNameCIM_VolumeSetCIM_LogicalDevice
SystemNameCIM_WORMDriveCIM_LogicalDevice
SystemNameWin32_1394ControllerCIM_LogicalDevice
SystemNameWin32_ApplicationServiceCIM_Service
SystemNameWin32_BaseServiceCIM_Service
SystemNameWin32_BatteryCIM_LogicalDevice
SystemNameWin32_BusCIM_LogicalDevice
SystemNameWin32_CacheMemoryCIM_LogicalDevice
SystemNameWin32_CDROMDriveCIM_LogicalDevice
SystemNameWin32_CommandLineAccessCIM_ServiceAccessPoint
SystemNameWin32_CurrentProbeCIM_LogicalDevice
SystemNameWin32_DesktopMonitorCIM_LogicalDevice
SystemNameWin32_DiskDriveCIM_LogicalDevice
SystemNameWin32_DiskPartitionCIM_LogicalDevice
SystemNameWin32_FanCIM_LogicalDevice
SystemNameWin32_FloppyControllerCIM_LogicalDevice
SystemNameWin32_FloppyDriveCIM_LogicalDevice
SystemNameWin32_HeatPipeCIM_LogicalDevice
SystemNameWin32_IDEControllerCIM_LogicalDevice
SystemNameWin32_InfraredDeviceCIM_LogicalDevice
SystemNameWin32_KeyboardCIM_LogicalDevice
SystemNameWin32_LogicalDiskCIM_LogicalDevice
SystemNameWin32_MappedLogicalDiskCIM_LogicalDevice
SystemNameWin32_MemoryArrayCIM_LogicalDevice
SystemNameWin32_MemoryDeviceCIM_LogicalDevice
SystemNameWin32_MotherboardDeviceCIM_LogicalDevice
SystemNameWin32_NetworkAdapterCIM_LogicalDevice
SystemNameWin32_ParallelPortCIM_LogicalDevice
SystemNameWin32_PCMCIAControllerCIM_LogicalDevice
SystemNameWin32_PnPEntityCIM_LogicalDevice
SystemNameWin32_PnPSignedDriverCIM_Service
SystemNameWin32_PointingDeviceCIM_LogicalDevice
SystemNameWin32_PortableBatteryCIM_LogicalDevice
SystemNameWin32_POTSModemCIM_LogicalDevice
SystemNameWin32_ProcessorCIM_LogicalDevice
SystemNameWin32_RefrigerationCIM_LogicalDevice
SystemNameWin32_SCSIControllerCIM_LogicalDevice
SystemNameWin32_SerialPortCIM_LogicalDevice
SystemNameWin32_ServiceCIM_Service
SystemNameWin32_SMBIOSMemoryCIM_LogicalDevice
SystemNameWin32_SoundDeviceCIM_LogicalDevice
SystemNameWin32_SystemDriverCIM_Service
SystemNameWin32_TapeDriveCIM_LogicalDevice
SystemNameWin32_TemperatureProbeCIM_LogicalDevice
SystemNameWin32_TerminalServiceCIM_Service
SystemNameWin32_USBControllerCIM_LogicalDevice
SystemNameWin32_USBHubCIM_LogicalDevice
SystemNameWin32_VideoControllerCIM_LogicalDevice
SystemNameWin32_VoltageProbeCIM_LogicalDevice
SystemNameWin32_VolumeCIM_LogicalDevice

Code samples for SystemName property

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

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

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