Windows 8 has PowerShell 3 installed
If I need to get PowerShell 2 I am using
PowerShell.exe -Version 2
But this runs against .NET CLR 2.0
I want to use .NET CLR 4.0
I tried all approaches from How can I run PowerShell with the .NET 4 runtime?
But I apply any of them and then
PowerShell.exe -Version 2
It will actually load PowerShell 3. To check this type
$host.Version
Is this a bug?