Install Powershell 4 on Windows 7 Home Premium

The only option that worked for me was by using chocolatey.
The other options found on the net, using the command prompt and installing required Windows packages didn’t give the desired result.

So, if you don’t have chocolatey installed, run the install command found on www.chocolatey.org, under PowerShell 2 console, as administrator:

iex ((new-object net.webclient).DownloadString(” https://chocolatey.org/install.ps1 “))

Before that, you need to also have script execution set to Bypass, or Unrestricted

Set-ExecutionPolicy Unrestricted -f

If you don’t have PowerShell 2, run the install command for standard command prompt, found on the website.

After that, the install command is the one from https://chocolatey.org/packages/PowerShell/4.0.20141001

choco install powershell -version 4.0.20141001
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: