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