CmdID / PowerShell / Cmdlets / Copy
Copy-NetIPsecPhase2AuthSet
Copies an entire phase 2 authentication set to the same or to a different policy store. Windows Server PowerShell reference
From the Windows Server PowerShell reference 24 parameters Its page in the reference
Parameters
Show its 24 parameters
-AllIndicates that all of the phase 2 authentication sets within the specified policy store are copied.-AsJobRuns the cmdlet as a background job.-AssociatedNetIPsecRuleGets the phase 2 authentication sets that are associated, via the pipeline, with the input IPsec rule 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 phase 2 authentication sets of the indicated description are copied.-DisplayGroupSpecifies that only matching phase 2 authentication sets of the indicated group association are copied.-DisplayNameSpecifies that only matching phase 2 authentication sets of the indicated display name are copied.-GPOSessionSpecifies the network GPO from which to retrieve the sets to be copied.-GroupSpecifies that only matching phase 2 authentication sets of the indicated group association are copied.-InputObjectSpecifies the input object that is used in a pipeline command.-Name, -IDSpecifies that only matching phase 2 authentication sets of the indicated name are copied.-NewGPOSessionSpecifies the new GPO session for one or more phase 2 authentication sets.-NewNameSpecifies the new name for one or more phase 2 authentication sets.-NewPolicyStoreSpecifies the policy store for one or more phase 2 authentication sets.-PassThruReturns an object representing the item with which you are working.-PolicyStoreSpecifies the policy store from which to retrieve the sets to be copied.-PolicyStoreSourceSpecifies that phase 2 authentication sets that match the indicated policy store source are copied.-PolicyStoreSourceTypeSpecifies that phase 1 authentication sets that match the indicated policy store source type are copied.-PrimaryStatusSpecifies that phase 2 authentication sets that match the indicated primary status are copied.-StatusSpecifies that phase 2 authentication sets 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 phase 2 authentication sets that match the indicated policy store are copied.-WhatIf, -wiShows what would happen if the cmdlet runs.