I recently upgraded my development machine to use the latest version of Powershell. At the time of writing this blog the current version is Version 7.0.3 aka Powershell Core.
I installed it via the dotnet sdk, using the Dotnet Cli
dotnet tool install --global PowerShell
It integrates nicely into Windows Terminal.
If you have not done so already, and your machine meets the requirements, then update it today.