OperationalStatus - property in ROOT\virtualization\v2 namespace

OperationalStatus in other namespaces

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

propertyClassOrigin
OperationalStatusCIM_ManagedSystemElementCIM_ManagedSystemElement
OperationalStatusMsvm_SummaryInformationMsvm_SummaryInformation

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

propertyClassOrigin
OperationalStatusCIM_BIOSElementCIM_ManagedSystemElement
OperationalStatusCIM_CDROMDriveCIM_ManagedSystemElement
OperationalStatusCIM_ComputerSystemCIM_ManagedSystemElement
OperationalStatusCIM_ConcreteJobCIM_ManagedSystemElement
OperationalStatusCIM_ControllerCIM_ManagedSystemElement
OperationalStatusCIM_DesktopMonitorCIM_ManagedSystemElement
OperationalStatusCIM_DiskDriveCIM_ManagedSystemElement
OperationalStatusCIM_DisketteDriveCIM_ManagedSystemElement
OperationalStatusCIM_DisplayCIM_ManagedSystemElement
OperationalStatusCIM_DisplayControllerCIM_ManagedSystemElement
OperationalStatusCIM_DVDDriveCIM_ManagedSystemElement
OperationalStatusCIM_DynamicForwardingEntryCIM_ManagedSystemElement
OperationalStatusCIM_EnabledLogicalElementCIM_ManagedSystemElement
OperationalStatusCIM_EthernetPortCIM_ManagedSystemElement
OperationalStatusCIM_FCPortCIM_ManagedSystemElement
OperationalStatusCIM_ForwardingServiceCIM_ManagedSystemElement
OperationalStatusCIM_IDEControllerCIM_ManagedSystemElement
OperationalStatusCIM_JobCIM_ManagedSystemElement
OperationalStatusCIM_LANEndpointCIM_ManagedSystemElement
OperationalStatusCIM_LogicalDeviceCIM_ManagedSystemElement
OperationalStatusCIM_LogicalDiskCIM_ManagedSystemElement
OperationalStatusCIM_LogicalElementCIM_ManagedSystemElement
OperationalStatusCIM_LogicalPortCIM_ManagedSystemElement
OperationalStatusCIM_MediaAccessDeviceCIM_ManagedSystemElement
OperationalStatusCIM_MemoryCIM_ManagedSystemElement
OperationalStatusCIM_MetricServiceCIM_ManagedSystemElement
OperationalStatusCIM_NetworkPortCIM_ManagedSystemElement
OperationalStatusCIM_NetworkServiceCIM_ManagedSystemElement
OperationalStatusCIM_PointingDeviceCIM_ManagedSystemElement
OperationalStatusCIM_ProcessorCIM_ManagedSystemElement
OperationalStatusCIM_ProtocolControllerCIM_ManagedSystemElement
OperationalStatusCIM_ProtocolEndpointCIM_ManagedSystemElement
OperationalStatusCIM_ResourcePoolCIM_ManagedSystemElement
OperationalStatusCIM_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
OperationalStatusCIM_SCSIProtocolControllerCIM_ManagedSystemElement
OperationalStatusCIM_SerialControllerCIM_ManagedSystemElement
OperationalStatusCIM_ServiceCIM_ManagedSystemElement
OperationalStatusCIM_ServiceAccessPointCIM_ManagedSystemElement
OperationalStatusCIM_SoftwareElementCIM_ManagedSystemElement
OperationalStatusCIM_StorageExtentCIM_ManagedSystemElement
OperationalStatusCIM_SwitchPortCIM_ManagedSystemElement
OperationalStatusCIM_SwitchServiceCIM_ManagedSystemElement
OperationalStatusCIM_SystemCIM_ManagedSystemElement
OperationalStatusCIM_TapeDriveCIM_ManagedSystemElement
OperationalStatusCIM_TransparentBridgingServiceCIM_ManagedSystemElement
OperationalStatusCIM_USBDeviceCIM_ManagedSystemElement
OperationalStatusCIM_UserDeviceCIM_ManagedSystemElement
OperationalStatusCIM_VideoHeadCIM_ManagedSystemElement
OperationalStatusCIM_VirtualSystemManagementServiceCIM_ManagedSystemElement
OperationalStatusCIM_VirtualSystemMigrationServiceCIM_ManagedSystemElement
OperationalStatusCIM_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
OperationalStatusCIM_VLANEndpointCIM_ManagedSystemElement
OperationalStatusCIM_WiFiEndpointCIM_ManagedSystemElement
OperationalStatusCIM_WiFiPortCIM_ManagedSystemElement
OperationalStatusMsvm_BIOSElementCIM_ManagedSystemElement
OperationalStatusMsvm_ComputerSystemCIM_ManagedSystemElement
OperationalStatusMsvm_ConcreteJobCIM_ManagedSystemElement
OperationalStatusMsvm_CopyFileToGuestJobCIM_ManagedSystemElement
OperationalStatusMsvm_DiskDriveCIM_ManagedSystemElement
OperationalStatusMsvm_DisketteControllerCIM_ManagedSystemElement
OperationalStatusMsvm_DisketteDriveCIM_ManagedSystemElement
OperationalStatusMsvm_DVDDriveCIM_ManagedSystemElement
OperationalStatusMsvm_DynamicForwardingEntryCIM_ManagedSystemElement
OperationalStatusMsvm_EmulatedEthernetPortCIM_ManagedSystemElement
OperationalStatusMsvm_EthernetSwitchExtensionCIM_ManagedSystemElement
OperationalStatusMsvm_EthernetSwitchPortCIM_ManagedSystemElement
OperationalStatusMsvm_ExternalEthernetPortCIM_ManagedSystemElement
OperationalStatusMsvm_ExternalFcPortCIM_ManagedSystemElement
OperationalStatusMsvm_FcEndpointCIM_ManagedSystemElement
OperationalStatusMsvm_FcSwitchPortCIM_ManagedSystemElement
OperationalStatusMsvm_GuestFileServiceCIM_ManagedSystemElement
OperationalStatusMsvm_GuestServiceCIM_ManagedSystemElement
OperationalStatusMsvm_GuestServiceInterfaceComponentCIM_ManagedSystemElement
OperationalStatusMsvm_HeartbeatComponentCIM_ManagedSystemElement
OperationalStatusMsvm_IDEControllerCIM_ManagedSystemElement
OperationalStatusMsvm_ImageManagementServiceCIM_ManagedSystemElement
OperationalStatusMsvm_InstalledEthernetSwitchExtensionCIM_ManagedSystemElement
OperationalStatusMsvm_InternalEthernetPortCIM_ManagedSystemElement
OperationalStatusMsvm_KeyboardCIM_ManagedSystemElement
OperationalStatusMsvm_KvpExchangeComponentCIM_ManagedSystemElement
OperationalStatusMsvm_LANEndpointCIM_ManagedSystemElement
OperationalStatusMsvm_LogicalDiskCIM_ManagedSystemElement
OperationalStatusMsvm_MemoryCIM_ManagedSystemElement
OperationalStatusMsvm_MetricServiceCIM_ManagedSystemElement
OperationalStatusMsvm_MigrationJobCIM_ManagedSystemElement
OperationalStatusMsvm_MountedStorageImageCIM_ManagedSystemElement
OperationalStatusMsvm_NumaNodeCIM_ManagedSystemElement
OperationalStatusMsvm_Physical3dGraphicsProcessorCIM_ManagedSystemElement
OperationalStatusMsvm_PlannedComputerSystemCIM_ManagedSystemElement
OperationalStatusMsvm_ProcessorCIM_ManagedSystemElement
OperationalStatusMsvm_ProcessorPoolCIM_ManagedSystemElement
OperationalStatusMsvm_Ps2MouseCIM_ManagedSystemElement
OperationalStatusMsvm_RdvComponentCIM_ManagedSystemElement
OperationalStatusMsvm_ReplicationProviderCIM_ManagedSystemElement
OperationalStatusMsvm_ReplicationRelationshipCIM_ManagedSystemElement
OperationalStatusMsvm_ReplicationServiceCIM_ManagedSystemElement
OperationalStatusMsvm_ResourcePoolCIM_ManagedSystemElement
OperationalStatusMsvm_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
OperationalStatusMsvm_S3DisplayControllerCIM_ManagedSystemElement
OperationalStatusMsvm_SCSIProtocolControllerCIM_ManagedSystemElement
OperationalStatusMsvm_SerialControllerCIM_ManagedSystemElement
OperationalStatusMsvm_SerialPortCIM_ManagedSystemElement
OperationalStatusMsvm_ShutdownComponentCIM_ManagedSystemElement
OperationalStatusMsvm_StorageJobCIM_ManagedSystemElement
OperationalStatusMsvm_Synth3dVideoPoolCIM_ManagedSystemElement
OperationalStatusMsvm_Synthetic3DDisplayControllerCIM_ManagedSystemElement
OperationalStatusMsvm_Synthetic3DServiceCIM_ManagedSystemElement
OperationalStatusMsvm_SyntheticDisplayControllerCIM_ManagedSystemElement
OperationalStatusMsvm_SyntheticEthernetPortCIM_ManagedSystemElement
OperationalStatusMsvm_SyntheticFcPortCIM_ManagedSystemElement
OperationalStatusMsvm_SyntheticMouseCIM_ManagedSystemElement
OperationalStatusMsvm_TerminalConnectionCIM_ManagedSystemElement
OperationalStatusMsvm_TerminalServiceCIM_ManagedSystemElement
OperationalStatusMsvm_TimeSyncComponentCIM_ManagedSystemElement
OperationalStatusMsvm_TransparentBridgingServiceCIM_ManagedSystemElement
OperationalStatusMsvm_VideoHeadCIM_ManagedSystemElement
OperationalStatusMsvm_VirtualEthernetSwitchCIM_ManagedSystemElement
OperationalStatusMsvm_VirtualEthernetSwitchManagementServiceCIM_ManagedSystemElement
OperationalStatusMsvm_VirtualFcSwitchCIM_ManagedSystemElement
OperationalStatusMsvm_VirtualSystemManagementServiceCIM_ManagedSystemElement
OperationalStatusMsvm_VirtualSystemMigrationServiceCIM_ManagedSystemElement
OperationalStatusMsvm_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
OperationalStatusMsvm_VLANEndpointCIM_ManagedSystemElement
OperationalStatusMsvm_VssComponentCIM_ManagedSystemElement
OperationalStatusMsvm_WiFiEndpointCIM_ManagedSystemElement
OperationalStatusMsvm_WiFiPortCIM_ManagedSystemElement

Code samples for OperationalStatus property

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

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

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