PowerManagementSupported - property in ROOT\virtualization\v2 namespace

PowerManagementSupported in other namespaces

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

propertyClassOrigin
PowerManagementSupportedCIM_LogicalDeviceCIM_LogicalDevice

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

propertyClassOrigin
PowerManagementSupportedCIM_CDROMDriveCIM_LogicalDevice
PowerManagementSupportedCIM_ControllerCIM_LogicalDevice
PowerManagementSupportedCIM_DesktopMonitorCIM_LogicalDevice
PowerManagementSupportedCIM_DiskDriveCIM_LogicalDevice
PowerManagementSupportedCIM_DisketteDriveCIM_LogicalDevice
PowerManagementSupportedCIM_DisplayCIM_LogicalDevice
PowerManagementSupportedCIM_DisplayControllerCIM_LogicalDevice
PowerManagementSupportedCIM_DVDDriveCIM_LogicalDevice
PowerManagementSupportedCIM_EthernetPortCIM_LogicalDevice
PowerManagementSupportedCIM_FCPortCIM_LogicalDevice
PowerManagementSupportedCIM_IDEControllerCIM_LogicalDevice
PowerManagementSupportedCIM_LogicalDiskCIM_LogicalDevice
PowerManagementSupportedCIM_LogicalPortCIM_LogicalDevice
PowerManagementSupportedCIM_MediaAccessDeviceCIM_LogicalDevice
PowerManagementSupportedCIM_MemoryCIM_LogicalDevice
PowerManagementSupportedCIM_NetworkPortCIM_LogicalDevice
PowerManagementSupportedCIM_PointingDeviceCIM_LogicalDevice
PowerManagementSupportedCIM_ProcessorCIM_LogicalDevice
PowerManagementSupportedCIM_ProtocolControllerCIM_LogicalDevice
PowerManagementSupportedCIM_SCSIProtocolControllerCIM_LogicalDevice
PowerManagementSupportedCIM_SerialControllerCIM_LogicalDevice
PowerManagementSupportedCIM_StorageExtentCIM_LogicalDevice
PowerManagementSupportedCIM_TapeDriveCIM_LogicalDevice
PowerManagementSupportedCIM_USBDeviceCIM_LogicalDevice
PowerManagementSupportedCIM_UserDeviceCIM_LogicalDevice
PowerManagementSupportedCIM_VideoHeadCIM_LogicalDevice
PowerManagementSupportedCIM_WiFiPortCIM_LogicalDevice
PowerManagementSupportedMsvm_DiskDriveCIM_LogicalDevice
PowerManagementSupportedMsvm_DisketteControllerCIM_LogicalDevice
PowerManagementSupportedMsvm_DisketteDriveCIM_LogicalDevice
PowerManagementSupportedMsvm_DVDDriveCIM_LogicalDevice
PowerManagementSupportedMsvm_EmulatedEthernetPortCIM_LogicalDevice
PowerManagementSupportedMsvm_EthernetSwitchPortCIM_LogicalDevice
PowerManagementSupportedMsvm_ExternalEthernetPortCIM_LogicalDevice
PowerManagementSupportedMsvm_ExternalFcPortCIM_LogicalDevice
PowerManagementSupportedMsvm_FcSwitchPortCIM_LogicalDevice
PowerManagementSupportedMsvm_GuestServiceInterfaceComponentCIM_LogicalDevice
PowerManagementSupportedMsvm_HeartbeatComponentCIM_LogicalDevice
PowerManagementSupportedMsvm_IDEControllerCIM_LogicalDevice
PowerManagementSupportedMsvm_InternalEthernetPortCIM_LogicalDevice
PowerManagementSupportedMsvm_KeyboardCIM_LogicalDevice
PowerManagementSupportedMsvm_KvpExchangeComponentCIM_LogicalDevice
PowerManagementSupportedMsvm_LogicalDiskCIM_LogicalDevice
PowerManagementSupportedMsvm_MemoryCIM_LogicalDevice
PowerManagementSupportedMsvm_Physical3dGraphicsProcessorCIM_LogicalDevice
PowerManagementSupportedMsvm_ProcessorCIM_LogicalDevice
PowerManagementSupportedMsvm_Ps2MouseCIM_LogicalDevice
PowerManagementSupportedMsvm_RdvComponentCIM_LogicalDevice
PowerManagementSupportedMsvm_S3DisplayControllerCIM_LogicalDevice
PowerManagementSupportedMsvm_SCSIProtocolControllerCIM_LogicalDevice
PowerManagementSupportedMsvm_SerialControllerCIM_LogicalDevice
PowerManagementSupportedMsvm_SerialPortCIM_LogicalDevice
PowerManagementSupportedMsvm_ShutdownComponentCIM_LogicalDevice
PowerManagementSupportedMsvm_Synthetic3DDisplayControllerCIM_LogicalDevice
PowerManagementSupportedMsvm_SyntheticDisplayControllerCIM_LogicalDevice
PowerManagementSupportedMsvm_SyntheticEthernetPortCIM_LogicalDevice
PowerManagementSupportedMsvm_SyntheticFcPortCIM_LogicalDevice
PowerManagementSupportedMsvm_SyntheticMouseCIM_LogicalDevice
PowerManagementSupportedMsvm_TimeSyncComponentCIM_LogicalDevice
PowerManagementSupportedMsvm_VideoHeadCIM_LogicalDevice
PowerManagementSupportedMsvm_VssComponentCIM_LogicalDevice
PowerManagementSupportedMsvm_WiFiPortCIM_LogicalDevice

Code samples for PowerManagementSupported property

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

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

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