PowerShell v7.5.0 RC1

The Release Candidate (RC) was first released in November 2024. Even though it’s an RC, it’s considered a “go-live” release, meaning it’s a supported release in production. In this blog post, I will give you more details on how to install it.

Release Candidate information

The new 7.5.0 RC1 version is built on top of .NET 9 and will be supported for 18 months as a standard support release. These are the main highlights:

  • PSReadLine has been updated to version 2.3.6
  • New cmdlets ConvertTo-CliXml and ConvertFrom-CliXml(Thanks @ArmaanMcleod!)
  • Web cmdlet improvements as well as improvements to other cmdlets
  • Tab completion improvements
  • This release also contained a number of bug fixes — for the full list of changes please refer to the changelog

Breaking changes to be aware of:

  • Fix -OlderThan and -NewerThan parameters for Test-Path when using PathType and date range (#20942) (Thanks @ArmaanMcleod!)
    • Previously -OlderThan would be ignored if specified together
  • Change New-FileCatalog -CatalogVersion default to 2 (#20428) (Thanks @ThomasNieto!)
  • Block getting help from network locations in restricted remoting sessions (#20593)
  • The Windows installer now remembers installation options used and uses them to initialize options for the next installation (#20420) (Thanks @reduckted!)
  • ConvertTo-Json now serializes BigInteger as a number (#21000) (Thanks @jborean93!)

There are also two new CliXml cmdlets. They are nice!

  • Add ConvertTo-CliXml and ConvertFrom-CliXml cmdlets (#21063) (Thanks @ArmaanMcleod!)

For more information on what’s changed, see What’s new in PowerShell 7.5.

Source: https://devblogs.microsoft.com/powershell/powershell-7-5-rc-1-is-now-available/

How to install

The installer assets can be found here: https://github.com/PowerShell/PowerShell/releases/tag/v7.5.0-rc.1. For my system, I chose to install the RC1 version using the MSI version, but there are other download options on the page matching your system or preference.

After installing it and starting a new PowerShell session, it will display the new RC1 version:

It is also installed in the default installation path but in a separate 7-Preview folder. This makes it easier to run them side-by-side and test things. You can start using “C:\Program Files\PowerShell\7-preview\pwsh.exe“, but “Windows Terminal will also show a new PowerShell 7 Preview option.

When starting the PowerShell 7 Preview profile, a banner will appear indicating that you can upgrade to a newer 7.6.0-preview.2 version, which was released earlier this week (https://github.com/PowerShell/PowerShell/releases/tag/v7.6.0-preview.2)

I will test my existing scripts in 7.5.0-rc.1 because it’s considered production-ready, but I will also test the newer 7.6.0-preview.2 version on another test system.

Release date for v7.5.0

It might be released this month!

“We expect to release PowerShell 7.5 GA in January 2025. We’ll have a separate blog post when the GA release is available. We appreciate all the efforts of the community, both individuals and working group members, and look forward to your continued feedback and contributions!

Sydney

PowerShell Team”

Source: https://devblogs.microsoft.com/powershell/powershell-7-5-rc-1-is-now-available/#what’s-next

-Edit-

It has been released! Download the official v7.5.0 here https://github.com/PowerShell/PowerShell/releases/tag/v7.5.0

Wrapping up

And that’s it for now: I’m waiting for the GA release and checking out the new features of v7.5.0-rc1. I’m curious about version 7.6.0-preview.2. It’s good to see newer versions :). Have a lovely weekend!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.