CmdID

CmdID / PowerShell / Cmdlets / Copy

Copy-NetIPsecMainModeRule

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

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

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

Parameters

30 in the Windows Server PowerShell reference
Show its 30 parameters
-AllIndicates that all of the main mode 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.
-AssociatedNetFirewallProfileGets the firewall rules that are associated with the given port filter to be copied.
-AssociatedNetIPsecMainModeCryptoSetGets the main mode rules that are associated, via the pipeline, with the input main mode cryptographic set to be copied.
-AssociatedNetIPsecPhase1AuthSetGets the main mode rules that are associated with the given phase 1 authentication 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 main mode rules of the indicated description are copied.
-DisplayGroupSpecifies that only matching main mode rules of the indicated group association are copied.
-DisplayNameSpecifies that only matching main mode rules of the indicated display name are copied.
-EnabledSpecifies that matching main mode rules of the indicated state are copied.
-GPOSessionSpecifies the network GPO from which to retrieve the rules to be copied.
-GroupSpecifies that only matching main mode rules of the indicated group association are copied.
-InputObjectSpecifies the input object that is used in a pipeline command.
-MainModeCryptoSetSpecifies the IPsec main mode rules that are associated with the given main mode cryptographic set to be copied.
-Name, -IDSpecifies that only matching main mode rules of the indicated name are copied.
-NewGPOSessionSpecifies the new GPO session for one or more main mode rules.
-NewNameSpecifies the new name for one or more main mode rules.
-NewPolicyStoreSpecifies the policy store for one or more main mode rules.
-PassThruReturns an object representing the item with which you are working.
-Phase1AuthSetSpecifies the main mode rules that are associated with the given phase 1 authentication set to be copied.
-PolicyStoreSpecifies the policy store from which to retrieve the rules to be copied.
-PolicyStoreSourceSpecifies that main mode rules that match the indicated policy store source are copied.
-PolicyStoreSourceTypeSpecifies the type of policy store from which the rule originated if the object is retrieved from the ActiveStore with the TracePolicyStoreSource option set.
-PrimaryStatusSpecifies that main mode rules that match the indicated primary status are copied.
-StatusSpecifies that main mode rules that match the indicated status are copied.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-TracePolicyStoreIndicates that the main mode rules that match the indicated policy store are copied.
-WhatIf, -wiShows what would happen if the cmdlet runs.