OperatingStatus - property in ROOT\StandardCimv2 namespace

OperatingStatus in other namespaces

List of classes with OperatingStatus local property in ROOT\StandardCimv2 namespace

propertyClassOrigin
OperatingStatusCIM_ManagedSystemElementCIM_ManagedSystemElement

List of classes with OperatingStatus derived property in ROOT\StandardCimv2 namespace

propertyClassOrigin
OperatingStatusCIM_ConcreteJobCIM_ManagedSystemElement
OperatingStatusCIM_DNSProtocolEndpointCIM_ManagedSystemElement
OperatingStatusCIM_EnabledLogicalElementCIM_ManagedSystemElement
OperatingStatusCIM_FilterEntryBaseCIM_ManagedSystemElement
OperatingStatusCIM_IKESAEndpointCIM_ManagedSystemElement
OperatingStatusCIM_IPProtocolEndpointCIM_ManagedSystemElement
OperatingStatusCIM_IPsecSAEndpointCIM_ManagedSystemElement
OperatingStatusCIM_JobCIM_ManagedSystemElement
OperatingStatusCIM_LANEndpointCIM_ManagedSystemElement
OperatingStatusCIM_LogicalDeviceCIM_ManagedSystemElement
OperatingStatusCIM_LogicalElementCIM_ManagedSystemElement
OperatingStatusCIM_LogicalPortCIM_ManagedSystemElement
OperatingStatusCIM_NetworkPipeCIM_ManagedSystemElement
OperatingStatusCIM_NetworkPortCIM_ManagedSystemElement
OperatingStatusCIM_ProtocolEndpointCIM_ManagedSystemElement
OperatingStatusCIM_RemoteServiceAccessPointCIM_ManagedSystemElement
OperatingStatusCIM_SecurityAssociationEndpointCIM_ManagedSystemElement
OperatingStatusCIM_ServiceAccessPointCIM_ManagedSystemElement
OperatingStatusMSFT_DNSClientCIM_ManagedSystemElement
OperatingStatusMSFT_DNSClientServerAddressCIM_ManagedSystemElement
OperatingStatusMSFT_LocalPrinterPortCIM_ManagedSystemElement
OperatingStatusMSFT_LprPrinterPortCIM_ManagedSystemElement
OperatingStatusMSFT_NetAdapterCIM_ManagedSystemElement
OperatingStatusMSFT_NetAddressFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetApplicationFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetBaseIPProtocolCIM_ManagedSystemElement
OperatingStatusMSFT_NetBranchCacheCacheCIM_ManagedSystemElement
OperatingStatusMSFT_NetBranchCacheDataCacheCIM_ManagedSystemElement
OperatingStatusMSFT_NetBranchCacheDataCacheExtensionCIM_ManagedSystemElement
OperatingStatusMSFT_NetBranchCacheHashCacheCIM_ManagedSystemElement
OperatingStatusMSFT_NetBranchCachePrimaryCacheCIM_ManagedSystemElement
OperatingStatusMSFT_NetBranchCacheSecondaryCacheCIM_ManagedSystemElement
OperatingStatusMSFT_NetBranchCacheStatusCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventNetworkAdapterCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventPacketCaptureProviderCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventPacketCaptureTargetCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventProviderCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventProviderBaseCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventSessionCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventVmNetworkAdapterCIM_ManagedSystemElement
OperatingStatusMSFT_NetEventVmSwitchCIM_ManagedSystemElement
OperatingStatusMSFT_NetImPlatAdapterCIM_ManagedSystemElement
OperatingStatusMSFT_NetInterfaceFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetInterfaceTypeFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetIPAddressCIM_ManagedSystemElement
OperatingStatusMSFT_NetIPInterfaceCIM_ManagedSystemElement
OperatingStatusMSFT_NetIPv4ProtocolCIM_ManagedSystemElement
OperatingStatusMSFT_NetIPv6ProtocolCIM_ManagedSystemElement
OperatingStatusMSFT_NetLbfoTeamMemberCIM_ManagedSystemElement
OperatingStatusMSFT_NetLbfoTeamNicCIM_ManagedSystemElement
OperatingStatusMSFT_NetMainModeSACIM_ManagedSystemElement
OperatingStatusMSFT_NetNeighborCIM_ManagedSystemElement
OperatingStatusMSFT_NetNetworkLayerSecurityFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetProtocolPortFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetQuickModeSACIM_ManagedSystemElement
OperatingStatusMSFT_NetServiceFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetSwitchTeamMemberCIM_ManagedSystemElement
OperatingStatusMSFT_NetTCPConnectionCIM_ManagedSystemElement
OperatingStatusMSFT_NetTransportConnectionCIM_ManagedSystemElement
OperatingStatusMSFT_NetTransportFilterCIM_ManagedSystemElement
OperatingStatusMSFT_NetUDPEndpointCIM_ManagedSystemElement
OperatingStatusMSFT_PrinterCIM_ManagedSystemElement
OperatingStatusMSFT_PrinterDriverCIM_ManagedSystemElement
OperatingStatusMSFT_PrinterPortCIM_ManagedSystemElement
OperatingStatusMSFT_PrintJobCIM_ManagedSystemElement
OperatingStatusMSFT_TcpIpPrinterPortCIM_ManagedSystemElement
OperatingStatusMSFT_WsdPrinterPortCIM_ManagedSystemElement

Code samples for OperatingStatus property

Get instance of WMI class using GetObject, OperatingStatus property of MSFT_NetTCPConnection

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

WMI query - sample windows WQL with C#, OperatingStatus property of MSFT_NetTCPConnection

Get a specified instance of MSFT_NetTCPConnection 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");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM MSFT_NetTCPConnection Where InstanceID=\"::++65520++::++0\"");

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

WMI query - sample windows WQL with VB.Net, OperatingStatus property of MSFT_NetTCPConnection

Get a specified instance of MSFT_NetTCPConnection 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")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM MSFT_NetTCPConnection Where InstanceID="::++65520++::++0"")

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