how to check windows powershell version code example Example: how to check windows powershell version PS C:\> $PSVersionTable.PSVersion