Status - property in ROOT\StandardCimv2 namespace

Status in other namespaces

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

propertyClassOrigin
StatusCIM_ManagedSystemElementCIM_ManagedSystemElement
StatusMSFT_DAConnectionStatusMSFT_DAConnectionStatus
StatusMSFT_DNSClientCacheMSFT_DNSClientCache
StatusMSFT_NetFirewallRuleMSFT_NetFirewallRule
StatusMSFT_NetIKEAuthSetMSFT_NetIKEAuthSet
StatusMSFT_NetIKECryptoSetMSFT_NetIKECryptoSet
StatusMSFT_NetLbfoTeamMSFT_NetLbfoTeam
StatusMSFT_NetSARuleMSFT_NetSARule

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

propertyClassOrigin
StatusCIM_ConcreteJobCIM_ManagedSystemElement
StatusCIM_DNSProtocolEndpointCIM_ManagedSystemElement
StatusCIM_EnabledLogicalElementCIM_ManagedSystemElement
StatusCIM_FilterEntryBaseCIM_ManagedSystemElement
StatusCIM_IKESAEndpointCIM_ManagedSystemElement
StatusCIM_IPProtocolEndpointCIM_ManagedSystemElement
StatusCIM_IPsecSAEndpointCIM_ManagedSystemElement
StatusCIM_JobCIM_ManagedSystemElement
StatusCIM_LANEndpointCIM_ManagedSystemElement
StatusCIM_LogicalDeviceCIM_ManagedSystemElement
StatusCIM_LogicalElementCIM_ManagedSystemElement
StatusCIM_LogicalPortCIM_ManagedSystemElement
StatusCIM_NetworkPipeCIM_ManagedSystemElement
StatusCIM_NetworkPortCIM_ManagedSystemElement
StatusCIM_ProtocolEndpointCIM_ManagedSystemElement
StatusCIM_RemoteServiceAccessPointCIM_ManagedSystemElement
StatusCIM_SecurityAssociationEndpointCIM_ManagedSystemElement
StatusCIM_ServiceAccessPointCIM_ManagedSystemElement
StatusMSFT_DNSClientCIM_ManagedSystemElement
StatusMSFT_DNSClientServerAddressCIM_ManagedSystemElement
StatusMSFT_LocalPrinterPortCIM_ManagedSystemElement
StatusMSFT_LprPrinterPortCIM_ManagedSystemElement
StatusMSFT_NetAdapterCIM_ManagedSystemElement
StatusMSFT_NetAddressFilterCIM_ManagedSystemElement
StatusMSFT_NetApplicationFilterCIM_ManagedSystemElement
StatusMSFT_NetBaseIPProtocolCIM_ManagedSystemElement
StatusMSFT_NetBranchCacheCacheCIM_ManagedSystemElement
StatusMSFT_NetBranchCacheDataCacheCIM_ManagedSystemElement
StatusMSFT_NetBranchCacheDataCacheExtensionCIM_ManagedSystemElement
StatusMSFT_NetBranchCacheHashCacheCIM_ManagedSystemElement
StatusMSFT_NetBranchCachePrimaryCacheCIM_ManagedSystemElement
StatusMSFT_NetBranchCacheSecondaryCacheCIM_ManagedSystemElement
StatusMSFT_NetBranchCacheStatusCIM_ManagedSystemElement
StatusMSFT_NetConSecRuleMSFT_NetSARule
StatusMSFT_NetEventNetworkAdapterCIM_ManagedSystemElement
StatusMSFT_NetEventPacketCaptureProviderCIM_ManagedSystemElement
StatusMSFT_NetEventPacketCaptureTargetCIM_ManagedSystemElement
StatusMSFT_NetEventProviderCIM_ManagedSystemElement
StatusMSFT_NetEventProviderBaseCIM_ManagedSystemElement
StatusMSFT_NetEventSessionCIM_ManagedSystemElement
StatusMSFT_NetEventVmNetworkAdapterCIM_ManagedSystemElement
StatusMSFT_NetEventVmSwitchCIM_ManagedSystemElement
StatusMSFT_NetIKEMMCryptoSetMSFT_NetIKECryptoSet
StatusMSFT_NetIKEP1AuthSetMSFT_NetIKEAuthSet
StatusMSFT_NetIKEP2AuthSetMSFT_NetIKEAuthSet
StatusMSFT_NetIKEQMCryptoSetMSFT_NetIKECryptoSet
StatusMSFT_NetImPlatAdapterCIM_ManagedSystemElement
StatusMSFT_NetInterfaceFilterCIM_ManagedSystemElement
StatusMSFT_NetInterfaceTypeFilterCIM_ManagedSystemElement
StatusMSFT_NetIPAddressCIM_ManagedSystemElement
StatusMSFT_NetIPInterfaceCIM_ManagedSystemElement
StatusMSFT_NetIPv4ProtocolCIM_ManagedSystemElement
StatusMSFT_NetIPv6ProtocolCIM_ManagedSystemElement
StatusMSFT_NetLbfoTeamMemberCIM_ManagedSystemElement
StatusMSFT_NetLbfoTeamNicCIM_ManagedSystemElement
StatusMSFT_NetMainModeRuleMSFT_NetSARule
StatusMSFT_NetMainModeSACIM_ManagedSystemElement
StatusMSFT_NetNeighborCIM_ManagedSystemElement
StatusMSFT_NetNetworkLayerSecurityFilterCIM_ManagedSystemElement
StatusMSFT_NetProtocolPortFilterCIM_ManagedSystemElement
StatusMSFT_NetQuickModeSACIM_ManagedSystemElement
StatusMSFT_NetServiceFilterCIM_ManagedSystemElement
StatusMSFT_NetSwitchTeamMemberCIM_ManagedSystemElement
StatusMSFT_NetTCPConnectionCIM_ManagedSystemElement
StatusMSFT_NetTransportConnectionCIM_ManagedSystemElement
StatusMSFT_NetTransportFilterCIM_ManagedSystemElement
StatusMSFT_NetUDPEndpointCIM_ManagedSystemElement
StatusMSFT_PrinterCIM_ManagedSystemElement
StatusMSFT_PrinterDriverCIM_ManagedSystemElement
StatusMSFT_PrinterPortCIM_ManagedSystemElement
StatusMSFT_PrintJobCIM_ManagedSystemElement
StatusMSFT_TcpIpPrinterPortCIM_ManagedSystemElement
StatusMSFT_WsdPrinterPortCIM_ManagedSystemElement

Code samples for Status property

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

Short VBS code - get a single specified instance of MSFT_NetApplicationFilter 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_NetApplicationFilter.CreationClassName=""MSFT|FW|FirewallRule|vm-monitoring-icmpv6"",Name="""",SystemCreationClassName="""",SystemName=""""")
Wscript.Echo wmiObject.Status 'or other property name, see properties
See more VBS samples of MSFT_NetApplicationFilter class

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

Get a specified instance of MSFT_NetApplicationFilter 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_NetApplicationFilter Where CreationClassName=\"MSFT|FW|FirewallRule|vm-monitoring-icmpv6\"Name=\"\"SystemCreationClassName=\"\"SystemName=\"\"");

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

Get a specified instance of MSFT_NetApplicationFilter 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_NetApplicationFilter Where CreationClassName="MSFT|FW|FirewallRule|vm-monitoring-icmpv6"Name=""SystemCreationClassName=""SystemName=""")

'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