CmdID / PowerShell / Cmdlets / Update
Update-NetIPsecRule
Updates an IPsec rule by adding or removing a set of IP addresses. Windows Server PowerShell reference
From the Windows Server PowerShell reference 14 parameters Its page in the reference
Parameters
-ActionSpecifies that the specified addresses should be added or deleted for an IPsec rule.-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-EndpointTypeSpecifies that the local or remote endpoint should be modified by adding or removing IP addresses.-GPOSessionSpecifies the network GPO from which to retrieve the rules to be updated.-IPsecRuleName, -ID, -NameSpecifies that only matching IPsec rules of the indicated name are updated.-IPv4AddressesSpecifies the list of IPv4 addresses that are updated with this cmdlet.-IPv6AddressesSpecifies the list of IPv6 addresses that are updated with this cmdlet.-InputObjectSpecifies the input object that is used in a pipeline command.-PassThruReturns an object representing the item with which you are working.-PolicyStoreSpecifies the policy store from which to retrieve the rules to be updated.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.