Summary: Easily find your Windows PowerShell version.
Is there a single command I can use to find the version of Windows PowerShell I am running, plus the version of
WSMan and the .NET Framework command-line reference (CLR)?
Use the $PSVersionTable automatic variable to display the Windows PowerShell version,
WSMan stack information, .NET Framework CLR version information, and other information:
PS C:\> $PSVersionTable