From 6688d313ec51be26d01230c604a8a89e0ac4ce03 Mon Sep 17 00:00:00 2001 From: Sergey Vasin Date: Tue, 17 Dec 2024 18:53:23 +0300 Subject: [PATCH 1/2] Fix a typo in about_Type_Conversion.md (#11597) --- .../Microsoft.PowerShell.Core/About/about_Type_Conversion.md | 2 +- .../Microsoft.PowerShell.Core/About/about_Type_Conversion.md | 2 +- .../Microsoft.PowerShell.Core/About/about_Type_Conversion.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Type_Conversion.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Type_Conversion.md index 97bbb933e626..9cb6529b2480 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Type_Conversion.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Type_Conversion.md @@ -413,7 +413,7 @@ you cast a **Double** to a **Decimal** type, the result is `9223372036854780000`, which isn't accurate. ```powershell -PS> ([int64]::MaxValue + 1)GetType().Name +PS> ([int64]::MaxValue + 1).GetType().Name Double PS> [decimal]([int64]::MaxValue + 1) 9223372036854780000 diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Type_Conversion.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Type_Conversion.md index 05717a723186..e02b04d4b02c 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Type_Conversion.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Type_Conversion.md @@ -413,7 +413,7 @@ you cast a **Double** to a **Decimal** type, the result is `9223372036854780000`, which isn't accurate. ```powershell -PS> ([int64]::MaxValue + 1)GetType().Name +PS> ([int64]::MaxValue + 1).GetType().Name Double PS> [decimal]([int64]::MaxValue + 1) 9223372036854780000 diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Conversion.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Conversion.md index 48ce7647fd54..eb7e840e60f7 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Conversion.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Conversion.md @@ -413,7 +413,7 @@ you cast a **Double** to a **Decimal** type, the result is `9223372036854780000`, which isn't accurate. ```powershell -PS> ([int64]::MaxValue + 1)GetType().Name +PS> ([int64]::MaxValue + 1).GetType().Name Double PS> [decimal]([int64]::MaxValue + 1) 9223372036854780000 From 76e7822af488af90b2ebf072f30da42a0acadb41 Mon Sep 17 00:00:00 2001 From: Adam Stachowicz Date: Tue, 17 Dec 2024 20:36:38 +0100 Subject: [PATCH 2/2] Update Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md (#11598) Update .NET version used in latest stable version --- .../Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/docs-conceptual/whats-new/Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md b/reference/docs-conceptual/whats-new/Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md index a5e0af75db26..8ba5ef9ccc28 100644 --- a/reference/docs-conceptual/whats-new/Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md +++ b/reference/docs-conceptual/whats-new/Migrating-from-Windows-PowerShell-51-to-PowerShell-7.md @@ -64,7 +64,7 @@ your investment in PowerShell is protected and your migration to PowerShell 7 is ### Differences in .NET versions -PowerShell 7.2 is built on .NET 6.0. Windows PowerShell 5.1 is built on .NET Framework 4.x. The +PowerShell 7.4 is built on .NET 8.0. Windows PowerShell 5.1 is built on .NET Framework 4.x. The differences between the .NET versions might affect the behavior of your scripts, especially if you are calling .NET method directly. For more information, [Differences between Windows PowerShell 5.1 and PowerShell 7.x][10].