PowerShell 7.5 changes
Microsoft's edit ·
Microsoft's commit message in MicrosoftDocs/PowerShell-Docs · commit ceeb4c4 · +18 −16 lines · also on GitHub
11
---
22
title: What's New in PowerShell 7.5
33
description: New features and changes released in PowerShell 7.5
4
−ms.date: 01/23/2025
4
+ms.date: 01/29/2025
55
---
66
77
# What's New in PowerShell 7.5
⋯ 1 unchanged line
99
PowerShell 7.5.0 includes the following features, updates, and breaking changes. PowerShell
1010
7.5 is built on .NET 9.0.1 GA release.
1111
12
−For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repository.
12
+For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repository. For more
13
+information about .NET 9, see [What's new in .NET 9][07].
1314
1415
## Breaking Changes
1516
⋯ 104 unchanged lines
120121
@jborean93!)
121122
- Add telemetry to check for specific tags when importing a module ([#20371][20371])
122123
- Add `PSAdapter` and `ConsoleGuiTools` to module load telemetry allowlist ([#20641][20641])
123
−- Add Winget module to track usage ([#21040][21040])
124
+- Add WinGet module to track usage ([#21040][21040])
124125
- Ensure the filename is not null when logging WDAC ETW events ([#20910][20910]) (Thanks
125126
@jborean93!)
126127
- Fix four regressions introduced by the WDAC logging feature ([#20913][20913])
⋯ 62 unchanged lines
189190
$groupResult = foreach($test in $tests.GetEnumerator()) {
190191
$ms = (Measure-Command { & $test.Value -Count $_ }).TotalMilliseconds
191192
192
−[pscustomobject]@{
193
+ [pscustomobject]@{
193194
CollectionSize = $_
194195
Test = $test.Key
195196
TotalMilliseconds = [math]::Round($ms, 2)
196197
}
197198
198
−[GC]::Collect()
199
− [GC]::WaitForPendingFinalizers()
199
+ [GC]::Collect()
200
+ [GC]::WaitForPendingFinalizers()
200201
}
201202
202
−$groupResult = $groupResult | Sort-Object TotalMilliseconds
203
− $groupResult | Select-Object *, @{
204
− Name = 'RelativeSpeed'
205
− Expression = {
206
− $relativeSpeed = $_.TotalMilliseconds / $groupResult[0].TotalMilliseconds
207
− $speed = [math]::Round($relativeSpeed, 2).ToString() + 'x'
208
− if ($speed -eq '1x') { $speed } else { $speed + ' slower' }
209
− }
210
− } | Format-Table -AutoSize
203
+ $groupResult = $groupResult | Sort-Object TotalMilliseconds
204
+ $groupResult | Select-Object *, @{
205
+ Name = 'RelativeSpeed'
206
+ Expression = {
207
+ $relativeSpeed = $_.TotalMilliseconds / $groupResult[0].TotalMilliseconds
208
+ $speed = [math]::Round($relativeSpeed, 2).ToString() + 'x'
209
+ if ($speed -eq '1x') { $speed } else { $speed + ' slower' }
210
+ }
211
+ } | Format-Table -AutoSize
211212
}
212213
```
213214
⋯ 35 unchanged lines
249250
250251
<!-- end of content -->
251252
<!-- reference links -->
252
−[chg]: https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/preview.md
253
+[chg]: https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/7.5.md
253254
254255
[01]: ../learn/experimental-features.md#psnativewindowstildeexpansion
255256
[02]: ../learn/experimental-features.md#pscommandnotfoundsuggestion
⋯ 1 unchanged line
257258
[04]: ../learn/experimental-features.md#psmoduleautoloadskipofflinefiles
258259
[05]: ../learn/experimental-features.md#psredirecttovariable
259260
[06]: ../learn/experimental-features.md#psserializejsonlongenumasnumber
261
+[07]: /dotnet/core/whats-new/dotnet-9/overview)
260262
261263
[19896]: https://github.com/PowerShell/PowerShell/pull/19896
262264
[20014]: https://github.com/PowerShell/PowerShell/pull/20014
⋯ 68 unchanged lines
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.