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