Updating PowerShell Core

or

To determine your current PowerShell version, run the following:

Thanks to Thomas Maurer and his blog post: https://www.thomasmaurer.ch/2019/07/how-to-install-and-update-powershell-7/