How to check the version details in powershell 2.0?
get-host
$PSVersionTable
both
Get-powershellversion