GroupComponent - property in ROOT\StandardCimv2\MS_409 namespace

GroupComponent in other namespaces

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

propertyClassOrigin
GroupComponentCIM_ComponentCIM_Component

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

propertyClassOrigin
GroupComponentCIM_PolicyActionInPolicyRuleCIM_Component
GroupComponentCIM_PolicyActionStructureCIM_Component
GroupComponentCIM_PolicyComponentCIM_Component
GroupComponentCIM_PolicySetComponentCIM_Component
GroupComponentMSFT_NetConSecRuleEMAuthSetCIM_Component
GroupComponentMSFT_NetConSecRuleFilterByAddressCIM_Component
GroupComponentMSFT_NetConSecRuleFilterByInterfaceCIM_Component
GroupComponentMSFT_NetConSecRuleFilterByInterfaceTypeCIM_Component
GroupComponentMSFT_NetConSecRuleFilterByProtocolPortCIM_Component
GroupComponentMSFT_NetConSecRuleFiltersCIM_Component
GroupComponentMSFT_NetConSecRuleInProfileCIM_Component
GroupComponentMSFT_NetConSecRuleMMAuthSetCIM_Component
GroupComponentMSFT_NetConSecRuleQMCryptoSetCIM_Component
GroupComponentMSFT_NetEventCaptureTarget_CaptureProviderCIM_Component
GroupComponentMSFT_NetEventSession_ProviderCIM_Component
GroupComponentMSFT_NetFirewallRuleFilterByAddressCIM_Component
GroupComponentMSFT_NetFirewallRuleFilterByApplicationCIM_Component
GroupComponentMSFT_NetFirewallRuleFilterByInterfaceCIM_Component
GroupComponentMSFT_NetFirewallRuleFilterByInterfaceTypeCIM_Component
GroupComponentMSFT_NetFirewallRuleFilterByProtocolPortCIM_Component
GroupComponentMSFT_NetFirewallRuleFilterBySecurityCIM_Component
GroupComponentMSFT_NetFirewallRuleFilterByServiceCIM_Component
GroupComponentMSFT_NetFirewallRuleFiltersCIM_Component
GroupComponentMSFT_NetFirewallRuleInProfileCIM_Component
GroupComponentMSFT_NetMainModeRuleFilterByAddressCIM_Component
GroupComponentMSFT_NetMainModeRuleFiltersCIM_Component
GroupComponentMSFT_NetMainModeRuleInProfileCIM_Component
GroupComponentMSFT_NetMainModeRuleMMAuthSetCIM_Component
GroupComponentMSFT_NetMainModeRuleMMCryptoSetCIM_Component
GroupComponentMSFT_NetPolicyRuleFiltersCIM_Component
GroupComponentMSFT_NetRuleInProfileCIM_Component
GroupComponentMSFT_NetSAActionInSARuleCIM_Component
GroupComponentMSFT_NetSARuleEMAuthCIM_Component
GroupComponentMSFT_NetSARuleMMAuthCIM_Component
GroupComponentMSFT_NetSARuleMMCryptoCIM_Component
GroupComponentMSFT_NetSARuleQMCryptoCIM_Component

Code samples for GroupComponent property

Get instance of WMI class using GetObject, GroupComponent property of MSFT_NetConSecRuleFilterByInterfaceType

Short VBS code - get a single specified instance of MSFT_NetConSecRuleFilterByInterfaceType 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:" + _
 "MSFT_NetConSecRuleFilterByInterfaceType.GroupComponent=""Path to MSFT_NetConSecRule"",PartComponent=""Path to MSFT_NetInterfaceTypeFilter""")
Wscript.Echo wmiObject.GroupComponent 'or other property name, see properties
See more VBS samples of MSFT_NetConSecRuleFilterByInterfaceType class

WMI query - sample windows WQL with C#, GroupComponent property of MSFT_NetConSecRuleFilterByInterfaceType

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

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

WMI query - sample windows WQL with VB.Net, GroupComponent property of MSFT_NetConSecRuleFilterByInterfaceType

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

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