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