Status - property in ROOT\virtualization\v2 namespace

Status in other namespaces

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

propertyClassOrigin
StatusCIM_ManagedSystemElementCIM_ManagedSystemElement

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

propertyClassOrigin
StatusCIM_BIOSElementCIM_ManagedSystemElement
StatusCIM_CDROMDriveCIM_ManagedSystemElement
StatusCIM_ComputerSystemCIM_ManagedSystemElement
StatusCIM_ConcreteJobCIM_ManagedSystemElement
StatusCIM_ControllerCIM_ManagedSystemElement
StatusCIM_DesktopMonitorCIM_ManagedSystemElement
StatusCIM_DiskDriveCIM_ManagedSystemElement
StatusCIM_DisketteDriveCIM_ManagedSystemElement
StatusCIM_DisplayCIM_ManagedSystemElement
StatusCIM_DisplayControllerCIM_ManagedSystemElement
StatusCIM_DVDDriveCIM_ManagedSystemElement
StatusCIM_DynamicForwardingEntryCIM_ManagedSystemElement
StatusCIM_EnabledLogicalElementCIM_ManagedSystemElement
StatusCIM_EthernetPortCIM_ManagedSystemElement
StatusCIM_FCPortCIM_ManagedSystemElement
StatusCIM_ForwardingServiceCIM_ManagedSystemElement
StatusCIM_IDEControllerCIM_ManagedSystemElement
StatusCIM_JobCIM_ManagedSystemElement
StatusCIM_LANEndpointCIM_ManagedSystemElement
StatusCIM_LogicalDeviceCIM_ManagedSystemElement
StatusCIM_LogicalDiskCIM_ManagedSystemElement
StatusCIM_LogicalElementCIM_ManagedSystemElement
StatusCIM_LogicalPortCIM_ManagedSystemElement
StatusCIM_MediaAccessDeviceCIM_ManagedSystemElement
StatusCIM_MemoryCIM_ManagedSystemElement
StatusCIM_MetricServiceCIM_ManagedSystemElement
StatusCIM_NetworkPortCIM_ManagedSystemElement
StatusCIM_NetworkServiceCIM_ManagedSystemElement
StatusCIM_PointingDeviceCIM_ManagedSystemElement
StatusCIM_ProcessorCIM_ManagedSystemElement
StatusCIM_ProtocolControllerCIM_ManagedSystemElement
StatusCIM_ProtocolEndpointCIM_ManagedSystemElement
StatusCIM_ResourcePoolCIM_ManagedSystemElement
StatusCIM_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
StatusCIM_SCSIProtocolControllerCIM_ManagedSystemElement
StatusCIM_SerialControllerCIM_ManagedSystemElement
StatusCIM_ServiceCIM_ManagedSystemElement
StatusCIM_ServiceAccessPointCIM_ManagedSystemElement
StatusCIM_SoftwareElementCIM_ManagedSystemElement
StatusCIM_StorageExtentCIM_ManagedSystemElement
StatusCIM_SwitchPortCIM_ManagedSystemElement
StatusCIM_SwitchServiceCIM_ManagedSystemElement
StatusCIM_SystemCIM_ManagedSystemElement
StatusCIM_TapeDriveCIM_ManagedSystemElement
StatusCIM_TransparentBridgingServiceCIM_ManagedSystemElement
StatusCIM_USBDeviceCIM_ManagedSystemElement
StatusCIM_UserDeviceCIM_ManagedSystemElement
StatusCIM_VideoHeadCIM_ManagedSystemElement
StatusCIM_VirtualSystemManagementServiceCIM_ManagedSystemElement
StatusCIM_VirtualSystemMigrationServiceCIM_ManagedSystemElement
StatusCIM_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
StatusCIM_VLANEndpointCIM_ManagedSystemElement
StatusCIM_WiFiEndpointCIM_ManagedSystemElement
StatusCIM_WiFiPortCIM_ManagedSystemElement
StatusMsvm_BIOSElementCIM_ManagedSystemElement
StatusMsvm_ComputerSystemCIM_ManagedSystemElement
StatusMsvm_ConcreteJobCIM_ManagedSystemElement
StatusMsvm_CopyFileToGuestJobCIM_ManagedSystemElement
StatusMsvm_DiskDriveCIM_ManagedSystemElement
StatusMsvm_DisketteControllerCIM_ManagedSystemElement
StatusMsvm_DisketteDriveCIM_ManagedSystemElement
StatusMsvm_DVDDriveCIM_ManagedSystemElement
StatusMsvm_DynamicForwardingEntryCIM_ManagedSystemElement
StatusMsvm_EmulatedEthernetPortCIM_ManagedSystemElement
StatusMsvm_EthernetSwitchExtensionCIM_ManagedSystemElement
StatusMsvm_EthernetSwitchPortCIM_ManagedSystemElement
StatusMsvm_ExternalEthernetPortCIM_ManagedSystemElement
StatusMsvm_ExternalFcPortCIM_ManagedSystemElement
StatusMsvm_FcEndpointCIM_ManagedSystemElement
StatusMsvm_FcSwitchPortCIM_ManagedSystemElement
StatusMsvm_GuestFileServiceCIM_ManagedSystemElement
StatusMsvm_GuestServiceCIM_ManagedSystemElement
StatusMsvm_GuestServiceInterfaceComponentCIM_ManagedSystemElement
StatusMsvm_HeartbeatComponentCIM_ManagedSystemElement
StatusMsvm_IDEControllerCIM_ManagedSystemElement
StatusMsvm_ImageManagementServiceCIM_ManagedSystemElement
StatusMsvm_InstalledEthernetSwitchExtensionCIM_ManagedSystemElement
StatusMsvm_InternalEthernetPortCIM_ManagedSystemElement
StatusMsvm_KeyboardCIM_ManagedSystemElement
StatusMsvm_KvpExchangeComponentCIM_ManagedSystemElement
StatusMsvm_LANEndpointCIM_ManagedSystemElement
StatusMsvm_LogicalDiskCIM_ManagedSystemElement
StatusMsvm_MemoryCIM_ManagedSystemElement
StatusMsvm_MetricServiceCIM_ManagedSystemElement
StatusMsvm_MigrationJobCIM_ManagedSystemElement
StatusMsvm_MountedStorageImageCIM_ManagedSystemElement
StatusMsvm_NumaNodeCIM_ManagedSystemElement
StatusMsvm_Physical3dGraphicsProcessorCIM_ManagedSystemElement
StatusMsvm_PlannedComputerSystemCIM_ManagedSystemElement
StatusMsvm_ProcessorCIM_ManagedSystemElement
StatusMsvm_ProcessorPoolCIM_ManagedSystemElement
StatusMsvm_Ps2MouseCIM_ManagedSystemElement
StatusMsvm_RdvComponentCIM_ManagedSystemElement
StatusMsvm_ReplicationProviderCIM_ManagedSystemElement
StatusMsvm_ReplicationRelationshipCIM_ManagedSystemElement
StatusMsvm_ReplicationServiceCIM_ManagedSystemElement
StatusMsvm_ResourcePoolCIM_ManagedSystemElement
StatusMsvm_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
StatusMsvm_S3DisplayControllerCIM_ManagedSystemElement
StatusMsvm_SCSIProtocolControllerCIM_ManagedSystemElement
StatusMsvm_SerialControllerCIM_ManagedSystemElement
StatusMsvm_SerialPortCIM_ManagedSystemElement
StatusMsvm_ShutdownComponentCIM_ManagedSystemElement
StatusMsvm_StorageJobCIM_ManagedSystemElement
StatusMsvm_Synth3dVideoPoolCIM_ManagedSystemElement
StatusMsvm_Synthetic3DDisplayControllerCIM_ManagedSystemElement
StatusMsvm_Synthetic3DServiceCIM_ManagedSystemElement
StatusMsvm_SyntheticDisplayControllerCIM_ManagedSystemElement
StatusMsvm_SyntheticEthernetPortCIM_ManagedSystemElement
StatusMsvm_SyntheticFcPortCIM_ManagedSystemElement
StatusMsvm_SyntheticMouseCIM_ManagedSystemElement
StatusMsvm_TerminalConnectionCIM_ManagedSystemElement
StatusMsvm_TerminalServiceCIM_ManagedSystemElement
StatusMsvm_TimeSyncComponentCIM_ManagedSystemElement
StatusMsvm_TransparentBridgingServiceCIM_ManagedSystemElement
StatusMsvm_VideoHeadCIM_ManagedSystemElement
StatusMsvm_VirtualEthernetSwitchCIM_ManagedSystemElement
StatusMsvm_VirtualEthernetSwitchManagementServiceCIM_ManagedSystemElement
StatusMsvm_VirtualFcSwitchCIM_ManagedSystemElement
StatusMsvm_VirtualSystemManagementServiceCIM_ManagedSystemElement
StatusMsvm_VirtualSystemMigrationServiceCIM_ManagedSystemElement
StatusMsvm_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
StatusMsvm_VLANEndpointCIM_ManagedSystemElement
StatusMsvm_VssComponentCIM_ManagedSystemElement
StatusMsvm_WiFiEndpointCIM_ManagedSystemElement
StatusMsvm_WiFiPortCIM_ManagedSystemElement

Code samples for Status property

Get instance of WMI class using GetObject, Status property of Msvm_ResourcePool

Short VBS code - get a single specified instance of Msvm_ResourcePool 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_ResourcePool.InstanceID=""Microsoft:118C3BE5-0D31-4804-85F0-5C6074ABEA8F""")
Wscript.Echo wmiObject.Status 'or other property name, see properties
See more VBS samples of Msvm_ResourcePool class

WMI query - sample windows WQL with C#, Status property of Msvm_ResourcePool

Get a specified instance of Msvm_ResourcePool 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_ResourcePool Where InstanceID=\"Microsoft:118C3BE5-0D31-4804-85F0-5C6074ABEA8F\"");

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

WMI query - sample windows WQL with VB.Net, Status property of Msvm_ResourcePool

Get a specified instance of Msvm_ResourcePool 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_ResourcePool Where InstanceID="Microsoft:118C3BE5-0D31-4804-85F0-5C6074ABEA8F"")

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