EnabledDefault - property in ROOT\virtualization\v2 namespace

EnabledDefault in other namespaces

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

propertyClassOrigin
EnabledDefaultCIM_EnabledLogicalElementCIM_EnabledLogicalElement

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

propertyClassOrigin
EnabledDefaultCIM_CDROMDriveCIM_EnabledLogicalElement
EnabledDefaultCIM_ComputerSystemCIM_EnabledLogicalElement
EnabledDefaultCIM_ControllerCIM_EnabledLogicalElement
EnabledDefaultCIM_DesktopMonitorCIM_EnabledLogicalElement
EnabledDefaultCIM_DiskDriveCIM_EnabledLogicalElement
EnabledDefaultCIM_DisketteDriveCIM_EnabledLogicalElement
EnabledDefaultCIM_DisplayCIM_EnabledLogicalElement
EnabledDefaultCIM_DisplayControllerCIM_EnabledLogicalElement
EnabledDefaultCIM_DVDDriveCIM_EnabledLogicalElement
EnabledDefaultCIM_EthernetPortCIM_EnabledLogicalElement
EnabledDefaultCIM_FCPortCIM_EnabledLogicalElement
EnabledDefaultCIM_ForwardingServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_IDEControllerCIM_EnabledLogicalElement
EnabledDefaultCIM_LANEndpointCIM_EnabledLogicalElement
EnabledDefaultCIM_LogicalDeviceCIM_EnabledLogicalElement
EnabledDefaultCIM_LogicalDiskCIM_EnabledLogicalElement
EnabledDefaultCIM_LogicalPortCIM_EnabledLogicalElement
EnabledDefaultCIM_MediaAccessDeviceCIM_EnabledLogicalElement
EnabledDefaultCIM_MemoryCIM_EnabledLogicalElement
EnabledDefaultCIM_MetricServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_NetworkPortCIM_EnabledLogicalElement
EnabledDefaultCIM_NetworkServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_PointingDeviceCIM_EnabledLogicalElement
EnabledDefaultCIM_ProcessorCIM_EnabledLogicalElement
EnabledDefaultCIM_ProtocolControllerCIM_EnabledLogicalElement
EnabledDefaultCIM_ProtocolEndpointCIM_EnabledLogicalElement
EnabledDefaultCIM_ResourcePoolConfigurationServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_SCSIProtocolControllerCIM_EnabledLogicalElement
EnabledDefaultCIM_SerialControllerCIM_EnabledLogicalElement
EnabledDefaultCIM_ServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_ServiceAccessPointCIM_EnabledLogicalElement
EnabledDefaultCIM_StorageExtentCIM_EnabledLogicalElement
EnabledDefaultCIM_SwitchPortCIM_EnabledLogicalElement
EnabledDefaultCIM_SwitchServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_SystemCIM_EnabledLogicalElement
EnabledDefaultCIM_TapeDriveCIM_EnabledLogicalElement
EnabledDefaultCIM_TransparentBridgingServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_USBDeviceCIM_EnabledLogicalElement
EnabledDefaultCIM_UserDeviceCIM_EnabledLogicalElement
EnabledDefaultCIM_VideoHeadCIM_EnabledLogicalElement
EnabledDefaultCIM_VirtualSystemManagementServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_VirtualSystemMigrationServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_VirtualSystemSnapshotServiceCIM_EnabledLogicalElement
EnabledDefaultCIM_VLANEndpointCIM_EnabledLogicalElement
EnabledDefaultCIM_WiFiEndpointCIM_EnabledLogicalElement
EnabledDefaultCIM_WiFiPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_ComputerSystemCIM_EnabledLogicalElement
EnabledDefaultMsvm_DiskDriveCIM_EnabledLogicalElement
EnabledDefaultMsvm_DisketteControllerCIM_EnabledLogicalElement
EnabledDefaultMsvm_DisketteDriveCIM_EnabledLogicalElement
EnabledDefaultMsvm_DVDDriveCIM_EnabledLogicalElement
EnabledDefaultMsvm_EmulatedEthernetPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_EthernetSwitchExtensionCIM_EnabledLogicalElement
EnabledDefaultMsvm_EthernetSwitchPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_ExternalEthernetPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_ExternalFcPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_FcEndpointCIM_EnabledLogicalElement
EnabledDefaultMsvm_FcSwitchPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_GuestFileServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_GuestServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_GuestServiceInterfaceComponentCIM_EnabledLogicalElement
EnabledDefaultMsvm_HeartbeatComponentCIM_EnabledLogicalElement
EnabledDefaultMsvm_IDEControllerCIM_EnabledLogicalElement
EnabledDefaultMsvm_ImageManagementServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_InternalEthernetPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_KeyboardCIM_EnabledLogicalElement
EnabledDefaultMsvm_KvpExchangeComponentCIM_EnabledLogicalElement
EnabledDefaultMsvm_LANEndpointCIM_EnabledLogicalElement
EnabledDefaultMsvm_LogicalDiskCIM_EnabledLogicalElement
EnabledDefaultMsvm_MemoryCIM_EnabledLogicalElement
EnabledDefaultMsvm_MetricServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_NumaNodeCIM_EnabledLogicalElement
EnabledDefaultMsvm_Physical3dGraphicsProcessorCIM_EnabledLogicalElement
EnabledDefaultMsvm_PlannedComputerSystemCIM_EnabledLogicalElement
EnabledDefaultMsvm_ProcessorCIM_EnabledLogicalElement
EnabledDefaultMsvm_Ps2MouseCIM_EnabledLogicalElement
EnabledDefaultMsvm_RdvComponentCIM_EnabledLogicalElement
EnabledDefaultMsvm_ReplicationServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_ResourcePoolConfigurationServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_S3DisplayControllerCIM_EnabledLogicalElement
EnabledDefaultMsvm_SCSIProtocolControllerCIM_EnabledLogicalElement
EnabledDefaultMsvm_SerialControllerCIM_EnabledLogicalElement
EnabledDefaultMsvm_SerialPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_ShutdownComponentCIM_EnabledLogicalElement
EnabledDefaultMsvm_Synthetic3DDisplayControllerCIM_EnabledLogicalElement
EnabledDefaultMsvm_Synthetic3DServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_SyntheticDisplayControllerCIM_EnabledLogicalElement
EnabledDefaultMsvm_SyntheticEthernetPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_SyntheticFcPortCIM_EnabledLogicalElement
EnabledDefaultMsvm_SyntheticMouseCIM_EnabledLogicalElement
EnabledDefaultMsvm_TerminalConnectionCIM_EnabledLogicalElement
EnabledDefaultMsvm_TerminalServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_TimeSyncComponentCIM_EnabledLogicalElement
EnabledDefaultMsvm_TransparentBridgingServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_VideoHeadCIM_EnabledLogicalElement
EnabledDefaultMsvm_VirtualEthernetSwitchCIM_EnabledLogicalElement
EnabledDefaultMsvm_VirtualEthernetSwitchManagementServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_VirtualFcSwitchCIM_EnabledLogicalElement
EnabledDefaultMsvm_VirtualSystemManagementServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_VirtualSystemMigrationServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_VirtualSystemSnapshotServiceCIM_EnabledLogicalElement
EnabledDefaultMsvm_VLANEndpointCIM_EnabledLogicalElement
EnabledDefaultMsvm_VssComponentCIM_EnabledLogicalElement
EnabledDefaultMsvm_WiFiEndpointCIM_EnabledLogicalElement
EnabledDefaultMsvm_WiFiPortCIM_EnabledLogicalElement

Code samples for EnabledDefault property

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

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

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