MSFT_NetFirewallRule, ROOT\StandardCimv2
Class
| Methods (5)
| Properties (36)
| Qualifiers (6)
| Instances (40)
| Namespaces (2)
Samples: VB Script
| C#
| VB.Net
| Search on:Microsoft
Description Represents a Windows firewall rule.
MSFT_NetFirewallRule methods MSFT_NetFirewallRule has 5 methods (5 Local )
Name Origin Return CloneObject MSFT_NetFirewallRule uint32 {'out':True}
Disable MSFT_NetFirewallRule uint32 {'out':True}
Enable MSFT_NetFirewallRule uint32 {'out':True}
EnumerateFull MSFT_NetFirewallRule uint32 {'out':True}
Rename MSFT_NetFirewallRule uint32 {'out':True}
MSFT_NetFirewallRule properties MSFT_NetFirewallRule has 36 properties (17 Local , 19 Derived )
Detailed description of MSFT_NetFirewallRule methods Local methods (5) of MSFT_NetFirewallRule class ▲ CloneObject methodReturn uint32 {'out':True} Parameters Name CIMType ID IN OUT Qualifiers NewName string 0 ✓ - {'Description':'The new name for the rule.','In':True} NewPolicyStore string 1 ✓ - {'Description':'The new policy store for the rule.','In':True} NewGPOSession string 2 ✓ - {'Description':'The new GPOSession for the rule.','In':True}
Description 'Copy this rule.' implemented True CloneObject method is in 7 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ Rename methodReturn uint32 {'out':True} Parameters Name CIMType ID IN OUT Qualifiers NewName string 0 ✓ - {'Description':'The new name for the rule.','In':True}
Description 'Rename this rule.' implemented True Rename method is in 12 classes of ROOT\StandardCimv2 and in 12 namespaces
Detailed description of MSFT_NetFirewallRule properties Local properties (17) of MSFT_NetFirewallRule class
▲ Direction propertyCIMTYPE 'uint16' Description 'Specifies which direction of traffic to match with this rule.' ValueMap ['1', '2'] Values ['Inbound', 'Outbound'] Direction property is in 1 class (MSFT_NetFirewallRule) of ROOT\StandardCimv2 and in 9 namespaces
▲ DisplayGroup propertyCIMTYPE 'string' Description 'The group that this rule belongs to. This field is based on the value of RuleGroup and changes to this field are ignored.' read True DisplayGroup property is in 10 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ DisplayName propertyCIMTYPE 'string' Description 'The localized name of this rule. This field's value is based on the value of ElementName. Changes to this field are ignored.' read True DisplayName property is in 12 classes of ROOT\StandardCimv2 and in 30 namespaces
▲ EdgeTraversalPolicy propertyCIMTYPE 'uint16' Description 'Specifies how this firewall rule will handle edge traversal cases.' ValueMap ['0', '1', '2', '3'] Values ['Block', 'Allow', 'Defer to User', 'Defer to App'] EdgeTraversalPolicy property is in 1 class (MSFT_NetFirewallRule) of ROOT\StandardCimv2 and in 2 namespaces
▲ EnforcementStatus propertyCIMTYPE 'uint16' Description 'If this object is retrieved from the ActiveStore, describes the current enforcement status of the rule.' ValueMap ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23'] Values ['Invalid', 'Full', 'FirewallOffInProfile', 'CategoryOff', 'DisabledObject', 'InactiveProfile', 'LocalAddressResolutionEmpty', 'RemoteAddressResolutionEmpty', 'LocalPortResolutionEmpty', 'RemotePortResolutionEmpty', 'InterfaceResolutionEmpty', 'ApplicationResolutionEmpty', 'RemoteMachineEmpty', 'RemoteUserEmpty', 'LocalGlobalOpenPortsDisallowed', 'LocalAuthorizedApplicationsDisallowed', 'LocalFirewallRulesDisallowed', 'LocalConsecRulesDisallowed', 'NotTargetPlatform', 'OptimizedOut', 'LocalUserEmpty', 'TransportMachinesEmpty', 'TunnelMachinesEmpty', 'TupleResolutionEmpty'] EnforcementStatus property is in 10 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ LocalOnlyMapping propertyCIMTYPE 'boolean' Description 'Whether to group UDP packets into conversations based only upon the local address and port. Applies only to UDP.' LocalOnlyMapping property is in 1 class (MSFT_NetFirewallRule) of ROOT\StandardCimv2 and in 2 namespaces
▲ LooseSourceMapping propertyCIMTYPE 'boolean' Description 'Whether to group UDP packets into conversations based upon the local address, local port, and remote port. Applies only to UDP.' LooseSourceMapping property is in 1 class (MSFT_NetFirewallRule) of ROOT\StandardCimv2 and in 2 namespaces
▲ Platforms propertyCIMTYPE 'string' Description 'Specifies which platforms the rule is applicable on. If null, the rule applies to all platforms (the default). Each entry takes the form Major.Minor+, for instance 6.0, 6.1+, or 6.2. If + is specified, then it means that the rule applies to that version or greater. For instance, Windows Vista could be represented as 6 or 6.0, and Windows 7 or later would be represented as 6.1+. + may only be attached to the final item in the list. 6.0+ is not valid because it means the same thing as null (all platforms).' Platforms property is in 4 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ PolicyStoreSource propertyCIMTYPE 'string' Description 'If this object is retrieved from the ActiveStore, with the TracePolicyStoreSource option set, contains the path to the PolicyStore where this rule originally came from.' PolicyStoreSource property is in 10 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ PolicyStoreSourceType propertyCIMTYPE 'uint16' Description 'If this object is retrieved from the ActiveStore, with the TracePolicyStoreSource option set, describes the type of PolicyStore where this rule originally came from.' PolicyStoreSourceType property is in 10 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ PrimaryStatus propertyCIMTYPE 'uint16' Description 'PrimaryStatus provides a high level status value, intended to align with Red-Yellow-Green type representation of status. It should be used in conjunction with DetailedStatus to provide high level and detailed health status of the ManagedElement and its subcomponents. PrimaryStatus consists of one of the following values: Unknown, OK, Degraded or Error. "Unknown" indicates the implementation is in general capable of returning this property, but is unable to do so at this time. "OK" indicates the ManagedElement is functioning normally. "Degraded" indicates the ManagedElement is functioning below normal. "Error" indicates the ManagedElement is in an Error condition. ' ValueMap ['0', '1', '2', '3', '..', '0x8000..'] Values ['Unknown', 'OK', 'Degraded', 'Error', 'DMTF Reserved', 'Vendor Reserved'] PrimaryStatus property is in 78 classes of ROOT\StandardCimv2 and in 9 namespaces
▲ RuleGroup propertyCIMTYPE 'string' Description 'The locale-independent name for the group that this rule belongs to. If this field is non-null, then Windows Firewall with Advanced Security assumes that this rule belongs to a Windows component or an installed application, and some parts of the rule are protected (including but not limited to the Name, Description, Program, and Service).' RuleGroup property is in 10 classes of ROOT\StandardCimv2 and in 2 namespaces
Derived properties (19) of MSFT_NetFirewallRule class
▲ ConditionListType propertyCIMTYPE 'uint16' Description 'This field is ignored.' Override 'ConditionListType' read True ValueMap ['0', '1', '2'] Values ['Unconditional Rule', 'DNF', 'CNF'] ConditionListType property is in 6 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ Description propertyCIMTYPE 'string' Description 'A brief description of the rule. May be an indirect string. If it is an indirect string, then it may not be overwritten.' Override 'Description' Description property is in 176 classes of ROOT\StandardCimv2 and in 142 namespaces
▲ ExecutionStrategy propertyCIMTYPE 'uint16' Description 'This field is ignored.' Override 'ExecutionStrategy' read True ValueMap ['1', '2', '3'] Values ['Do Until Success', 'Do All', 'Do Until Failure'] ExecutionStrategy property is in 6 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ PolicyDecisionStrategy propertyCIMTYPE 'uint16' Description 'This field is ignored.' Override 'PolicyDecisionStrategy' read True ValueMap ['1', '2'] Values ['First Matching', 'All'] PolicyDecisionStrategy property is in 7 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ SequencedActions propertyCIMTYPE 'uint16' Description 'This field is ignored.' Override 'SequencedActions' read True ValueMap ['1', '2', '3'] Values ['Mandatory', 'Recommended', 'Dont Care'] SequencedActions property is in 6 classes of ROOT\StandardCimv2 and in 2 namespaces
▲ SystemCreationClassName propertyCIMTYPE 'string' Description 'Reserved for internal use by the WMI provider only.' key True MaxLen 256 Override 'SystemCreationClassName' Propagated 'CIM_System.CreationClassName' read True SystemCreationClassName property is in 50 classes of ROOT\StandardCimv2 and in 20 namespaces
MSFT_NetFirewallRule Qualifiers Name Value ToInstance ToSubclass Overridable Amended Local
ClassVersion '1.0.0' ✗ ✗ ✓ ✗ ✓
Description 'Represents a Windows firewall rule.' ✗ ✓ ✓ ✓ ✓
dynamic True ✓ ✗ ✓ ✗ ✓
locale 'MS_409' ✗ ✗ ✓ ✓ ✓
provider 'wfascim' ✓ ✗ ✓ ✗ ✓
UMLPackagePath 'CIM::Policy' ✗ ✓ ✓ ✗ ✓
MSFT_NetFirewallRule System properties Name Value Origin CIMType Local Array
__PATH '\\.\ROOT\StandardCimv2:MSFT_NetFirewallRule' ___SYSTEM 8 ✗ ✗
__NAMESPACE 'ROOT\StandardCimv2' ___SYSTEM 8 ✗ ✗
__SERVER '.' ___SYSTEM 8 ✗ ✗
__DERIVATION ['CIM_PolicyRule', 'CIM_PolicySet', 'CIM_Policy', 'CIM_ManagedElement'] ___SYSTEM 8 ✗ ✓
__PROPERTY_COUNT 36 ___SYSTEM 3 ✗ ✗
__RELPATH 'MSFT_NetFirewallRule ' ___SYSTEM 8 ✗ ✗
__DYNASTY 'CIM_ManagedElement ' ___SYSTEM 8 ✗ ✗
__SUPERCLASS 'CIM_PolicyRule ' ___SYSTEM 8 ✗ ✗
__CLASS 'MSFT_NetFirewallRule ' ___SYSTEM 8 ✗ ✗
__GENUS 1 ___SYSTEM 3 ✗ ✗
Similar Classes to MSFT_NetFirewallRule Number of classes:36
Please enable JavaScript to view the comments powered by Disqus.