Skip to content

Commit 19edf93

Browse files
authored
Update Get-NetIPsecRule.md
Updating the details in -KeyModule parameter to reflect changes in the code for how this value is set, and set this information to be consistent across all the relevant documentation pages that reference it.
1 parent e237b6a commit 19edf93

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

docset/winserver2022-ps/netsecurity/Get-NetIPsecRule.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -600,15 +600,12 @@ Specifies that matching IPsec rules of the indicated key module are retrieved.
600600
This parameter specifies which keying modules to negotiate.
601601
The acceptable values for this parameter are: Default, AuthIP, IKEv1, or IKEv2.
602602
603-
- Default: Equivalent to both IKEv1 and AuthIP.
604-
Required in order for the rule to be applied to computers running Windows versions prior to nextref_server_7.
605-
---- There are authorization and cryptographic methods that are only compatible with certain keying modules.
606-
This is a very advanced setting intended only for specific interoperability scenarios.
607-
Overriding this parameter value may result in traffic being sent in plain-text if the authorization and cryptographic settings are not supported by the keying modules there.
603+
- Default: KeyModule is set based on the authentication method. As of Win11 24H2 and Server 2025, the Default is equivalent to both IKEv1 and IKEv2, and only sets AuthIP if the authentication method(s) require it. In previous releases, Default is equivalent to both IKEv1 and AuthIP. Required in order for the rule to be applied to computers running Windows versions prior to Server 2008.
608604
- AuthIP: Supported with phase 2 authentication.
609-
- IKEv1: Supported with pre-shared key (PSK), Certificates, and Kerberos.
610-
- IKEv2: Not supported with Kerberos, PSK, or NTLM.
611-
Windows versions prior to Windows Server 2012 only support the Default configuration.
605+
- IKEv1: Supported with pre-shared key (PSK), Certificates, and Kerberos. Supported with phase 1 authentication only.
606+
- IKEv2: Not supported with Kerberos, PSK, or NTLM. Supported with phase 1 authentication only.
607+
608+
The default value is Default. There are authentication and cryptographic methods that are only compatible with certain keying modules. This is a very advanced setting intended only for specific interoperability scenarios. Overriding this parameter value may result in traffic being sent in plain-text if the authorization and cryptographic settings are not supported by the keying modules. Windows versions prior to Windows Server 2012 only support the Default configuration.
612609
613610
```yaml
614611
Type: KeyModule[]
@@ -618,7 +615,7 @@ Accepted values: Default, IKEv1, AuthIP, IKEv2
618615

619616
Required: False
620617
Position: Named
621-
Default value: None
618+
Default value: Default
622619
Accept pipeline input: False
623620
Accept wildcard characters: False
624621
```

0 commit comments

Comments
 (0)