CmdID / PowerShell / Cmdlets / Enable
Enable-NetIPsecRule
Enables a previously disabled IPsec rule. Windows Server PowerShell reference
From the Windows Server PowerShell reference 44 parameters Its page in the reference
Parameters
Show its 44 parameters
-AllIndicates that all of the IPsec rules within the specified policy store are enabled.-AllowSetKeyIndicates that matching IPsec rules of the indicated value are enabled.-AllowWatchKeyIndicates that matching IPsec rules of the indicated value are enabled.-AsJobRuns the cmdlet as a background job.-AssociatedNetFirewallAddressFilterGets only the IPsec rules that are associated with the given address filter to be enabled.-AssociatedNetFirewallInterfaceFilterGets the IPsec rules that are associated with the given interface filter to be enabled.-AssociatedNetFirewallInterfaceTypeFilterGets the IPsec rules that are associated with the given interface type filter to be enabled.-AssociatedNetFirewallPortFilterGets the IPsec rules that are associated with the given port filter to be enabled.-AssociatedNetFirewallProfileGets the IPsec rules that are associated with the given firewall profile type to be enabled.-AssociatedNetIPsecPhase1AuthSetGets the IPsec rules that are associated with the given phase 1 authentication set to be enabled.-AssociatedNetIPsecPhase2AuthSetGets the IPsec rules that are associated, via the pipeline, with the input phase 2 authentication set to be enabled.-AssociatedNetIPsecQuickModeCryptoSetGets the IPsec rules that are associated, via the pipeline, with the input quick mode cryptographic set to be enabled.-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 enabled.-DisplayGroupSpecifies that only matching firewall rules of the indicated group association are enabled.-DisplayNameSpecifies that only matching IPsec rules of the indicated display name are enabled.-EnabledSpecifies that matching IPsec rules of the indicated state are enabled.-EncryptedTunnelBypassIndicates that matching IPsec rules of the specified value are enabled.-ForwardPathLifetimeSpecifies that matching IPsec rules of the specified path lifetime value are enabled.-GPOSessionSpecifies the network GPO from which to retrieve the rules to be enabled.-GroupSpecifies that only matching IPsec rules of the indicated group association are enabled.-IPsecRuleName, -ID, -NameSpecifies an array of names of IPSec rules to enable.-InboundSecurity, -SecInSpecifies that matching IPsec rules of the indicated security policy are enabled.-InputObjectSpecifies the input object that is used in a pipeline command.-KeyModuleSpecifies that matching IPsec rules of the indicated key module are enabled.-MachineSpecifies that matching IPsec rules of the indicated computer accounts are enabled.-ModeSpecifies that matching IPsec rules of the indicated mode are enabled.-OutboundSecurity, -SecOutSpecifies that matching IPsec rules of the indicated security policy are enabled.-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 enabled.-Phase2AuthSetGets the IPsec rules that are associated with the given phase 2 authentication set to be enabled.-PolicyStoreSpecifies the policy store from which to retrieve the rules to be enabled.-PolicyStoreSourceSpecifies that IPsec rules matching the indicated policy store source are enabled.-PolicyStoreSourceTypeSpecifies that IPsec rules that match the indicated policy store source type are enabled.-PrimaryStatusSpecifies that IPsec rules that match the indicated primary status are enabled.-QuickModeCryptoSetSpecifies that matching IPsec rules of the specified quick mode cryptographic set are enabled.-RemoteTunnelHostnameSpecifies that matching IPsec rules of the specified second end point tunnel host name are enabled.-RequireAuthorizationIndicates that matching IPsec rules of the specified value are enabled.-StatusSpecifies that IPsec rules that match the indicated status are enabled.-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 enabled.-WhatIf, -wiShows what would happen if the cmdlet runs.