1
1
---
2
2
description : Lists the currently available experimental features and how to use them.
3
- ms.date : 08/12 /2022
3
+ ms.date : 08/18 /2022
4
4
title : Using Experimental Features in PowerShell
5
5
---
6
6
# Using Experimental Features in PowerShell
@@ -35,14 +35,14 @@ Legend
35
35
| Name | 7.0 | 7.1 | 7.2 | 7.3 |
36
36
| ---------------------------------------------------------- | :--------------: | :--------------: | :--------------: | :--------------: |
37
37
| PSNullConditionalOperators | ✔ ;️ ; | ✅ ; | | |
38
- | PSUnixFileStat (non-Windows only) | ✔ ;️ ; | &#x 2714 ;&#x fe0f ; | &#x 2705 ; | |
38
+ | PSUnixFileStat (non-Windows only) | ✔ ;️ ; | &#x 2705 ; | | |
39
39
| Microsoft.PowerShell.Utility.PSManageBreakpointsInRunspace | ✔ ;️ ; | ✔ ;️ ; | ✅ ; | |
40
40
| PSCultureInvariantReplaceOperator | | ✔ ;️ ; | ✅ ; | |
41
41
| PSNotApplyErrorActionToStderr | | ✔ ;️ ; | ✅ ; | |
42
42
| PSImplicitRemotingBatching | ✔ ;️ ; | ✔ ;️ ; | ❌ ; | |
43
43
| PSCommandNotFoundSuggestion | ✔ ;️ ; | ✔ ;️ ; | ✔ ;️ ; | ✔ ;️ ; |
44
44
| PSDesiredStateConfiguration.InvokeDscResource | ✔ ;️ ; | ✔ ;️ ; | ✔ ;️ ; | ✔ ;️ ; |
45
- | PSNativePSPathResolution | | ✔ ;️ ; | ✔ ;️ ; | &#x 274c ; |
45
+ | PSNativePSPathResolution | | ✔ ;️ ; | ✔ ;️ ; | &#x 274c ; |
46
46
| PSSubsystemPluginModel | | ✔ ;️ ; | ✔ ;️ ; | ✔ ;️ ; |
47
47
| PSNativeCommandArgumentPassing | | | ✔ ;️ ; | ✔ ;️ ; |
48
48
| PSAnsiRenderingFileInfo | | | ✔ ;️ ; | ✔ ;️ ; |
162
162
163
163
## PSCultureInvariantReplaceOperator
164
164
165
+ > [ !NOTE]
166
+ > This feature became mainstream in PowerShell 7.2.
167
+
165
168
When the left-hand operand in a ` -replace ` operator statement is not a string, that operand is
166
169
converted to a string.
167
170
@@ -414,6 +417,9 @@ operating system.
414
417
415
418
## PSNotApplyErrorActionToStderr
416
419
420
+ > [ !NOTE]
421
+ > This feature became mainstream in PowerShell 7.2.
422
+
417
423
When this experimental feature is enabled, error records redirected from native commands, like when
418
424
using redirection operators (` 2>&1 ` ), are not written to the ` $Error ` variable and the preference
419
425
variable ` $ErrorActionPreference ` does not affect the redirected output.
@@ -427,6 +433,9 @@ When a native command has a non-zero exit code, `$?` is set to `$false`. If the
427
433
428
434
## PSNullConditionalOperators
429
435
436
+ > [ !NOTE]
437
+ > This feature became mainstream in PowerShell 7.1.
438
+
430
439
Introduces new operators for Null conditional member access operators - ` ?. ` and ` ?[] ` . Null member
431
440
access operators can be used on scalar types and array types. Return the value of the accessed
432
441
member if the variable is not null. If the value of the variable is null, then return null.
0 commit comments