To reliably display the version of the Windows PowerShell engine
- Open a PowerShell command window,
- Execute the command,
$PSVersionTable.PSVersion
PS C:\WINDOWS\system32> $PSVersionTable.PSVersion
Major Minor Build Revision
—– —– ——- ——-
5 1 16299 64 - If no value is displayed, the version is 1.0, as it does not have the referenced variable.