What PowerShell Version Runs on My Computer?

Unlike most other tools, PowerShell does not offer us a -version flag to tell us its version number. There is a -Version flag (with a capital V), but that we need to use a specific version of PowerShell. What can we do to find out what version we run?

We can open a PowerShell terminal and type $PSVersionTable:

This shows us detailed table full of version information about all aspects of PowerShell. In my case, I have version 5.1 running on my machine.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.