CmdID / PowerShell / Cmdlets / Set
Set-NetIPsecMainModeRule
Modifies existing main mode rules. Windows Server PowerShell reference
From the Windows Server PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-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 main mode rules of the indicated description are modified.-DisplayGroupSpecifies that only matching main mode rules of the indicated group association are modified.-DisplayNameSpecifies that only matching main mode rules of the indicated display name are modified.-EnabledSpecifies that matching main mode rules of the indicated state are modified.-GPOSessionSpecifies the network GPO from which to retrieve the rules to be modified.-GroupSpecifies that only matching main mode rules of the indicated group association are modified.-InputObjectSpecifies the input object that is used in a pipeline command.-LocalAddressSpecifies that network packets with matching IP addresses match this rule.-MainModeCryptoSetGets the IPsec main mode rules that are associated with the given main mode cryptographic set to be modified.-Name, -IDSpecifies that only matching main mode rules of the indicated name are modified.-NewDisplayNameSpecifies the new display name for an IPsec rule.-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 modified.-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.-RemoteAddressSpecifies that network packets with matching IP addresses match this rule.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.