CmdID

CmdID / PowerShell / Cmdlets / Disable

Disable-NetIPsecMainModeRule

Disables a main mode rule. Windows Server PowerShell reference

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

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

Parameters

27 in the Windows Server PowerShell reference
Show its 27 parameters
-AllIndicates that all of the main mode rules within the specified policy store are disabled.
-AsJobRuns the cmdlet as a background job.
-AssociatedNetFirewallAddressFilterGets the main mode rules that are associated with the given address filter to be disabled.
-AssociatedNetFirewallProfileGets the main mode rules that are associated with the given security filter to be disabled.
-AssociatedNetIPsecMainModeCryptoSetGets the main mode rules that are associated, via the pipeline, with the input main mode cryptographic set to be disabled.
-AssociatedNetIPsecPhase1AuthSetGets the main mode rules that are associated with the given phase 1 authentication 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 main mode rules of the indicated description are disabled.
-DisplayGroupSpecifies that only matching main mode rules of the indicated group association are disabled.
-DisplayNameSpecifies that only matching main mode rules of the indicated display name are disabled.
-EnabledSpecifies that matching main mode rules of the indicated state are disabled.
-GPOSessionSpecifies the network GPO from which to retrieve the rules to be disabled.
-GroupSpecifies that only matching main mode rules of the indicated group association are disabled.
-InputObjectSpecifies the input object that is used in a pipeline command.
-MainModeCryptoSetSpecifies the main mode rules that are associated with the given main mode cryptographic set to be disabled.
-Name, -IDSpecifies that only matching main mode rules of the indicated name are disabled.
-PassThruReturns an object representing the item with which you are working.
-Phase1AuthSetSpecifies the main mode rules that are associated with the given phase 1 authentication set to be disabled.
-PolicyStoreSpecifies the policy store from which to retrieve the rules to be disabled.
-PolicyStoreSourceSpecifies that main mode rules that match the indicated policy store source are disabled.
-PolicyStoreSourceTypeSpecifies the type of policy store where the rule originated if the object is retrieved from the ActiveStore with the TracePolicyStoreSource option set.
-PrimaryStatusSpecifies that main mode rules that match the indicated primary status are disabled.
-StatusSpecifies that main mode rules that match the indicated status are disabled.
-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 disabled.
-WhatIf, -wiShows what would happen if the cmdlet runs.