11---
22title : What's New in PowerShell 7.5
33description : 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
88
99PowerShell 7.5.0 includes the following features, updates, and breaking changes. PowerShell
10107.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
@@ -21,6 +22,9 @@ For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repositor
2122- The Windows installer now remembers installation options used and uses them to initialize options
2223 for the next installation ([ #20420 ] [ 20420 ] ) (Thanks @reduckted !)
2324- ` ConvertTo-Json ` now serializes ` BigInteger ` as a number ([ #21000 ] [ 21000 ] ) (Thanks @jborean93 !)
25+ - .NET 9 removed the ` BinaryFormatter ` implementation causing a regression in the ` Out-GridView `
26+ cmdlet. The search feature of ` Out-GridView ` doesn't work in PowerShell 7.5. This problem is
27+ tracked in [ Issue #24749 ] [ 24749 ] .
2428
2529## Updated modules
2630
@@ -120,7 +124,7 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co
120124 @jborean93 !)
121125- Add telemetry to check for specific tags when importing a module ([ #20371 ] [ 20371 ] )
122126- Add ` PSAdapter ` and ` ConsoleGuiTools ` to module load telemetry allowlist ([ #20641 ] [ 20641 ] )
123- - Add Winget module to track usage ([ #21040 ] [ 21040 ] )
127+ - Add WinGet module to track usage ([ #21040 ] [ 21040 ] )
124128- Ensure the filename is not null when logging WDAC ETW events ([ #20910 ] [ 20910 ] ) (Thanks
125129 @jborean93 !)
126130- Fix four regressions introduced by the WDAC logging feature ([ #20913 ] [ 20913 ] )
@@ -189,25 +193,25 @@ $tests = @{
189193 $groupResult = foreach($test in $tests.GetEnumerator()) {
190194 $ms = (Measure-Command { & $test.Value -Count $_ }).TotalMilliseconds
191195
192- [pscustomobject]@{
196+ [pscustomobject]@{
193197 CollectionSize = $_
194198 Test = $test.Key
195199 TotalMilliseconds = [math]::Round($ms, 2)
196200 }
197201
198- [GC]::Collect()
199- [GC]::WaitForPendingFinalizers()
202+ [GC]::Collect()
203+ [GC]::WaitForPendingFinalizers()
200204 }
201205
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
206+ $groupResult = $groupResult | Sort-Object TotalMilliseconds
207+ $groupResult | Select-Object *, @{
208+ Name = 'RelativeSpeed'
209+ Expression = {
210+ $relativeSpeed = $_.TotalMilliseconds / $groupResult[0].TotalMilliseconds
211+ $speed = [math]::Round($relativeSpeed, 2).ToString() + 'x'
212+ if ($speed -eq '1x') { $speed } else { $speed + ' slower' }
213+ }
214+ } | Format-Table -AutoSize
211215}
212216```
213217
@@ -249,14 +253,15 @@ CollectionSize Test TotalMilliseconds RelativeSpeed
249253
250254<!-- end of content -->
251255<!-- reference links -->
252- [ chg ] : https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/preview .md
256+ [ chg ] : https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/7.5 .md
253257
254258[ 01 ] : ../learn/experimental-features.md#psnativewindowstildeexpansion
255259[ 02 ] : ../learn/experimental-features.md#pscommandnotfoundsuggestion
256260[ 03 ] : ../learn/experimental-features.md#pscommandwithargs
257261[ 04 ] : ../learn/experimental-features.md#psmoduleautoloadskipofflinefiles
258262[ 05 ] : ../learn/experimental-features.md#psredirecttovariable
259263[ 06 ] : ../learn/experimental-features.md#psserializejsonlongenumasnumber
264+ [ 07] : /dotnet/core/whats-new/dotnet-9/overview)
260265
261266[ 19896 ] : https://github.com/PowerShell/PowerShell/pull/19896
262267[ 20014 ] : https://github.com/PowerShell/PowerShell/pull/20014
@@ -328,3 +333,4 @@ CollectionSize Test TotalMilliseconds RelativeSpeed
328333[ 24115 ] : https://github.com/PowerShell/PowerShell/pull/24115
329334[ 24228 ] : https://github.com/PowerShell/PowerShell/pull/24228
330335[ 24236 ] : https://github.com/PowerShell/PowerShell/pull/24236
336+ [ 24749 ] : https://github.com/PowerShell/PowerShell/issues/24749
0 commit comments