CmdID / PowerShell / Cmdlets / Remove
Remove-NetFirewallRule
Deletes one or more firewall rules that match the specified criteria. Windows Server PowerShell reference
From the Windows Server PowerShell reference 34 parameters Its page in the reference
Parameters
Show its 34 parameters
-ActionSpecifies that matching firewall rules of the indicated action are removed.-AllIndicates that all of the firewall rules within the specified policy store are removed.-AsJobRuns the cmdlet as a background job.-AssociatedNetFirewallAddressFilterGets the firewall rules that are associated with the given address filter to be removed.-AssociatedNetFirewallApplicationFilterGets the firewall rules that are associated with the given application filter to be removed.-AssociatedNetFirewallInterfaceFilterGets the firewall rules that are associated with the given interface filter to be removed.-AssociatedNetFirewallInterfaceTypeFilterGets the firewall rules that are associated with the given interface type filter to be removed.-AssociatedNetFirewallPortFilterGets the firewall rules that are associated with the given port filter to be removed.-AssociatedNetFirewallProfileGets the firewall rules that are associated with the given firewall profile type to be removed.-AssociatedNetFirewallSecurityFilterGets the firewall rules that are associated with the given security filter to be removed.-AssociatedNetFirewallServiceFilterGets the firewall rules that are associated with the given service filter to be removed.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DescriptionSpecifies that matching firewall rules of the indicated description are removed.-DirectionSpecifies that matching firewall rules of the indicated direction are removed.-DisplayGroupSpecifies that only matching firewall rules of the indicated group association are removed.-DisplayNameSpecifies that only matching firewall rules of the indicated display name are removed.-EdgeTraversalPolicySpecifies that matching firewall rules of the indicated edge traversal policy are removed.-EnabledSpecifies that matching firewall rules of the indicated state are removed.-GroupSpecifies that only matching firewall rules of the indicated group association are removed.-InputObjectSpecifies the input object that is used in a pipeline command.-LocalOnlyMappingIndicates that matching firewall rules of the indicated value are removed.-LooseSourceMapping, -LSMIndicates that matching firewall rules of the indicated value are removed.-Name, -IDSpecifies that only matching firewall rules of the indicated name are removed.-OwnerSpecifies that matching firewall rules of the indicated owner are removed.-PassThruReturns an object representing the item with which you are working.-PolicyStoreSpecifies the policy store from which to retrieve the rules to be removed.-PolicyStoreSourceSpecifies that firewall rules matching the indicated policy store source are removed.-PolicyStoreSourceTypeSpecifies that firewall rules that match the indicated policy store source type are removed.-PrimaryStatusSpecifies that firewall rules that match the indicated primary status are removed.-StatusSpecifies that firewall rules that match the indicated status are removed.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TracePolicyStoreIndicates that the firewall rules that match the indicated policy store are removed.-WhatIf, -wiShows what would happen if the cmdlet runs.