How to tell what version of PowerShell you are running
I just saw a new download from August 31st, 2015 for the Windows Management Framework 5.0. I went to download and found various installs for different versions of Windows but not one for Windows 10. My assumption was that it may already be in Windows 10, so I wanted to check the version of PowerShell that I had on my machine.
Unfortunately I couldn’t just type “version” or “get-version” those commands don’t exist. Well, how do you find the version of PowerShell?
I found two easy ways.
Command | Description |
Get-Host | Commandlet that give information about the host – including the version of PowerShell running. |
$PSVersionTable | An environment variable that has information on multiple parts of PowerShell including PowerShell itself. |
Get-Host Screenshot
$PSVersionTable Screenshot