How to determine the Windows PowerShell version?
Open Powershell and type the following command:
Get-Host|Select-Object Version
OS: Windows
Application: PowerShell
How To.
The output shows the PowerShell version.
Version
-------
5.1.14393.4350