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