PowerShell and latest .NET
20.01.2015 Вторник 00:04
To force PowerShell use latest .NET Framework:
reg add hklm\software\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1
reg add hklm\software\wow6432node\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1
To find out what .NET version PowerShell is currently using, type this:
$PSVersionTable