CmdID / PowerShell / Cmdlets / Enable
Enable-NetIPsecMainModeRule
Enables a previously disabled main mode rule. Windows Server PowerShell reference
From the Windows Server PowerShell reference 27 parameters Its page in the reference
Parameters
Show its 27 parameters
-AllIndicates that all of the main mode rules within the specified policy store are enabled.-AsJobRuns the cmdlet as a background job.-AssociatedNetFirewallAddressFilterGets the main mode rules that are associated with the given address filter to be enabled.-AssociatedNetFirewallProfileGets the main mode rules that are associated with the given firewall profile type to be enabled.-AssociatedNetIPsecMainModeCryptoSetGets the main mode rules that are associated, via the pipeline, with the input main mode cryptographic set to be enabled.-AssociatedNetIPsecPhase1AuthSetGets the IPsec rules that are associated with the given phase 1 authentication 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 main mode rules of the indicated description are enabled.-DisplayGroupSpecifies that only matching main mode rules of the indicated group association are enabled.-DisplayNameSpecifies that only matching main mode rules of the indicated display name are enabled.-EnabledSpecifies that matching main mode rules of the indicated state are enabled.-GPOSessionSpecifies the network Group Policy Object (GPO) from which to retrieve the rules to be enabled.-GroupSpecifies that only matching main mode rules of the indicated group association are enabled.-InputObjectSpecifies the input object that is used in a pipeline command.-MainModeCryptoSetGets the IPsec main mode rules that are associated with the given main mode cryptographic set to be enabled.-Name, -IDSpecifies that only matching main mode rules of the indicated name are enabled.-PassThruReturns an object representing the item with which you are working.-Phase1AuthSetGets the main mode rules that are associated with the given phase 1 authentication set to be enabled.-PolicyStoreTargets the policy store from which to retrieve the rules to be enabled.-PolicyStoreSourceSpecifies that main mode rules matching the indicated policy store source are enabled.-PolicyStoreSourceTypeSpecifies that main mode rules that match the indicated policy store source type are enabled.-PrimaryStatusSpecifies that main mode rules that match the indicated primary status are enabled.-StatusSpecifies that main mode rules that match the indicated status are enabled.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-TracePolicyStoreIndicates that the main mode rules that match the indicated policy store are enabled.-WhatIf, -wiShows what would happen if the cmdlet runs.