CIM_USBController, root/CIMV2, VBScript samples, description

WUtils.com

Derivation (1) | VB Script | C# | VB.Net | Methods (2) | Properties (23) | Qualifiers (3) | Instances (8)

CIM_USBController - derived classes in root/CIMV2

Number of subclasses:1
Class nameChildsClass InstancesChild InstancesPropertiesdynamicLocaleproviderUUID
Win32_USBController0823True&1033"CIMWin32""{98C7E2C7-D592-11d2-B355-00105A0A323A}"

CIM_USBController class derivation info

Report generated from: Microsoft Windows Server 2012 R2 Standard Evaluation

VBScript Code samples

The class CIM_USBController is abstract and serves only as a base for new classes. You cannot create instances of abstract class, see derived classes.

Get a Class as object

Short VB Script code to get the abstract class CIM_USBController as object.
	'http://wutils.com/wmi/
	Dim wmiClass
	Set wmiClass = GetObject( _
	 "WINMGMTS:\\.\ROOT\cimv2:" + _
	 "CIM_USBController")
	Wscript.Echo wmiClass.Manufacturer.Origin 'or other property name
	

InstancesOf

List of all instances, wmi class CIM_USBController.
	'http://wutils.com/wmi/
	Dim oWMI, Instances, Instance
	
	'Get base WMI object, "." means computer name (local)
	Set oWMI = GetObject("WINMGMTS:\\.\ROOT\cimv2")
	
	'Get instances of CIM_USBController - all instances of this class and derived classes 
	Set Instances = oWMI.InstancesOf("CIM_USBController")
	
	
	'Enumerate instances  
	For Each Instance In Instances 
	  'Do something with the instance
	  Wscript.Echo Instance.Manufacturer 'or other property name
	Next 'Instance
	

c# Code samples

The class CIM_USBController is abstract and serves only as a base for new classes. You cannot create instances of abstract class, see derived classes.

WMI query - sample windows WQL with C#

Get a specified instance of CIM_USBController by key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this c# sample code.
	//http://wutils.com/wmi/
	
	//Project -> Add reference -> System.Management
	//using System.Management;
	
	//create a management scope object
	ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\cimv2");
	
	//create object query
	ObjectQuery query = new ObjectQuery("SELECT * FROM CIM_USBController");
	
	//create object searcher
	ManagementObjectSearcher searcher =
	                        new ManagementObjectSearcher(scope, query);
	
	//get collection of WMI objects
	ManagementObjectCollection queryCollection = searcher.Get();
	
	//enumerate the collection.
	foreach (ManagementObject m in queryCollection) 
	{
	// access properties of the WMI object
	  Console.WriteLine("Manufacturer : {0}", m["Manufacturer"]);
	  
	}
	

WMI query - list of class instances

Get a specified instance of CIM_USBController by 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.
	//http://wutils.com/wmi/
	
	//Project -> Add reference -> System.Management
	//using System.Management;
	
	//get the ManagementClass
	ManagementClass oClass = new ManagementClass("CIM_USBController");
	
	//Get all instances of the class and enumerate them
	foreach (ManagementObject oObject in oClass.GetInstances())
	{
	    //access a property of the Management object
	    Console.WriteLine("Manufacturer : {0}", oObject["Manufacturer"]);
	}
	
	

VB.Net Code samples

The class CIM_USBController is abstract and serves only as a base for new classes. You cannot create instances of abstract class, see derived classes.

WMI query - sample windows WQL with VB.Net

Get a specified instance of CIM_USBController by 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.
	  'Project -> Add reference -> System.Management
	  'Imports System.Management
	  
	  'Get the namespace management scope
	  Dim Scope As New ManagementScope("\\.\ROOT\cimv2")
	  
	  'Get a result of WML query 
	  Dim Query As New ObjectQuery("SELECT * FROM CIM_USBController")
	  
	  '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("Manufacturer : {0}", mObject("Manufacturer"))
	  Next
	

CIM_USBController methods

NameDescriptionOriginReturnParameters
SetPowerStateCIM_LogicalDeviceuint32PowerState as uint16, Time as datetime
ResetCIM_LogicalDeviceuint32-

CIM_USBController properties

NameCIMTypeIsArrayIsLocalOriginreadSchemaQualifiers
Manufacturer8,stringNOYESCIM_USBControllerTrue"Win32"-
Availability18,uint16NONOCIM_LogicalDeviceTrueMappingStrings=Array["MIF.DMTF|Operational State|003.5","MIB.IETF|HOST-RESOURCES-MIB.hrDeviceStatus"],ValueMap=Array["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21"]
Caption8,stringNONOCIM_ManagedSystemElementTrueMaxLen=&64
ConfigManagerErrorCode19,uint32NONOCIM_LogicalDeviceTrueValueMap=Array["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"]
ConfigManagerUserConfig11,booleanNONOCIM_LogicalDeviceTrue-
CreationClassName8,stringNONOCIM_LogicalDeviceTrueCIM_Key=True
Description8,stringNONOCIM_ManagedSystemElementTrue-
DeviceID8,stringNONOCIM_LogicalDeviceTrueCIM_Key=True
ErrorCleared11,booleanNONOCIM_LogicalDeviceTrue-
ErrorDescription8,stringNONOCIM_LogicalDeviceTrue-
InstallDate101,datetimeNONOCIM_ManagedSystemElementTrueMappingStrings=Array["MIF.DMTF|ComponentID|001.5"]
LastErrorCode19,uint32NONOCIM_LogicalDeviceTrue-
MaxNumberControlled19,uint32NONOCIM_ControllerTrueMappingStrings=Array["MIF.DMTF|Bus Port|001.9"]
Name8,stringNONOCIM_ManagedSystemElementTrue-
PNPDeviceID8,stringNONOCIM_LogicalDeviceTrue-
PowerManagementCapabilities18,uint16YESNOCIM_LogicalDeviceTrue-
PowerManagementSupported11,booleanNONOCIM_LogicalDeviceTrue-
ProtocolSupported18,uint16NONOCIM_ControllerTrueMappingStrings=Array["MIF.DMTF|Bus Port|001.2","MIF.DMTF|Disks|003.3"],ValueMap=Array["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47"]
Status8,stringNONOCIM_ManagedSystemElementTrueMaxLen=&10,ValueMap=Array["OK","Error","Degraded","Unknown","Pred Fail","Starting","Stopping","Service","Stressed","NonRecover","No Contact","Lost Comm"]
StatusInfo18,uint16NONOCIM_LogicalDeviceTrueMappingStrings=Array["MIF.DMTF|Operational State|003.3"],ValueMap=Array["1","2","3","4","5"]
SystemCreationClassName8,stringNONOCIM_LogicalDeviceTrueCIM_Key=True,Propagated="CIM_System.CreationClassName"
SystemName8,stringNONOCIM_LogicalDeviceTrueCIM_Key=True,Propagated="CIM_System.Name"
TimeOfLastReset101,datetimeNONOCIM_ControllerTrue-

Instances of CIM_USBController

This section contains sample wmi instances of CIM_USBController class with their properties from Microsoft Windows Server 2012 R2 Standard Evaluation.
CIM_USBController is an abstract class, so it has only derived instances, see derivation.

Instances derived from CIM_USBController class

8 of 8 instances.
DeviceID"PCI\VEN_8086&DEV_293C&SUBSYS_1605103C&REV_03\3&33FD14CA&0&D7""PCI\VEN_8086&DEV_2938&SUBSYS_1605103C&REV_03\3&33FD14CA&0&D1""PCI\VEN_8086&DEV_2935&SUBSYS_1605103C&REV_03\3&33FD14CA&0&E9""PCI\VEN_8086&DEV_2937&SUBSYS_1605103C&REV_03\3&33FD14CA&0&D0""PCI\VEN_8086&DEV_2934&SUBSYS_1605103C&REV_03\3&33FD14CA&0&E8""PCI\VEN_8086&DEV_2939&SUBSYS_1605103C&REV_03\3&33FD14CA&0&EB""PCI\VEN_8086&DEV_293A&SUBSYS_1605103C&REV_03\3&33FD14CA&0&EF""PCI\VEN_8086&DEV_2936&SUBSYS_1605103C&REV_03\3&33FD14CA&0&EA"
Manufacturer"Intel""Intel""Intel""Intel""Intel""Intel""Intel""Intel"
AvailabilityNullNullNullNullNullNullNullNull
Caption"Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C""Intel(R) ICH9 Family USB Universal Host Controller - 2938""Intel(R) ICH9 Family USB Universal Host Controller - 2935""Intel(R) ICH9 Family USB Universal Host Controller - 2937""Intel(R) ICH9 Family USB Universal Host Controller - 2934""Intel(R) ICH9 Family USB Universal Host Controller - 2939""Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A""Intel(R) ICH9 Family USB Universal Host Controller - 2936"
ConfigManagerErrorCode&0&0&0&0&0&0&0&0
ConfigManagerUserConfigFalseFalseFalseFalseFalseFalseFalseFalse
CreationClassName"Win32_USBController""Win32_USBController""Win32_USBController""Win32_USBController""Win32_USBController""Win32_USBController""Win32_USBController""Win32_USBController"
Description"Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C""Intel(R) ICH9 Family USB Universal Host Controller - 2938""Intel(R) ICH9 Family USB Universal Host Controller - 2935""Intel(R) ICH9 Family USB Universal Host Controller - 2937""Intel(R) ICH9 Family USB Universal Host Controller - 2934""Intel(R) ICH9 Family USB Universal Host Controller - 2939""Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A""Intel(R) ICH9 Family USB Universal Host Controller - 2936"
ErrorClearedNullNullNullNullNullNullNullNull
ErrorDescriptionNullNullNullNullNullNullNullNull
InstallDateNullNullNullNullNullNullNullNull
LastErrorCodeNullNullNullNullNullNullNullNull
MaxNumberControlledNullNullNullNullNullNullNullNull
Name"Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C""Intel(R) ICH9 Family USB Universal Host Controller - 2938""Intel(R) ICH9 Family USB Universal Host Controller - 2935""Intel(R) ICH9 Family USB Universal Host Controller - 2937""Intel(R) ICH9 Family USB Universal Host Controller - 2934""Intel(R) ICH9 Family USB Universal Host Controller - 2939""Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A""Intel(R) ICH9 Family USB Universal Host Controller - 2936"
PNPDeviceID"PCI\VEN_8086&DEV_293C&SUBSYS_1605103C&REV_03\3&33FD14CA&0&D7""PCI\VEN_8086&DEV_2938&SUBSYS_1605103C&REV_03\3&33FD14CA&0&D1""PCI\VEN_8086&DEV_2935&SUBSYS_1605103C&REV_03\3&33FD14CA&0&E9""PCI\VEN_8086&DEV_2937&SUBSYS_1605103C&REV_03\3&33FD14CA&0&D0""PCI\VEN_8086&DEV_2934&SUBSYS_1605103C&REV_03\3&33FD14CA&0&E8""PCI\VEN_8086&DEV_2939&SUBSYS_1605103C&REV_03\3&33FD14CA&0&EB""PCI\VEN_8086&DEV_293A&SUBSYS_1605103C&REV_03\3&33FD14CA&0&EF""PCI\VEN_8086&DEV_2936&SUBSYS_1605103C&REV_03\3&33FD14CA&0&EA"
PowerManagementCapabilitiesNullNullNullNullNullNullNullNull
PowerManagementSupportedNullNullNullNullNullNullNullNull
ProtocolSupported&16&16&16&16&16&16&16&16
Status"OK""OK""OK""OK""OK""OK""OK""OK"
StatusInfoNullNullNullNullNullNullNullNull
SystemCreationClassName"Win32_ComputerSystem""Win32_ComputerSystem""Win32_ComputerSystem""Win32_ComputerSystem""Win32_ComputerSystem""Win32_ComputerSystem""Win32_ComputerSystem""Win32_ComputerSystem"
SystemName".""."".""."".""."".""."
TimeOfLastResetNullNullNullNullNullNullNullNull

CIM_USBController Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AbstractTrueNONOYESNOYES
Locale&1033YESNOYESNOYES
UUID"{FAF76B5B-798C-11D2-AAD1-006008C78BC7}"YESNOYESNOYES

CIM_USBController System properties

NameValueOriginCimTypeLocalArray
__PATH"\\.\ROOT\cimv2:CIM_USBController"___SYSTEM8FalseFalse
__NAMESPACE"ROOT\cimv2"___SYSTEM8FalseFalse
__SERVER"."___SYSTEM8FalseFalse
__DERIVATIONArray["CIM_Controller","CIM_LogicalDevice","CIM_LogicalElement","CIM_ManagedSystemElement"]___SYSTEM8FalseTrue
__PROPERTY_COUNT&23___SYSTEM3FalseFalse
__RELPATH"CIM_USBController"___SYSTEM8FalseFalse
__DYNASTY"CIM_ManagedSystemElement"___SYSTEM8FalseFalse
__SUPERCLASS"CIM_Controller"___SYSTEM8FalseFalse
__CLASS"CIM_USBController"___SYSTEM8FalseFalse
__GENUS&1___SYSTEM3FalseFalse
www.wutils.com/wmi/ - WMI reference for windows server. Quick VBScript and c# code samples.
online utility - toplist
WUtils.com