OtherEnabledState - property in ROOT\virtualization\v2 namespace

OtherEnabledState in other namespaces

List of classes with OtherEnabledState local property in ROOT\virtualization\v2 namespace

propertyClassOrigin
OtherEnabledStateCIM_EnabledLogicalElementCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SummaryInformationMsvm_SummaryInformation

List of classes with OtherEnabledState derived property in ROOT\virtualization\v2 namespace

propertyClassOrigin
OtherEnabledStateCIM_CDROMDriveCIM_EnabledLogicalElement
OtherEnabledStateCIM_ComputerSystemCIM_EnabledLogicalElement
OtherEnabledStateCIM_ControllerCIM_EnabledLogicalElement
OtherEnabledStateCIM_DesktopMonitorCIM_EnabledLogicalElement
OtherEnabledStateCIM_DiskDriveCIM_EnabledLogicalElement
OtherEnabledStateCIM_DisketteDriveCIM_EnabledLogicalElement
OtherEnabledStateCIM_DisplayCIM_EnabledLogicalElement
OtherEnabledStateCIM_DisplayControllerCIM_EnabledLogicalElement
OtherEnabledStateCIM_DVDDriveCIM_EnabledLogicalElement
OtherEnabledStateCIM_EthernetPortCIM_EnabledLogicalElement
OtherEnabledStateCIM_FCPortCIM_EnabledLogicalElement
OtherEnabledStateCIM_ForwardingServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_IDEControllerCIM_EnabledLogicalElement
OtherEnabledStateCIM_LANEndpointCIM_EnabledLogicalElement
OtherEnabledStateCIM_LogicalDeviceCIM_EnabledLogicalElement
OtherEnabledStateCIM_LogicalDiskCIM_EnabledLogicalElement
OtherEnabledStateCIM_LogicalPortCIM_EnabledLogicalElement
OtherEnabledStateCIM_MediaAccessDeviceCIM_EnabledLogicalElement
OtherEnabledStateCIM_MemoryCIM_EnabledLogicalElement
OtherEnabledStateCIM_MetricServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_NetworkPortCIM_EnabledLogicalElement
OtherEnabledStateCIM_NetworkServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_PointingDeviceCIM_EnabledLogicalElement
OtherEnabledStateCIM_ProcessorCIM_EnabledLogicalElement
OtherEnabledStateCIM_ProtocolControllerCIM_EnabledLogicalElement
OtherEnabledStateCIM_ProtocolEndpointCIM_EnabledLogicalElement
OtherEnabledStateCIM_ResourcePoolConfigurationServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_SCSIProtocolControllerCIM_EnabledLogicalElement
OtherEnabledStateCIM_SerialControllerCIM_EnabledLogicalElement
OtherEnabledStateCIM_ServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_ServiceAccessPointCIM_EnabledLogicalElement
OtherEnabledStateCIM_StorageExtentCIM_EnabledLogicalElement
OtherEnabledStateCIM_SwitchPortCIM_EnabledLogicalElement
OtherEnabledStateCIM_SwitchServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_SystemCIM_EnabledLogicalElement
OtherEnabledStateCIM_TapeDriveCIM_EnabledLogicalElement
OtherEnabledStateCIM_TransparentBridgingServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_USBDeviceCIM_EnabledLogicalElement
OtherEnabledStateCIM_UserDeviceCIM_EnabledLogicalElement
OtherEnabledStateCIM_VideoHeadCIM_EnabledLogicalElement
OtherEnabledStateCIM_VirtualSystemManagementServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_VirtualSystemMigrationServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_VirtualSystemSnapshotServiceCIM_EnabledLogicalElement
OtherEnabledStateCIM_VLANEndpointCIM_EnabledLogicalElement
OtherEnabledStateCIM_WiFiEndpointCIM_EnabledLogicalElement
OtherEnabledStateCIM_WiFiPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ComputerSystemCIM_EnabledLogicalElement
OtherEnabledStateMsvm_DiskDriveCIM_EnabledLogicalElement
OtherEnabledStateMsvm_DisketteControllerCIM_EnabledLogicalElement
OtherEnabledStateMsvm_DisketteDriveCIM_EnabledLogicalElement
OtherEnabledStateMsvm_DVDDriveCIM_EnabledLogicalElement
OtherEnabledStateMsvm_EmulatedEthernetPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_EthernetSwitchExtensionCIM_EnabledLogicalElement
OtherEnabledStateMsvm_EthernetSwitchPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ExternalEthernetPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ExternalFcPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_FcEndpointCIM_EnabledLogicalElement
OtherEnabledStateMsvm_FcSwitchPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_GuestFileServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_GuestServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_GuestServiceInterfaceComponentCIM_EnabledLogicalElement
OtherEnabledStateMsvm_HeartbeatComponentCIM_EnabledLogicalElement
OtherEnabledStateMsvm_IDEControllerCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ImageManagementServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_InternalEthernetPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_KeyboardCIM_EnabledLogicalElement
OtherEnabledStateMsvm_KvpExchangeComponentCIM_EnabledLogicalElement
OtherEnabledStateMsvm_LANEndpointCIM_EnabledLogicalElement
OtherEnabledStateMsvm_LogicalDiskCIM_EnabledLogicalElement
OtherEnabledStateMsvm_MemoryCIM_EnabledLogicalElement
OtherEnabledStateMsvm_MetricServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_NumaNodeCIM_EnabledLogicalElement
OtherEnabledStateMsvm_Physical3dGraphicsProcessorCIM_EnabledLogicalElement
OtherEnabledStateMsvm_PlannedComputerSystemCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ProcessorCIM_EnabledLogicalElement
OtherEnabledStateMsvm_Ps2MouseCIM_EnabledLogicalElement
OtherEnabledStateMsvm_RdvComponentCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ReplicationServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ResourcePoolConfigurationServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_S3DisplayControllerCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SCSIProtocolControllerCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SerialControllerCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SerialPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_ShutdownComponentCIM_EnabledLogicalElement
OtherEnabledStateMsvm_Synthetic3DDisplayControllerCIM_EnabledLogicalElement
OtherEnabledStateMsvm_Synthetic3DServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SyntheticDisplayControllerCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SyntheticEthernetPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SyntheticFcPortCIM_EnabledLogicalElement
OtherEnabledStateMsvm_SyntheticMouseCIM_EnabledLogicalElement
OtherEnabledStateMsvm_TerminalConnectionCIM_EnabledLogicalElement
OtherEnabledStateMsvm_TerminalServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_TimeSyncComponentCIM_EnabledLogicalElement
OtherEnabledStateMsvm_TransparentBridgingServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VideoHeadCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VirtualEthernetSwitchCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VirtualEthernetSwitchManagementServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VirtualFcSwitchCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VirtualSystemManagementServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VirtualSystemMigrationServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VirtualSystemSnapshotServiceCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VLANEndpointCIM_EnabledLogicalElement
OtherEnabledStateMsvm_VssComponentCIM_EnabledLogicalElement
OtherEnabledStateMsvm_WiFiEndpointCIM_EnabledLogicalElement
OtherEnabledStateMsvm_WiFiPortCIM_EnabledLogicalElement

Code samples for OtherEnabledState property

Get instance of WMI class using GetObject, OtherEnabledState property of Msvm_Processor

Short VBS code - get a single specified instance of Msvm_Processor 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\virtualization\v2:" + _
 "Msvm_Processor.CreationClassName=""Msvm_Processor"",DeviceID=""Microsoft:B637F347-6A0E-4DEC-AF52-BD70CB80A21D\\0\\0"",SystemCreationClassName=""Msvm_ComputerSystem"",SystemName="".""")
Wscript.Echo wmiObject.OtherEnabledState 'or other property name, see properties
See more VBS samples of Msvm_Processor class

WMI query - sample windows WQL with C#, OtherEnabledState property of Msvm_Processor

Get a specified instance of Msvm_Processor 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\\virtualization\\v2");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM Msvm_Processor Where CreationClassName=\"Msvm_Processor\"DeviceID=\"Microsoft:B637F347-6A0E-4DEC-AF52-BD70CB80A21D\\\\0\\\\0\"SystemCreationClassName=\"Msvm_ComputerSystem\"SystemName=\"W2012SDC\"");

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

WMI query - sample windows WQL with VB.Net, OtherEnabledState property of Msvm_Processor

Get a specified instance of Msvm_Processor 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\virtualization\v2")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM Msvm_Processor Where CreationClassName="Msvm_Processor"DeviceID="Microsoft:B637F347-6A0E-4DEC-AF52-BD70CB80A21D\\0\\0"SystemCreationClassName="Msvm_ComputerSystem"SystemName="W2012SDC"")

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