Author Posts

December 28, 2017 at 10:12 pm

Hi! I have installed the newest .NET fram,ework on my machine. But still when i type get-host in PowerShell it say Version 2.0.
Anyone had problems like that before? I never have, i hope someone have time to help out.

December 29, 2017 at 3:11 pm

What's $PSVersionTable say?

December 29, 2017 at 3:54 pm

CLRVersion 2.0.50727.8762
BuildVersion 6.1.7601.17514
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
PSRemotingProtocolVersion 2.1

December 29, 2017 at 3:55 pm

You've also got .NET 2.0 installed, and that's what PowerShell v2 is using. Not at all uncommon; different .NET versions can happily live side by side.

December 29, 2017 at 3:59 pm

How can i make it use 4.5 version of .NET framework?

December 29, 2017 at 3:59 pm

You can't. .NET applications are compiled against a specific version of the Framework and typically work only with that version. If you want a newer version of PowerShell, you'll need to install it. That's separate from .NET.

December 29, 2017 at 4:02 pm

Can you provide a link for PowerShell? I am not sure how to work with this

December 29, 2017 at 4:05 pm

Go to There's a tile on the page that links to installation downloads and instructions.

You want to install the Windows Management Framework (WMF), and the site lists pre-requisites. Not every version of PowerShell is compatible with every version of Windows (Windows XP, for example, can't run anything past PowerShell v2). So you'll need to read and understand the pre-requisites before downloading anything.

If you have an old version of Windows, particularly versions that are out of support, then you may not be able to install a newer version of PowerShell than what came with Windows. Microsoft doesn't provide support for older versions of Windows. I believe Windows 7 is the oldest version currently supported.

December 29, 2017 at 4:09 pm

I am trying to install the WMF 5.1 and see if it updates PowerShell, thanks.

December 30, 2017 at 1:58 pm

Thanks m8, WMF newest is downloaded and installed but i cannot reboot my computer yet, too much work going on 🙂