Install the latest PowerShell on Windows 7

Spread the words

Sometimes we have to install the latest PowerShell on a Windows 7 computer because we are stuck with a Windows 7.

Here is how to do.

First of all determine the installed version. Open PowerShell and run

$PsVersionTable.PSVersion

Download the latest Windows Management Framework from Microsoft site. Windows management framework includes updates to Windows PowerShell, Windows PowerShell desired state configuration (DSC), Windows remote management (WinRM) and Windows management instrumentation (WMI).

The download contains one PS1 file and the installation package.

Run the PS1 file as administrator. You will get an error if you have WMF 3.0 installed on the machine.

Uninstall Windows update KB2506143 from Windows 7.

Run the install script again and follow the instructions.

That’s it. You have the latest PowerShell on Windows 7 now.

Be the first to comment on "Install the latest PowerShell on Windows 7"

Leave a comment

Your email address will not be published.


*