Use $Host.Version.

To check it directly in a console, open powershell and type directly at the prompt $Host.Version.

Advertisements