How to get the powershell version

To print out the current Powershell version you can use the $PSVersionTable variable that was introduced since Powershell version 2.

$PSVersionTable.PSVersion

Add comment