# ****************************************************** # * # * Name: get-powershell-version.ps1 # * # * Design Phase: # * Author: John Miner # * Date: 01-09-2014 # * Purpose: Get the powershell version. # * # ****************************************************** <# What is the current version ? #> # Clear the screen Cls; # Just major version Get-Host; Write-Host ''; # Another way $PSVersionTable.psversion; Write-Host '';