PowerShell 7.6 changes
Microsoft's edit ·
Microsoft's commit message in MicrosoftDocs/PowerShell-Docs · commit 68f0036 · +92 −6 lines · also on GitHub
⋯ 5 unchanged lines
66
77
# What's New in PowerShell 7.6
88
9
−PowerShell 7.6-preview.4 includes the following features, updates, and breaking changes. PowerShell
9
+PowerShell 7.6-preview.5 includes the following features, updates, and breaking changes. PowerShell
1010
7.6 is built on .NET 9.0.101 GA release.
1111
1212
For a complete list of changes, see the [CHANGELOG][04] in the GitHub repository.
1313
1414
## Updated modules
1515
16
−PowerShell 7.6-preview.4 includes the following updated modules:
16
+PowerShell 7.6-preview.5 includes the following updated modules:
1717
1818
- **Microsoft.PowerShell.PSResourceGet** v1.1.0
19
−- **PSReadLine** v2.3.6
19
+- **PSReadLine** v2.4.4-beta4
2020
- **Microsoft.PowerShell.ThreadJob** v2.2.0
2121
- **ThreadJob** v2.1.0
2222
⋯ 12 unchanged lines
3535
3636
## Tab completion improvements
3737
38
+- Use parameter `HelpMessage` for tool tip in parameter completion ([#25108][25108]) (Thanks @jborean93!)
39
+- Remove duplicate modules from completion results ([#25538][25538]) (Thanks @MartinGC94!)
40
+- Add completion for variables assigned in `ArrayLiteralAst` and `ParenExpressionAst` ([#25303][25303]) (Thanks @MartinGC94!)
41
+- Fix tab completion for env/function variables ([#25346][25346]) (Thanks @jborean93!)
3842
- Update Named and Statement block type inference to not consider **AssignmentStatements** and
3943
Increment/decrement operators as part of their output ([#21137][21137]) (Thanks @MartinGC94!)
4044
- Add `-PropertyType` argument completer for `New-ItemProperty` ([#21117][21117]) (Thanks
⋯ 43 unchanged lines
8488
8589
## Cmdlet improvements
8690
91
+- Fix Out-GridView by replacing use of obsolete BinaryFormatter with custom implementation ([#25497][25497])
92
+ (Thanks @mawosoft!)
93
+- Improve verbose and debug logging level messaging in web cmdlets ([#25510][25510]) (Thanks
94
+ @JustinGrote!)
95
+- Improve debug logging of Web cmdlet request and response ([#25479][25479]) (Thanks @JustinGrote!)
96
+- Add the parameter `Register-ArgumentCompleter -NativeFallback` to support registering a cover-all
97
+ completer for native commands ([#25230][25230])
98
+- Treat `-Target` as literal in `New-Item` ([#25186][25186]) (Thanks @GameMicrowave!)
99
+- Update PATH environment variable for package manager executable on Windows ([#25847][25847])
100
+- Update `Get-Service` to ignore common errors when retrieving non-critical properties for a service
101
+ ([#24245][24245]) (Thanks @jborean93!)
102
+- Add single/double quote support for `Join-String` Argument Completer ([#25283][25283]) (Thanks
103
+ @ArmaanMcleod!)
104
+- Remove `IsScreenReaderActive()` check from `ConsoleHost` ([#26118][26118])
105
+- Improve the `$using` expression support in `Invoke-Command` ([#24025][24025]) (Thanks @jborean93!)
106
+- Change the default feedback provider timeout from 300ms to 1000ms ([#25910][25910])
107
+- Add support for thousands separators in `[bigint]` casting ([#25396][25396]) (Thanks
108
+ @AbishekPonmudi!)
109
+- Add `MethodInvocation` trace for overload tracing ([#21320][21320]) (Thanks @jborean93!)
110
+- Fix `ConvertFrom-Json` to ignore comments inside array literals ([#14553][14553])
111
+ ([#26050][26050]) (Thanks @MatejKafka!)
112
+- Fix `-Debug` to not trigger the `ShouldProcess` prompt ([#26081][26081])
113
+- Fix `Write-Host` to respect `OutputRendering = PlainText` ([#21188][21188])
114
+- Fix debug tracing error with magic extents ([#25726][25726]) (Thanks @jborean93!)
115
+- Fix quoting in completion if the path includes a double quote character ([#25631][25631]) (Thanks
116
+ @MartinGC94!)
117
+- Fix the common parameter `-ProgressAction` for advanced functions ([#24591][24591]) (Thanks
118
+ @cmkb3!)
119
+- Fix the `NullReferenceException` when writing progress records to console from multiple threads
120
+ ([#25440][25440]) (Thanks @kborowinski!)
121
+- Use absolute path in `FileSystemProvider.CreateDirectory` ([#24615][24615]) (Thanks @Tadas!)
122
+- Make inherited protected internal instance members accessible in PowerShell class scope
123
+ ([#25245][25245]) (Thanks @mawosoft!)
124
+- Add internal methods to check Preferences ([#25514][25514]) (Thanks @iSazonov!)
87125
- Add `-ExcludeModule` parameter to `Get-Command` ([#18955][18955]) (Thanks @MartinGC94!)
88126
- Return correct **FileName** property for `Get-Item` when listing alternate data streams
89127
([#18019][18019]) (Thanks @kilasuit!)
⋯ 9 unchanged lines
99137
100138
## Engine improvements
101139
140
+- Update the **PSDiagnostics** module to manage the PowerShellCore provider in PowerShell 7
141
+ ([#25590][25590])
142
+- Allow opt-out of the named-pipe listener using the environment variable
143
+ `POWERSHELL_DIAGNOSTICS_OPTOUT` ([#26086][26086])
144
+- Ensure that socket timeouts are set only during the token validation ([#26066][26066])
145
+- Fix `stderr` output of console host to respect `NO_COLOR` ([#24391][24391])
146
+- Update PSRP protocol to deprecate session key exchange between newer client and server
147
+ ([#25774][25774])
148
+- Fix the `ssh` PATH check in `SSHConnectionInfo` when the default Runspace is not available
149
+ ([#25780][25780]) (Thanks @jborean93!)
150
+- Adding hex format for native command exit codes ([#21067][21067]) (Thanks @sba923!)
151
+- Fix infinite loop crash in variable type inference ([#25696][25696]) (Thanks @MartinGC94!)
152
+- Add `PSForEach` and `PSWhere` as aliases for the PowerShell intrinsic methods `Where` and
153
+ `Foreach` ([#25511][25511]) (Thanks @powercode!)
102154
- Added the AIShell module to telemetry collection list ([#24747][24747])
103155
- Added helper in `EnumSingleTypeConverter` to get enum names as array ([#17785][17785]) (Thanks
104156
@fflaten!)
⋯ 13 unchanged lines
118170
in `PowerShellStandard.Library` ([#25051][25051])
119171
- Set standard handles explicitly when starting a process with `-NoNewWindow` ([#25061][25061])
120172
- Fix tooltip for variable expansion and include desc ([#25112][25112]) (Thanks @jborean93!)
121
−- Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest
122
− ([#20409][20409]) (Thanks @MartinGC94!)
123173
- Use script filepath when completing relative paths for using statements ([#20017][20017]) (Thanks
124174
@MartinGC94!)
125175
- Allow DSC parsing through OS architecture translation layers ([#24852][24852]) (Thanks @bdeb1337!)
⋯ 13 unchanged lines
139189
[03]: ../learn/experimental-features.md#psserializejsonlongenumasnumber
140190
[04]: https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/preview.md
141191
192
+[14553]: https://github.com/PowerShell/PowerShell/pull/14553
142193
[17687]: https://github.com/PowerShell/PowerShell/pull/17687
143194
[17785]: https://github.com/PowerShell/PowerShell/pull/17785
144195
[17864]: https://github.com/PowerShell/PowerShell/pull/17864
⋯ 4 unchanged lines
149200
[20017]: https://github.com/PowerShell/PowerShell/pull/20017
150201
[20330]: https://github.com/PowerShell/PowerShell/pull/20330
151202
[20340]: https://github.com/PowerShell/PowerShell/pull/20340
152
−[20409]: https://github.com/PowerShell/PowerShell/pull/20409
203
+[21067]: https://github.com/PowerShell/PowerShell/pull/21067
153204
[21113]: https://github.com/PowerShell/PowerShell/pull/21113
154205
[21115]: https://github.com/PowerShell/PowerShell/pull/21115
155206
[21117]: https://github.com/PowerShell/PowerShell/pull/21117
⋯ 1 unchanged line
157208
[21134]: https://github.com/PowerShell/PowerShell/pull/21134
158209
[21137]: https://github.com/PowerShell/PowerShell/pull/21137
159210
[21143]: https://github.com/PowerShell/PowerShell/pull/21143
211
+[21188]: https://github.com/PowerShell/PowerShell/pull/21188
212
+[21320]: https://github.com/PowerShell/PowerShell/pull/21320
213
+[24025]: https://github.com/PowerShell/PowerShell/pull/24025
160214
[24192]: https://github.com/PowerShell/PowerShell/pull/24192
161215
[24194]: https://github.com/PowerShell/PowerShell/pull/24194
216
+[24245]: https://github.com/PowerShell/PowerShell/pull/24245
217
+[24391]: https://github.com/PowerShell/PowerShell/pull/24391
218
+[24591]: https://github.com/PowerShell/PowerShell/pull/24591
219
+[24615]: https://github.com/PowerShell/PowerShell/pull/24615
162220
[24620]: https://github.com/PowerShell/PowerShell/pull/24620
163221
[24669]: https://github.com/PowerShell/PowerShell/pull/24669
164222
[24677]: https://github.com/PowerShell/PowerShell/pull/24677
⋯ 19 unchanged lines
184242
[25061]: https://github.com/PowerShell/PowerShell/pull/25061
185243
[25076]: https://github.com/PowerShell/PowerShell/pull/25076
186244
[25104]: https://github.com/PowerShell/PowerShell/pull/25104
245
+[25108]: https://github.com/PowerShell/PowerShell/pull/25108
187246
[25112]: https://github.com/PowerShell/PowerShell/pull/25112
188247
[25122]: https://github.com/PowerShell/PowerShell/pull/25122
189248
[25129]: https://github.com/PowerShell/PowerShell/pull/25129
190249
[25172]: https://github.com/PowerShell/PowerShell/pull/25172
191250
[25177]: https://github.com/PowerShell/PowerShell/pull/25177
251
+[25186]: https://github.com/PowerShell/PowerShell/pull/25186
192252
[25206]: https://github.com/PowerShell/PowerShell/pull/25206
193253
[25211]: https://github.com/PowerShell/PowerShell/pull/25211
194254
[25224]: https://github.com/PowerShell/PowerShell/pull/25224
255
+[25230]: https://github.com/PowerShell/PowerShell/pull/25230
256
+[25245]: https://github.com/PowerShell/PowerShell/pull/25245
257
+[25283]: https://github.com/PowerShell/PowerShell/pull/25283
258
+[25303]: https://github.com/PowerShell/PowerShell/pull/25303
259
+[25346]: https://github.com/PowerShell/PowerShell/pull/25346
260
+[25396]: https://github.com/PowerShell/PowerShell/pull/25396
261
+[25440]: https://github.com/PowerShell/PowerShell/pull/25440
262
+[25479]: https://github.com/PowerShell/PowerShell/pull/25479
263
+[25497]: https://github.com/PowerShell/PowerShell/pull/25497
264
+[25510]: https://github.com/PowerShell/PowerShell/pull/25510
265
+[25511]: https://github.com/PowerShell/PowerShell/pull/25511
266
+[25514]: https://github.com/PowerShell/PowerShell/pull/25514
267
+[25538]: https://github.com/PowerShell/PowerShell/pull/25538
268
+[25590]: https://github.com/PowerShell/PowerShell/pull/25590
269
+[25631]: https://github.com/PowerShell/PowerShell/pull/25631
270
+[25696]: https://github.com/PowerShell/PowerShell/pull/25696
271
+[25726]: https://github.com/PowerShell/PowerShell/pull/25726
272
+[25774]: https://github.com/PowerShell/PowerShell/pull/25774
273
+[25780]: https://github.com/PowerShell/PowerShell/pull/25780
274
+[25847]: https://github.com/PowerShell/PowerShell/pull/25847
275
+[25910]: https://github.com/PowerShell/PowerShell/pull/25910
276
+[26050]: https://github.com/PowerShell/PowerShell/pull/26050
277
+[26066]: https://github.com/PowerShell/PowerShell/pull/26066
278
+[26081]: https://github.com/PowerShell/PowerShell/pull/26081
279
+[26086]: https://github.com/PowerShell/PowerShell/pull/26086
280
+[26118]: https://github.com/PowerShell/PowerShell/pull/26118
Microsoft's Markdown source from MicrosoftDocs/PowerShell-Docs, © Microsoft Corporation, under CC BY 4.0. Changed lines with up to 3 unchanged lines around each; ChangeIntel kept this copy 10 Oct 00:24 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.