StatusInfo - property in ROOT\virtualization\v2 namespace

StatusInfo in other namespaces

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

propertyClassOrigin
StatusInfoCIM_LogicalDeviceCIM_LogicalDevice

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

propertyClassOrigin
StatusInfoCIM_CDROMDriveCIM_LogicalDevice
StatusInfoCIM_ControllerCIM_LogicalDevice
StatusInfoCIM_DesktopMonitorCIM_LogicalDevice
StatusInfoCIM_DiskDriveCIM_LogicalDevice
StatusInfoCIM_DisketteDriveCIM_LogicalDevice
StatusInfoCIM_DisplayCIM_LogicalDevice
StatusInfoCIM_DisplayControllerCIM_LogicalDevice
StatusInfoCIM_DVDDriveCIM_LogicalDevice
StatusInfoCIM_EthernetPortCIM_LogicalDevice
StatusInfoCIM_FCPortCIM_LogicalDevice
StatusInfoCIM_IDEControllerCIM_LogicalDevice
StatusInfoCIM_LogicalDiskCIM_LogicalDevice
StatusInfoCIM_LogicalPortCIM_LogicalDevice
StatusInfoCIM_MediaAccessDeviceCIM_LogicalDevice
StatusInfoCIM_MemoryCIM_LogicalDevice
StatusInfoCIM_NetworkPortCIM_LogicalDevice
StatusInfoCIM_PointingDeviceCIM_LogicalDevice
StatusInfoCIM_ProcessorCIM_LogicalDevice
StatusInfoCIM_ProtocolControllerCIM_LogicalDevice
StatusInfoCIM_SCSIProtocolControllerCIM_LogicalDevice
StatusInfoCIM_SerialControllerCIM_LogicalDevice
StatusInfoCIM_StorageExtentCIM_LogicalDevice
StatusInfoCIM_TapeDriveCIM_LogicalDevice
StatusInfoCIM_USBDeviceCIM_LogicalDevice
StatusInfoCIM_UserDeviceCIM_LogicalDevice
StatusInfoCIM_VideoHeadCIM_LogicalDevice
StatusInfoCIM_WiFiPortCIM_LogicalDevice
StatusInfoMsvm_DiskDriveCIM_LogicalDevice
StatusInfoMsvm_DisketteControllerCIM_LogicalDevice
StatusInfoMsvm_DisketteDriveCIM_LogicalDevice
StatusInfoMsvm_DVDDriveCIM_LogicalDevice
StatusInfoMsvm_EmulatedEthernetPortCIM_LogicalDevice
StatusInfoMsvm_EthernetSwitchPortCIM_LogicalDevice
StatusInfoMsvm_ExternalEthernetPortCIM_LogicalDevice
StatusInfoMsvm_ExternalFcPortCIM_LogicalDevice
StatusInfoMsvm_FcSwitchPortCIM_LogicalDevice
StatusInfoMsvm_GuestServiceInterfaceComponentCIM_LogicalDevice
StatusInfoMsvm_HeartbeatComponentCIM_LogicalDevice
StatusInfoMsvm_IDEControllerCIM_LogicalDevice
StatusInfoMsvm_InternalEthernetPortCIM_LogicalDevice
StatusInfoMsvm_KeyboardCIM_LogicalDevice
StatusInfoMsvm_KvpExchangeComponentCIM_LogicalDevice
StatusInfoMsvm_LogicalDiskCIM_LogicalDevice
StatusInfoMsvm_MemoryCIM_LogicalDevice
StatusInfoMsvm_Physical3dGraphicsProcessorCIM_LogicalDevice
StatusInfoMsvm_ProcessorCIM_LogicalDevice
StatusInfoMsvm_Ps2MouseCIM_LogicalDevice
StatusInfoMsvm_RdvComponentCIM_LogicalDevice
StatusInfoMsvm_S3DisplayControllerCIM_LogicalDevice
StatusInfoMsvm_SCSIProtocolControllerCIM_LogicalDevice
StatusInfoMsvm_SerialControllerCIM_LogicalDevice
StatusInfoMsvm_SerialPortCIM_LogicalDevice
StatusInfoMsvm_ShutdownComponentCIM_LogicalDevice
StatusInfoMsvm_Synthetic3DDisplayControllerCIM_LogicalDevice
StatusInfoMsvm_SyntheticDisplayControllerCIM_LogicalDevice
StatusInfoMsvm_SyntheticEthernetPortCIM_LogicalDevice
StatusInfoMsvm_SyntheticFcPortCIM_LogicalDevice
StatusInfoMsvm_SyntheticMouseCIM_LogicalDevice
StatusInfoMsvm_TimeSyncComponentCIM_LogicalDevice
StatusInfoMsvm_VideoHeadCIM_LogicalDevice
StatusInfoMsvm_VssComponentCIM_LogicalDevice
StatusInfoMsvm_WiFiPortCIM_LogicalDevice

Code samples for StatusInfo property

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

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

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