11---
22title : What's New in PowerShell 7.6
33description : New features and changes released in PowerShell 7.6
4- ms.date : 02/18 /2025
4+ ms.date : 03/26 /2025
55---
66
77# What's New in PowerShell 7.6
88
9- PowerShell 7.6-preview.3 includes the following features, updates, and breaking changes. PowerShell
9+ PowerShell 7.6-preview.4 includes the following features, updates, and breaking changes. PowerShell
10107.6 is built on .NET 9.0.101 GA release.
1111
1212For a complete list of changes, see the [ CHANGELOG] [ 04 ] in the GitHub repository.
@@ -20,6 +20,10 @@ PowerShell 7.6-preview.3 includes the following updated modules:
2020
2121## Breaking Changes
2222
23+ - Fix ` WildcardPattern.Escape ` to escape lone backticks correctly ([ #25211 ] [ 25211 ] ) (Thanks
24+ @ArmaanMcleod !)
25+ - Convert ` -ChildPath ` parameter to ` string[] ` for ` Join-Path ` cmdlet ([ #24677 ] [ 24677 ] ) (Thanks
26+ @ArmaanMcleod !)
2327- Remove trailing space from event source name ([ #24192 ] [ 24192 ] ) (Thanks @MartinGC94 !)
2428
2529## Tab completion improvements
@@ -42,6 +46,34 @@ PowerShell 7.6-preview.3 includes the following updated modules:
4246 ([ #24907 ] [ 24907 ] ) (Thanks @ArmaanMcleod !)
4347- Add quote handling in ` Verb ` , ` StrictModeVersion ` , ` Scope ` and ` PropertyType ` Argument
4448 Completers with single helper method ([ #24839 ] [ 24839 ] ) (Thanks @ArmaanMcleod !)
49+ - Fix share completion with provider and spaces (#[ 19440] [ 19440 ] ) (Thanks @MartinGC94 !)
50+ - Improve variable type inference ([ #19830 ] [ 19830 ] ) (Thanks @MartinGC94 !)
51+ - Add tooltips for hashtable key completions ([ #17864 ] [ 17864 ] ) (Thanks @MartinGC94 !)
52+ - Fix type inference of parameters in classic functions ([ #25172 ] [ 25172 ] ) (Thanks @MartinGC94 !)
53+ - Improve assignment type inference ([ #21143 ] [ 21143 ] ) (Thanks @MartinGC94 !)
54+ - Exclude ** OutVariable** assignments within the same ` CommandAst ` when inferring variables
55+ ([ #25224 ] [ 25224 ] ) (Thanks @MartinGC94 !)
56+ - Fix parameter completion when script requirements fail ([ #17687 ] [ 17687 ] ) (Thanks @MartinGC94 !)
57+ - Improve the completion for attribute arguments ([ #25129 ] [ 25129 ] ) (Thanks @MartinGC94 !)
58+ - Fix completion that relies on pseudobinding in script blocks ([ #25122 ] [ 25122 ] ) (Thanks
59+ @MartinGC94 !)
60+ - Don't complete duplicate command names ([ #21113 ] [ 21113 ] ) (Thanks @MartinGC94 !)
61+ - Add completion for variables assigned by command redirection ([ #25104 ] [ 25104 ] ) (Thanks
62+ @MartinGC94 !)
63+ - Fix ` TypeName.GetReflectionType() ` to work when the ` TypeName ` instance represents a generic type
64+ definition within a ` GenericTypeName ` ([ #24985 ] [ 24985 ] )
65+ - Update variable/property assignment completion so it can fallback to type inference
66+ ([ #21134 ] [ 21134 ] ) (Thanks @MartinGC94 !)
67+ - Handle type inference for redirected commands ([ #21131 ] [ 21131 ] ) (Thanks @MartinGC94 !)
68+ - Use ` Get-Help ` approach to find ` about_*.help.txt ` files with correct locale for completions
69+ ([ #24194 ] [ 24194 ] ) (Thanks @MartinGC94 !)
70+ - Fix completion of variables assigned inside Do loops ([ #25076 ] [ 25076 ] ) (Thanks @MartinGC94 !)
71+ - Fix completion of provider paths when a path returns itself instead of its children
72+ ([ #24755 ] [ 24755 ] ) (Thanks @MartinGC94 !)
73+ - Enable completion of scoped variables without specifying scope ([ #20340 ] [ 20340 ] ) (Thanks
74+ @MartinGC94 !)
75+ - Fix issue with incomplete results when completing paths with wildcards in non-filesystem providers
76+ ([ #24757 ] [ 24757 ] ) (Thanks @MartinGC94 !)
4577
4678## Cmdlet improvements
4779
@@ -68,6 +100,22 @@ PowerShell 7.6-preview.3 includes the following updated modules:
68100 @ArmaanMcleod !)
69101- Stringify ** ErrorRecord** with empty exception message to empty string ([ #24949 ] [ 24949 ] ) (Thanks
70102 @MatejKafka !)
103+ - Add ` PipelineStopToken ` to ` Cmdlet ` which will be signaled when the pipeline is stopping
104+ ([ #24620 ] [ 24620 ] ) (Thanks @jborean93 !)
105+ - Fallback to AppLocker after ` WldpCanExecuteFile ` ([ #24912 ] [ 24912 ] )
106+ - Move .NET method invocation logging to after the needed type conversion is done for method
107+ arguments ([ #25022 ] [ 25022 ] )
108+ - Fix infinite loop in variable type inference ([ #25206 ] [ 25206 ] ) (Thanks @MartinGC94 !)
109+ - Remove the old fuzzy suggestion and fix the local script file name suggestion ([ #25177 ] [ 25177 ] )
110+ - Make ` SystemPolicy ` public APIs visible but non-op on Unix platforms so that they can be included
111+ in ` PowerShellStandard.Library ` ([ #25051 ] [ 25051 ] )
112+ - Set standard handles explicitly when starting a process with ` -NoNewWindow ` ([ #25061 ] [ 25061 ] )
113+ - Fix tooltip for variable expansion and include desc ([ #25112 ] [ 25112 ] ) (Thanks @jborean93 !)
114+ - Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest
115+ ([ #20409 ] [ 20409 ] ) (Thanks @MartinGC94 !)
116+ - Use script filepath when completing relative paths for using statements ([ #20017 ] [ 20017 ] ) (Thanks
117+ @MartinGC94 !)
118+ - Allow DSC parsing through OS architecture translation layers ([ #24852 ] [ 24852 ] ) (Thanks @bdeb1337 !)
71119
72120## Experimental features
73121
@@ -84,24 +132,56 @@ The following experimental features are included in PowerShell 7.6-preview.3:
84132[ 03 ] : ../learn/experimental-features.md#psserializejsonlongenumasnumber
85133[ 04 ] : https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/preview.md
86134
135+ [ 17687 ] : https://github.com/PowerShell/PowerShell/pull/17687
87136[ 17785 ] : https://github.com/PowerShell/PowerShell/pull/17785
137+ [ 17864 ] : https://github.com/PowerShell/PowerShell/pull/17864
88138[ 18019 ] : https://github.com/PowerShell/PowerShell/pull/18019
89139[ 18955 ] : https://github.com/PowerShell/PowerShell/pull/18955
140+ [ 19440 ] : https://github.com/PowerShell/PowerShell/pull/19440
141+ [ 19830 ] : https://github.com/PowerShell/PowerShell/pull/19830
142+ [ 20017 ] : https://github.com/PowerShell/PowerShell/pull/20017
90143[ 20330 ] : https://github.com/PowerShell/PowerShell/pull/20330
144+ [ 20340 ] : https://github.com/PowerShell/PowerShell/pull/20340
145+ [ 20409 ] : https://github.com/PowerShell/PowerShell/pull/20409
146+ [ 21113 ] : https://github.com/PowerShell/PowerShell/pull/21113
91147[ 21115 ] : https://github.com/PowerShell/PowerShell/pull/21115
92148[ 21117 ] : https://github.com/PowerShell/PowerShell/pull/21117
149+ [ 21131 ] : https://github.com/PowerShell/PowerShell/pull/21131
150+ [ 21134 ] : https://github.com/PowerShell/PowerShell/pull/21134
93151[ 21137 ] : https://github.com/PowerShell/PowerShell/pull/21137
152+ [ 21143 ] : https://github.com/PowerShell/PowerShell/pull/21143
94153[ 24192 ] : https://github.com/PowerShell/PowerShell/pull/24192
154+ [ 24194 ] : https://github.com/PowerShell/PowerShell/pull/24194
155+ [ 24620 ] : https://github.com/PowerShell/PowerShell/pull/24620
95156[ 24669 ] : https://github.com/PowerShell/PowerShell/pull/24669
157+ [ 24677 ] : https://github.com/PowerShell/PowerShell/pull/24677
96158[ 24711 ] : https://github.com/PowerShell/PowerShell/pull/24711
97159[ 24714 ] : https://github.com/PowerShell/PowerShell/pull/24714
98160[ 24747 ] : https://github.com/PowerShell/PowerShell/pull/24747
161+ [ 24755 ] : https://github.com/PowerShell/PowerShell/pull/24755
162+ [ 24757 ] : https://github.com/PowerShell/PowerShell/pull/24757
99163[ 24839 ] : https://github.com/PowerShell/PowerShell/pull/24839
164+ [ 24852 ] : https://github.com/PowerShell/PowerShell/pull/24852
100165[ 24879 ] : https://github.com/PowerShell/PowerShell/pull/24879
101166[ 24880 ] : https://github.com/PowerShell/PowerShell/pull/24880
102167[ 24907 ] : https://github.com/PowerShell/PowerShell/pull/24907
168+ [ 24912 ] : https://github.com/PowerShell/PowerShell/pull/24912
103169[ 24936 ] : https://github.com/PowerShell/PowerShell/pull/24936
104170[ 24949 ] : https://github.com/PowerShell/PowerShell/pull/24949
105171[ 24963 ] : https://github.com/PowerShell/PowerShell/pull/24963
106172[ 24971 ] : https://github.com/PowerShell/PowerShell/pull/24971
107173[ 24977 ] : https://github.com/PowerShell/PowerShell/pull/24977
174+ [ 24985 ] : https://github.com/PowerShell/PowerShell/pull/24985
175+ [ 25022 ] : https://github.com/PowerShell/PowerShell/pull/25022
176+ [ 25051 ] : https://github.com/PowerShell/PowerShell/pull/25051
177+ [ 25061 ] : https://github.com/PowerShell/PowerShell/pull/25061
178+ [ 25076 ] : https://github.com/PowerShell/PowerShell/pull/25076
179+ [ 25104 ] : https://github.com/PowerShell/PowerShell/pull/25104
180+ [ 25112 ] : https://github.com/PowerShell/PowerShell/pull/25112
181+ [ 25122 ] : https://github.com/PowerShell/PowerShell/pull/25122
182+ [ 25129 ] : https://github.com/PowerShell/PowerShell/pull/25129
183+ [ 25172 ] : https://github.com/PowerShell/PowerShell/pull/25172
184+ [ 25177 ] : https://github.com/PowerShell/PowerShell/pull/25177
185+ [ 25206 ] : https://github.com/PowerShell/PowerShell/pull/25206
186+ [ 25211 ] : https://github.com/PowerShell/PowerShell/pull/25211
187+ [ 25224 ] : https://github.com/PowerShell/PowerShell/pull/25224
0 commit comments