Command to get powershell version
Execute below command to know powershell version ps>$host.version
Major Minor Build Revision ----- ----- ----- -------- 2 0 -1 -1
Note: You can identify version at the top powershell window.