CommunicationStatus - property in ROOT\StandardCimv2\MS_409 namespace

CommunicationStatus in other namespaces

List of classes with CommunicationStatus local property in ROOT\StandardCimv2\MS_409 namespace

propertyClassOrigin
CommunicationStatusCIM_ManagedSystemElementCIM_ManagedSystemElement

List of classes with CommunicationStatus derived property in ROOT\StandardCimv2\MS_409 namespace

propertyClassOrigin
CommunicationStatusCIM_ConcreteJobCIM_ManagedSystemElement
CommunicationStatusCIM_EnabledLogicalElementCIM_ManagedSystemElement
CommunicationStatusCIM_FilterEntryBaseCIM_ManagedSystemElement
CommunicationStatusCIM_IKESAEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_IPProtocolEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_IPsecSAEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_JobCIM_ManagedSystemElement
CommunicationStatusCIM_LANEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_LogicalDeviceCIM_ManagedSystemElement
CommunicationStatusCIM_LogicalElementCIM_ManagedSystemElement
CommunicationStatusCIM_LogicalPortCIM_ManagedSystemElement
CommunicationStatusCIM_NetworkPipeCIM_ManagedSystemElement
CommunicationStatusCIM_NetworkPortCIM_ManagedSystemElement
CommunicationStatusCIM_ProtocolEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_RemoteServiceAccessPointCIM_ManagedSystemElement
CommunicationStatusCIM_SecurityAssociationEndpointCIM_ManagedSystemElement
CommunicationStatusCIM_ServiceAccessPointCIM_ManagedSystemElement
CommunicationStatusMSFT_LocalPrinterPortCIM_ManagedSystemElement
CommunicationStatusMSFT_LprPrinterPortCIM_ManagedSystemElement
CommunicationStatusMSFT_NetAdapterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetAddressFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetApplicationFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBaseIPProtocolCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBranchCacheCacheCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBranchCacheDataCacheCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBranchCacheDataCacheExtensionCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBranchCacheHashCacheCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBranchCachePrimaryCacheCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBranchCacheSecondaryCacheCIM_ManagedSystemElement
CommunicationStatusMSFT_NetBranchCacheStatusCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventNetworkAdapterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventPacketCaptureProviderCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventPacketCaptureTargetCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventProviderCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventProviderBaseCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventSessionCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventVmNetworkAdapterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetEventVmSwitchCIM_ManagedSystemElement
CommunicationStatusMSFT_NetInterfaceFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetInterfaceTypeFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetIPAddressCIM_ManagedSystemElement
CommunicationStatusMSFT_NetIPInterfaceCIM_ManagedSystemElement
CommunicationStatusMSFT_NetIPv4ProtocolCIM_ManagedSystemElement
CommunicationStatusMSFT_NetIPv6ProtocolCIM_ManagedSystemElement
CommunicationStatusMSFT_NetMainModeSACIM_ManagedSystemElement
CommunicationStatusMSFT_NetNeighborCIM_ManagedSystemElement
CommunicationStatusMSFT_NetNetworkLayerSecurityFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetProtocolPortFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetQuickModeSACIM_ManagedSystemElement
CommunicationStatusMSFT_NetServiceFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetTCPConnectionCIM_ManagedSystemElement
CommunicationStatusMSFT_NetTransportConnectionCIM_ManagedSystemElement
CommunicationStatusMSFT_NetTransportFilterCIM_ManagedSystemElement
CommunicationStatusMSFT_NetUDPEndpointCIM_ManagedSystemElement
CommunicationStatusMSFT_PrinterCIM_ManagedSystemElement
CommunicationStatusMSFT_PrinterDriverCIM_ManagedSystemElement
CommunicationStatusMSFT_PrinterPortCIM_ManagedSystemElement
CommunicationStatusMSFT_PrintJobCIM_ManagedSystemElement
CommunicationStatusMSFT_TcpIpPrinterPortCIM_ManagedSystemElement
CommunicationStatusMSFT_WsdPrinterPortCIM_ManagedSystemElement

Code samples for CommunicationStatus property

Get instance of WMI class using GetObject, CommunicationStatus property of CIM_NetworkPipe

Short VBS code - get a single specified instance of CIM_NetworkPipe 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\StandardCimv2\MS_409:" + _
 "CIM_NetworkPipe.InstanceID=""Value""")
Wscript.Echo wmiObject.CommunicationStatus 'or other property name, see properties
See more VBS samples of CIM_NetworkPipe class

WMI query - sample windows WQL with C#, CommunicationStatus property of CIM_NetworkPipe

Get a specified instance of CIM_NetworkPipe 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\\StandardCimv2\\MS_409");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM CIM_NetworkPipe");

//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 CIM_NetworkPipe

Get a specified instance of CIM_NetworkPipe 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\StandardCimv2\MS_409")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM CIM_NetworkPipe")

'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