CmdID

CmdID / PowerShell / Cmdlets / Set

Set-NetIPsecRule

Modifies existing IPsec rules. Windows Server PowerShell reference

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

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

Parameters

42 in the Windows Server PowerShell reference
Show its 42 parameters
-AllowSetKeyIndicates that matching IPsec rules of the indicated value are modified.
-AllowWatchKeyIndicates that matching IPsec rules of the indicated value are modified.
-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.
-DescriptionSpecifies that matching IPsec rules of the indicated description are modified.
-DisplayGroupSpecifies that only matching firewall rules of the indicated group association are modified.
-DisplayNameSpecifies that only matching IPsec rules of the indicated display name are modified.
-EnabledSpecifies that matching IPsec rules of the indicated state are modified.
-EncryptedTunnelBypassIndicates that matching IPsec rules of the specified value are modified.
-ForwardPathLifetimeSpecifies that matching IPsec rules of the specified path lifetime value are modified.
-GPOSessionSpecifies the network GPO from which to retrieve the rules to be modified.
-GroupSpecifies that only matching IPsec rules of the indicated group association are modified.
-IPsecRuleName, -ID, -NameSpecifies that only matching IPsec rules of the indicated name are modified.
-InboundSecurity, -SecInSpecifies that matching IPsec rules of the indicated security policy are modified.
-InputObjectSpecifies the input object that is used in a pipeline command.
-InterfaceAliasSpecifies the alias of the interface that applies to the traffic.
-InterfaceTypeSpecifies that only network connections made through the indicated interface types are subject to the requirements of this rule.
-KeyModuleSpecifies that matching IPsec rules of the indicated key module are modified.
-LocalAddressSpecifies that network packets with matching IP addresses match this rule.
-LocalPortSpecifies that network packets with matching IP port numbers match this rule.
-LocalTunnelEndpointSpecifies the IP address of the computer or gateway device that sends traffic from computers that match the *LocalAddress* parameter value to computers that match the *RemoteAddress* parameter value.
-MachineSpecifies that matching IPsec rules of the indicated computer accounts are modified.
-ModeSpecifies that matching IPsec rules of the indicated mode are modified.
-NewDisplayNameSpecifies the new display name for an IPsec rule.
-OutboundSecurity, -SecOutSpecifies that matching IPsec rules of the indicated security policy are modified.
-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 modified.
-Phase2AuthSetGets the IPsec rules that are associated with the given phase 2 authentication set to be copied.
-PlatformSpecifies which version of Windows the associated rule applies.
-PolicyStoreSpecifies the policy store from which to retrieve the rules to be modified.
-ProfileSpecifies one or more profiles to which the rule is assigned.
-ProtocolSpecifies that network packets with matching IP addresses match this rule.
-QuickModeCryptoSetSpecifies that matching IPsec rules of the specified quick mode cryptographic set are modified.
-RemoteAddressSpecifies that network packets with matching IP addresses match this rule.
-RemotePortSpecifies that network packets with matching IP port numbers match this rule.
-RemoteTunnelEndpointSpecifies the IP address of the computer or gateway device that secures traffic from computers that match the *LocalAddress* parameter value to computers that match the *RemoteAddress* parameter valu…
-RemoteTunnelHostnameSpecifies that matching IPsec rules of the specified second end point tunnel host name are modified.
-RequireAuthorizationIndicates that matching IPsec rules of the specified value are modified.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-UserSpecifies that matching IPsec rules of the indicated user accounts are modified.
-WhatIf, -wiShows what would happen if the cmdlet runs.