what is powershell 7 ?
PowerShell 7 is a cross-platform and open-source version of PowerShell that can run on Windows, macOS, and Linux operating systems.
How to List available Powershell 7 ?
The following screengrab shows how to list . powershell 7 . Here i use winget package manager to list the available powershell 7 versions . If you wonder what is winget – it is a package manager for windows that comes along with windows 11 and windows 10 latest versions . More details can be found here

How to Upgrade available Powershell 7 ?
The following screen grab shows how to upgrade powershell .

Oh ! hold on it says that it cannot do an in-place upgrade and i have to uninstall and reinstall .
The following screen grabs shows the uninstall and install steps
