<tutorialjinni.com/>

Determine Installed PowerShell Engine Version

Posted Under: PowerShell, Snippets on Aug 18, 2018
In order to check the current installed version of PowerShell use
PSVersionTable.PSVersion
If PSVersion variable does not exists them it is Version 1.0, as it was not available at that time. Do not use $Host.Version or (Get-Host).Version as they indicate the version of the host and not the PowerShell's engine version number. check PowerShell version
© Tutorial Jinni