CommunicationStatus - property in ROOT\virtualization\v2 namespace

CommunicationStatus in other namespaces

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

propertyClassOrigin
CommunicationStatusCIM_ManagedSystemElementCIM_ManagedSystemElement

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

propertyClassOrigin
CommunicationStatusCIM_BIOSElementCIM_ManagedSystemElement
CommunicationStatusCIM_CDROMDriveCIM_ManagedSystemElement
CommunicationStatusCIM_ComputerSystemCIM_ManagedSystemElement
CommunicationStatusCIM_ConcreteJobCIM_ManagedSystemElement
CommunicationStatusCIM_ControllerCIM_ManagedSystemElement
CommunicationStatusCIM_DesktopMonitorCIM_ManagedSystemElement
CommunicationStatusCIM_DiskDriveCIM_ManagedSystemElement
CommunicationStatusCIM_DisketteDriveCIM_ManagedSystemElement
CommunicationStatusCIM_DisplayCIM_ManagedSystemElement
CommunicationStatusCIM_DisplayControllerCIM_ManagedSystemElement
CommunicationStatusCIM_DVDDriveCIM_ManagedSystemElement
CommunicationStatusCIM_DynamicForwardingEntryCIM_ManagedSystemElement
CommunicationStatusCIM_EnabledLogicalElementCIM_ManagedSystemElement
CommunicationStatusCIM_EthernetPortCIM_ManagedSystemElement
CommunicationStatusCIM_FCPortCIM_ManagedSystemElement
CommunicationStatusCIM_ForwardingServiceCIM_ManagedSystemElement
CommunicationStatusCIM_IDEControllerCIM_ManagedSystemElement
CommunicationStatusCIM_JobCIM_ManagedSystemElement
CommunicationStatusCIM_LANEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_LogicalDeviceCIM_ManagedSystemElement
CommunicationStatusCIM_LogicalDiskCIM_ManagedSystemElement
CommunicationStatusCIM_LogicalElementCIM_ManagedSystemElement
CommunicationStatusCIM_LogicalPortCIM_ManagedSystemElement
CommunicationStatusCIM_MediaAccessDeviceCIM_ManagedSystemElement
CommunicationStatusCIM_MemoryCIM_ManagedSystemElement
CommunicationStatusCIM_MetricServiceCIM_ManagedSystemElement
CommunicationStatusCIM_NetworkPortCIM_ManagedSystemElement
CommunicationStatusCIM_NetworkServiceCIM_ManagedSystemElement
CommunicationStatusCIM_PointingDeviceCIM_ManagedSystemElement
CommunicationStatusCIM_ProcessorCIM_ManagedSystemElement
CommunicationStatusCIM_ProtocolControllerCIM_ManagedSystemElement
CommunicationStatusCIM_ProtocolEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_ResourcePoolCIM_ManagedSystemElement
CommunicationStatusCIM_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
CommunicationStatusCIM_SCSIProtocolControllerCIM_ManagedSystemElement
CommunicationStatusCIM_SerialControllerCIM_ManagedSystemElement
CommunicationStatusCIM_ServiceCIM_ManagedSystemElement
CommunicationStatusCIM_ServiceAccessPointCIM_ManagedSystemElement
CommunicationStatusCIM_SoftwareElementCIM_ManagedSystemElement
CommunicationStatusCIM_StorageExtentCIM_ManagedSystemElement
CommunicationStatusCIM_SwitchPortCIM_ManagedSystemElement
CommunicationStatusCIM_SwitchServiceCIM_ManagedSystemElement
CommunicationStatusCIM_SystemCIM_ManagedSystemElement
CommunicationStatusCIM_TapeDriveCIM_ManagedSystemElement
CommunicationStatusCIM_TransparentBridgingServiceCIM_ManagedSystemElement
CommunicationStatusCIM_USBDeviceCIM_ManagedSystemElement
CommunicationStatusCIM_UserDeviceCIM_ManagedSystemElement
CommunicationStatusCIM_VideoHeadCIM_ManagedSystemElement
CommunicationStatusCIM_VirtualSystemManagementServiceCIM_ManagedSystemElement
CommunicationStatusCIM_VirtualSystemMigrationServiceCIM_ManagedSystemElement
CommunicationStatusCIM_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
CommunicationStatusCIM_VLANEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_WiFiEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_WiFiPortCIM_ManagedSystemElement
CommunicationStatusMsvm_BIOSElementCIM_ManagedSystemElement
CommunicationStatusMsvm_ComputerSystemCIM_ManagedSystemElement
CommunicationStatusMsvm_ConcreteJobCIM_ManagedSystemElement
CommunicationStatusMsvm_CopyFileToGuestJobCIM_ManagedSystemElement
CommunicationStatusMsvm_DiskDriveCIM_ManagedSystemElement
CommunicationStatusMsvm_DisketteControllerCIM_ManagedSystemElement
CommunicationStatusMsvm_DisketteDriveCIM_ManagedSystemElement
CommunicationStatusMsvm_DVDDriveCIM_ManagedSystemElement
CommunicationStatusMsvm_DynamicForwardingEntryCIM_ManagedSystemElement
CommunicationStatusMsvm_EmulatedEthernetPortCIM_ManagedSystemElement
CommunicationStatusMsvm_EthernetSwitchExtensionCIM_ManagedSystemElement
CommunicationStatusMsvm_EthernetSwitchPortCIM_ManagedSystemElement
CommunicationStatusMsvm_ExternalEthernetPortCIM_ManagedSystemElement
CommunicationStatusMsvm_ExternalFcPortCIM_ManagedSystemElement
CommunicationStatusMsvm_FcEndpointCIM_ManagedSystemElement
CommunicationStatusMsvm_FcSwitchPortCIM_ManagedSystemElement
CommunicationStatusMsvm_GuestFileServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_GuestServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_GuestServiceInterfaceComponentCIM_ManagedSystemElement
CommunicationStatusMsvm_HeartbeatComponentCIM_ManagedSystemElement
CommunicationStatusMsvm_IDEControllerCIM_ManagedSystemElement
CommunicationStatusMsvm_ImageManagementServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_InstalledEthernetSwitchExtensionCIM_ManagedSystemElement
CommunicationStatusMsvm_InternalEthernetPortCIM_ManagedSystemElement
CommunicationStatusMsvm_KeyboardCIM_ManagedSystemElement
CommunicationStatusMsvm_KvpExchangeComponentCIM_ManagedSystemElement
CommunicationStatusMsvm_LANEndpointCIM_ManagedSystemElement
CommunicationStatusMsvm_LogicalDiskCIM_ManagedSystemElement
CommunicationStatusMsvm_MemoryCIM_ManagedSystemElement
CommunicationStatusMsvm_MetricServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_MigrationJobCIM_ManagedSystemElement
CommunicationStatusMsvm_MountedStorageImageCIM_ManagedSystemElement
CommunicationStatusMsvm_NumaNodeCIM_ManagedSystemElement
CommunicationStatusMsvm_Physical3dGraphicsProcessorCIM_ManagedSystemElement
CommunicationStatusMsvm_PlannedComputerSystemCIM_ManagedSystemElement
CommunicationStatusMsvm_ProcessorCIM_ManagedSystemElement
CommunicationStatusMsvm_ProcessorPoolCIM_ManagedSystemElement
CommunicationStatusMsvm_Ps2MouseCIM_ManagedSystemElement
CommunicationStatusMsvm_RdvComponentCIM_ManagedSystemElement
CommunicationStatusMsvm_ReplicationProviderCIM_ManagedSystemElement
CommunicationStatusMsvm_ReplicationRelationshipCIM_ManagedSystemElement
CommunicationStatusMsvm_ReplicationServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_ResourcePoolCIM_ManagedSystemElement
CommunicationStatusMsvm_ResourcePoolConfigurationServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_S3DisplayControllerCIM_ManagedSystemElement
CommunicationStatusMsvm_SCSIProtocolControllerCIM_ManagedSystemElement
CommunicationStatusMsvm_SerialControllerCIM_ManagedSystemElement
CommunicationStatusMsvm_SerialPortCIM_ManagedSystemElement
CommunicationStatusMsvm_ShutdownComponentCIM_ManagedSystemElement
CommunicationStatusMsvm_StorageJobCIM_ManagedSystemElement
CommunicationStatusMsvm_Synth3dVideoPoolCIM_ManagedSystemElement
CommunicationStatusMsvm_Synthetic3DDisplayControllerCIM_ManagedSystemElement
CommunicationStatusMsvm_Synthetic3DServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_SyntheticDisplayControllerCIM_ManagedSystemElement
CommunicationStatusMsvm_SyntheticEthernetPortCIM_ManagedSystemElement
CommunicationStatusMsvm_SyntheticFcPortCIM_ManagedSystemElement
CommunicationStatusMsvm_SyntheticMouseCIM_ManagedSystemElement
CommunicationStatusMsvm_TerminalConnectionCIM_ManagedSystemElement
CommunicationStatusMsvm_TerminalServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_TimeSyncComponentCIM_ManagedSystemElement
CommunicationStatusMsvm_TransparentBridgingServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_VideoHeadCIM_ManagedSystemElement
CommunicationStatusMsvm_VirtualEthernetSwitchCIM_ManagedSystemElement
CommunicationStatusMsvm_VirtualEthernetSwitchManagementServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_VirtualFcSwitchCIM_ManagedSystemElement
CommunicationStatusMsvm_VirtualSystemManagementServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_VirtualSystemMigrationServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_VirtualSystemSnapshotServiceCIM_ManagedSystemElement
CommunicationStatusMsvm_VLANEndpointCIM_ManagedSystemElement
CommunicationStatusMsvm_VssComponentCIM_ManagedSystemElement
CommunicationStatusMsvm_WiFiEndpointCIM_ManagedSystemElement
CommunicationStatusMsvm_WiFiPortCIM_ManagedSystemElement

Code samples for CommunicationStatus property

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

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

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