what version of powershell am i using code example Example: check powershell version PS C:\> $PSVersionTable.PSVersion