CmdID

CmdID / PowerShell / Cmdlets / Copy

Copy-NetIPsecRule

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

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

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

Parameters

47 in the Windows Server PowerShell reference
Show its 47 parameters
-AllIndicates that all of the IPsec rules within the specified policy store are copied.
-AllowSetKeyIndicates that matching IPsec rules of the indicated value are copied.
-AllowWatchKeyIndicates that matching IPsec rules of the indicated value are copied.
-AsJobRuns the cmdlet as a background job.
-AssociatedNetFirewallAddressFilterGets the IPsec rules that are associated with the given address filter to be copied.
-AssociatedNetFirewallInterfaceFilterGets the IPsec rules that are associated with the given interface filter to be copied.
-AssociatedNetFirewallInterfaceTypeFilterGets the IPsec rules that are associated with the given interface type filter to be copied.
-AssociatedNetFirewallPortFilterGets the IPsec rules that are associated with the given port filter to be copied.
-AssociatedNetFirewallProfileGets the IPsec rules that are associated with the given firewall profile type to be copied.
-AssociatedNetIPsecPhase1AuthSetGets the IPsec rules that are associated with the given phase 1 authentication set to be copied.
-AssociatedNetIPsecPhase2AuthSetGets the IPsec rules that are associated, via the pipeline, with the input phase 2 authentication set to be copied.
-AssociatedNetIPsecQuickModeCryptoSetGets the IPsec rules that are associated, via the pipeline, with the input quick mode cryptographic set 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 IPsec rules of the indicated description are copied.
-DisplayGroupSpecifies that only matching firewall rules of the indicated group association are copied.
-DisplayNameSpecifies that only matching IPsec rules of the indicated display name are copied.
-EnabledSpecifies that matching IPsec rules of the indicated state are copied.
-EncryptedTunnelBypassIndicates that matching IPsec rules of the specified value are copied.
-ForwardPathLifetimeSpecifies that matching IPsec rules of the specified path lifetime value are copied.
-GPOSessionSpecifies the network GPO from which to retrieve the rules to be copied.
-GroupSpecifies that only matching IPsec rules of the indicated group association are copied.
-IPsecRuleName, -ID, -NameSpecifies that only matching IPsec rules of the indicated name are copied.
-InboundSecurity, -SecInSpecifies that matching IPsec rules of the indicated security policy are copied.
-InputObjectSpecifies the input object that is used in a pipeline command.
-KeyModuleSpecifies that matching IPsec rules of the indicated key module are copied.
-MachineSpecifies that matching IPsec rules of the indicated computer accounts are copied.
-ModeSpecifies that matching IPsec rules of the indicated mode are copied.
-NewGPOSessionSpecifies the new GPO session for one or more IPsec rules.
-NewNameSpecifies the new name for one or more IPsec rules.
-NewPolicyStoreSpecifies the policy store for one or more IPsec rules.
-OutboundSecurity, -SecOutSpecifies that matching IPsec rules of the indicated security policy are copied.
-PassThruReturns an object representing the item with which you are working.
-Phase1AuthSetGets the IPsec rules that are associated with the given phase 1 authentication set to be copied.
-Phase2AuthSetGets the IPsec rules that are associated with the given phase 2 authentication set to be copied.
-PolicyStoreSpecifies the policy store from which to retrieve the rules to be copied.
-PolicyStoreSourceSpecifies that IPsec rules matching the indicated policy store source are copied.
-PolicyStoreSourceTypeSpecifies that IPsec rules that match the indicated policy store source type are copied.
-PrimaryStatusSpecifies that IPsec rules that match the indicated primary status are copied.
-QuickModeCryptoSetSpecifies that matching IPsec rules of the specified quick mode cryptographic set are copied.
-RemoteTunnelHostnameSpecifies that matching IPsec rules of the specified second end point tunnel host name are copied.
-RequireAuthorizationIndicates that matching IPsec rules of the specified value are copied.
-StatusSpecifies that IPsec 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 queried and set to the* PolicyStoreSource* parameter value.
-UserSpecifies that matching IPsec rules of the indicated user accounts are copied.
-WhatIf, -wiShows what would happen if the cmdlet runs.