CmdID / PowerShell / Cmdlets / Get
Get-NetFirewallRule
Retrieves firewall rules from the target computer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 30 parameters Its page in the reference
Parameters
Show its 30 parameters
-ActionSpecifies that matching firewall rules of the indicated action are retrieved.-AllIndicates that all of the firewall rules within the specified policy store are retrieved.-AsJobRuns the cmdlet as a background job.-AssociatedNetFirewallAddressFilterGets the firewall rules that are associated with the given address filter to be retrieved.-AssociatedNetFirewallApplicationFilterGets the firewall rules that are associated with the given application filter to be retrieved.-AssociatedNetFirewallInterfaceFilterGets the firewall rules that are associated with the given interface filter to be retrieved.-AssociatedNetFirewallInterfaceTypeFilterGets the firewall rules that are associated with the given interface type filter to be retrieved.-AssociatedNetFirewallPortFilterGets the firewall rules that are associated with the given port filter to be retrieved.-AssociatedNetFirewallProfileGets the firewall rules that are associated with the given firewall profile type to be retrieved.-AssociatedNetFirewallSecurityFilterGets the firewall rules that are associated with the given security filter to be retrieved.-AssociatedNetFirewallServiceFilterGets the firewall rules that are associated with the given service filter to be retrieved.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DescriptionSpecifies that matching firewall rules of the indicated description are retrieved.-DirectionSpecifies that matching firewall rules of the indicated direction are retrieved.-DisplayGroupSpecifies that only matching firewall rules of the indicated group association are retrieved.-DisplayNameSpecifies that only matching firewall rules of the indicated display name are retrieved.-EdgeTraversalPolicySpecifies that matching firewall rules of the indicated edge traversal policy are retrieved.-EnabledSpecifies that matching firewall rules of the indicated state are retrieved.-GroupSpecifies that only matching firewall rules of the indicated group association are retrieved.-LocalOnlyMappingIndicates that matching firewall rules of the indicated value are retrieved.-LooseSourceMapping, -LSMIndicates that matching firewall rules of the indicated value are retrieved.-Name, -IDSpecifies that only matching firewall rules of the indicated name are retrieved.-OwnerSpecifies that matching firewall rules of the indicated owner are retrieved.-PolicyStoreTargets the policy store from which to retrieve the rules.-PolicyStoreSourceSpecifies that firewall rules matching the indicated policy store source are retrieved.-PolicyStoreSourceTypeSpecifies that firewall rules that match the indicated policy store source type are retrieved.-PrimaryStatusSpecifies that firewall rules that match the indicated primary status are retrieved.-StatusSpecifies that firewall rules that match the indicated status are retrieved.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TracePolicyStoreSpecifies that the name of the source GPO is queried and set to the *PolicyStoreSource* parameter value.