what version of windows powershell do i have code example Example: check powershell version PS C:\> $PSVersionTable.PSVersion