Skip to content

Commit 65923bc

Browse files
committed
Minor edits and formatting
1 parent 0ce6918 commit 65923bc

File tree

1 file changed

+21
-29
lines changed

1 file changed

+21
-29
lines changed

reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-75.md

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
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
88

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

@@ -134,14 +135,6 @@ Many thanks to **@ArmaanMcleod** and others for all their work to improve tab co
134135
namespaces ([#21162][21162])
135136
- Handle global tool specially when prepending `$PSHome` to PATH ([#24228][24228])
136137

137-
## New features inherited from .NET 9
138-
139-
New features in .NET 9 can be found here:
140-
[https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/overview](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/overview).
141-
Here are some highlights that might be good to know about for PowerShell users:
142-
143-
- UUID v7 support with [`[guid]::CreateVersion7()`][100]
144-
145138
## Experimental features
146139

147140
The following experimental features were converted to mainstream features in
@@ -197,25 +190,25 @@ $tests = @{
197190
$groupResult = foreach($test in $tests.GetEnumerator()) {
198191
$ms = (Measure-Command { & $test.Value -Count $_ }).TotalMilliseconds
199192
200-
[pscustomobject]@{
201-
CollectionSize = $_
202-
Test = $test.Key
203-
TotalMilliseconds = [math]::Round($ms, 2)
204-
}
193+
[pscustomobject]@{
194+
CollectionSize = $_
195+
Test = $test.Key
196+
TotalMilliseconds = [math]::Round($ms, 2)
197+
}
205198
206-
[GC]::Collect()
207-
[GC]::WaitForPendingFinalizers()
208-
}
199+
[GC]::Collect()
200+
[GC]::WaitForPendingFinalizers()
201+
}
209202
210-
$groupResult = $groupResult | Sort-Object TotalMilliseconds
211-
$groupResult | Select-Object *, @{
212-
Name = 'RelativeSpeed'
213-
Expression = {
214-
$relativeSpeed = $_.TotalMilliseconds / $groupResult[0].TotalMilliseconds
215-
$speed = [math]::Round($relativeSpeed, 2).ToString() + 'x'
216-
if ($speed -eq '1x') { $speed } else { $speed + ' slower' }
217-
}
218-
} | 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
219212
}
220213
```
221214

@@ -265,8 +258,7 @@ CollectionSize Test TotalMilliseconds RelativeSpeed
265258
[04]: ../learn/experimental-features.md#psmoduleautoloadskipofflinefiles
266259
[05]: ../learn/experimental-features.md#psredirecttovariable
267260
[06]: ../learn/experimental-features.md#psserializejsonlongenumasnumber
268-
269-
[100]: https://learn.microsoft.com/dotnet/api/system.guid.createversion7?view=net-9.0
261+
[07]: /dotnet/core/whats-new/dotnet-9/overview)
270262

271263
[19896]: https://github.com/PowerShell/PowerShell/pull/19896
272264
[20014]: https://github.com/PowerShell/PowerShell/pull/20014

0 commit comments

Comments
 (0)