Determining the powershell version can be important. Often this is done by using the Get-Host cmdlet. I read somewhere that this command returns the version of the powershell host, not the version of powershell itself.
Question: The powershell and the powershell host usually have the same version. Is there any case when the versions differ from each other?
If you’re talking about the Console and ISE, the versions will probably always match the PowerShell version. Developers can write their own custom hosts, though, which would have their own version scheme.