CmdID

CmdID / PowerShell / Cmdlets / Copy

Copy-NetFirewallRule

Copies an entire firewall rule, and associated filters, to the same or to a different policy store. Windows Server PowerShell reference

From the Windows Server PowerShell reference 37 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

37 in the Windows Server PowerShell reference
Show its 37 parameters
-ActionSpecifies that matching firewall rules of the indicated action are copied.
-AllIndicates that all of the firewall rules within the specified policy store are copied.
-AsJobRuns the cmdlet as a background job.
-AssociatedNetFirewallAddressFilterGets the firewall rules that are associated with the given address filter to be copied.
-AssociatedNetFirewallApplicationFilterGets the firewall rules that are associated with the given application filter to be copied.
-AssociatedNetFirewallInterfaceFilterGets the firewall rules that are associated with the given interface filter to be copied.
-AssociatedNetFirewallInterfaceTypeFilterGets the firewall rules that are associated with the given interface type filter to be copied.
-AssociatedNetFirewallPortFilterGets the firewall rules that are associated with the given port filter to be copied.
-AssociatedNetFirewallProfileGets the firewall rules that are associated with the given firewall profile type to be copied.
-AssociatedNetFirewallSecurityFilterGets the firewall rules that are associated with the given security filter to be copied.
-AssociatedNetFirewallServiceFilterGets the firewall rules that are associated with the given service filter to be copied.
-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 copied.
-DirectionSpecifies that matching firewall rules of the indicated direction are copied.
-DisplayGroupSpecifies that only matching firewall rules of the indicated group association are copied.
-DisplayNameSpecifies that only matching firewall rules of the indicated display name are copied.
-EdgeTraversalPolicySpecifies that matching firewall rules of the indicated edge traversal policy are copied.
-EnabledSpecifies that matching firewall rules of the indicated state are copied.
-GroupSpecifies that only matching firewall rules of the indicated group association are copied.
-InputObjectSpecifies the input object that is used in a pipeline command.
-LocalOnlyMappingIndicates that matching firewall rules of the indicated value are copied.
-LooseSourceMapping, -LSMIndicates that matching firewall rules of the indicated value are copied.
-Name, -IDSpecifies that only matching firewall rules of the indicated name are copied.
-NewGPOSessionSpecifies the new GPO session for one or more firewall rules.
-NewNameSpecifies the new name for the firewall rule.
-NewPolicyStoreSpecifies the policy store for one or more firewall rules.
-OwnerSpecifies that matching firewall rules of the indicated owner are copied.
-PassThruReturns an object representing the item with which you are working.
-PolicyStoreTargets the policy store from which the firewall rules are copied..
-PolicyStoreSourceSpecifies that firewall rules matching the indicated policy store source are copied.
-PolicyStoreSourceTypeSpecifies that firewall rules that match the indicated policy store source type are copied.
-PrimaryStatusSpecifies that firewall rules that match the indicated primary status are copied.
-StatusSpecifies that firewall rules that match the indicated status are copied.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-TracePolicyStoreSpecifies that the name of the source GPO is set to the *PolicyStoreSource* parameter value.
-WhatIf, -wiShows what would happen if the cmdlet runs.