Detect installed PowerShell version
Look at $PSVersionTable
For example on Windows 10 (Build 17134) it has this value
The value of PSVersion
indicates that PowerShell 5 is being used.
Last updated
Look at $PSVersionTable
For example on Windows 10 (Build 17134) it has this value
The value of PSVersion
indicates that PowerShell 5 is being used.
Last updated