search
top

How To Install WMF 4.0 and PowerShell 4.0 on Windows 2008 R2 / Windows 7

So you want to try out PowerShell 4.0 on your Windows 2008 R2 / Windows 7 system. In this post we will do just that. Install the latest PowerShell version on your system.

To use PowerShell 4.0 you need to have .NET 4.5 or higher. You can get the offline version here.

Install .net 4.5 update NDP451-KB2858728-x86-x64-AllOS-ENU.exe and reboot.

Next download WMF (Windows Management Framework) from here. Download Windows6.1-KB2819745-x64-MultiPkg.msu.

Install Windows6.1-KB2819745-x64-MultiPkg.msu and reboot the system. That’s all there is to it.

Open Powershell prompt and validate version
$host.Version

Major  Minor  Build  Revision
—–  —–  —–  ——–
4      0      -1     -1

If you want to eenable PowerShell remoting  type:

enable-psremoting -force

4 Responses to “How To Install WMF 4.0 and PowerShell 4.0 on Windows 2008 R2 / Windows 7”

  1. hemant says:

    I have windows 7 SP1 x64 bit environment and .net 4.5 installed. When I install msu, I get this update is not applicable to your computer.

    • newlife007 says:

      You will only get that error if you are trying to install the x86 package and not the Windows6.1-KB2819745-x64-MultiPkg.msu package. I just installed it on a fresh Windows 7 x64 SP1 system that had all the .net 4.51 patches. The x64 install worked no issues.

      • James Carroll says:

        yes, apparently, it has to be a fresh install. Somehow the WUSA installer thinks that I already have the full WMF.4.0. For some reason only the client installs and I we are stuck with powershell 2.0 forever. I have tried everything multiple times and I have spent days.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

top