CmdID / PowerShell / Cmdlets / Enable
Enable-NetFirewallRule
Enables a previously disabled firewall rule. 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 enabled.-AllIndicates that all of the firewall rules within the specified policy store are enabled.-AsJobRuns the cmdlet as a background job.-AssociatedNetFirewallAddressFilterGets the firewall rules that are associated with the given address filter to be enabled.-AssociatedNetFirewallApplicationFilterGets the firewall rules that are associated with the given application filter to be enabled.-AssociatedNetFirewallInterfaceFilterGets the firewall rules that are associated with the given interface filter to be enabled.-AssociatedNetFirewallInterfaceTypeFilterGets the firewall rules that are associated with the given interface type filter to be enabled.-AssociatedNetFirewallPortFilterGets the firewall rules that are associated with the given port filter to be enabled.-AssociatedNetFirewallProfileGets the firewall rules that are associated with the given firewall profile type to be enabled.-AssociatedNetFirewallSecurityFilterGets the firewall rules that are associated with the given security filter to be enabled.-AssociatedNetFirewallServiceFilterGets the firewall rules that are associated with the given service filter to be enabled.-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 enabled.-DirectionSpecifies that matching firewall rules of the indicated direction are enabled.-DisplayGroupSpecifies that only matching firewall rules of the indicated group association are enabled.-DisplayNameSpecifies that only matching firewall rules of the indicated display name are enabled.-EdgeTraversalPolicySpecifies that matching firewall rules of the indicated edge traversal policy are enabled.-EnabledSpecifies that matching firewall rules of the indicated state are enabled.-GroupSpecifies that only matching firewall rules of the indicated group association are enabled.-InputObjectSpecifies the input object that is used in a pipeline command.-LocalOnlyMappingIndicates that matching firewall rules of the indicated value are enabled.-LooseSourceMapping, -LSMIndicates that matching firewall rules of the indicated value are enabled.-Name, -IDSpecifies that only matching firewall rules of the indicated name are enabled.-OwnerSpecifies that matching firewall rules of the indicated owner are enabled.-PassThruReturns an object representing the item with which you are working.-PolicyStoreTargets the policy store from which to retrieve the rules to be enabled.-PolicyStoreSourceSpecifies that firewall rules matching the indicated policy store source are enabled.-PolicyStoreSourceTypeSpecifies that firewall rules that match the indicated policy store source type are enabled.-PrimaryStatusSpecifies that firewall rules that match the indicated primary status are enabled.-StatusSpecifies that firewall rules that match the indicated status are enabled.-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 enabled.-WhatIf, -wiShows what would happen if the cmdlet runs.