Is there any command to get the opportunity list of PowerShell version from PowerShell command prompt?

394 views Asked by At

Is there any command (or command set) to get the opportunity list of PowerShell version from PowerShell command prompt?

I've solved this question. It is possible to overview the newest features by command Get-Help about_Windows_PowerShell_5.0.

1

There are 1 answers

0
Sean On

The $PSVersionTable variable contains information about the PowerShell environment. If you look at $PSVerstionTable.PSVersion it will give you the version of PowerShell.