Link to home
Start Free TrialLog in
Avatar of donpick
donpick

asked on

Installing Powershell v5 to Windows 7 pro

I have a Windows 7 Pro computer .  It has Powershell 2 installed on it.  
I understand Powershell v5 can be installed on Windows 7 pro.
Q1.) What is the best procedure to do this?
Q2.)  I assume I have to install dot Net something to do this.  I assume the new dot Net something requires security updates.  Windows 7 Pro does not get security updates.  So, therefore, how difficult or risky is it to install dot Net something to Windows 7 Pro?
Thank you for your help.
Avatar of footech
footech
Flag of United States of America image

You'll want PS/WMF 5.1.  You can download from here - https://www.microsoft.com/en-us/download/details.aspx?id=54616

1)  Installation notes are here - https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/wmf/setup/install-configure?view=powershell-5.1

2) It requires .Net Framework 4.5.2 as a minimum to be installed as a prerequisite, but I can think of no reason why you shouldn't install the latest which is 4.8.  Some notes don't mention Win7 as compatible, but it is.  Download here - https://go.microsoft.com/fwlink/?linkid=2088631
You can run Windows Update to apply any security updates available for Win7 and the .Net Framework and you will get any that were made available up to the cut-off date in January 2020 (I'll assume you haven't purchased extended support).  This isn't any different than if you had updated a year ago before support ended.  It's not risky or difficult to install the .Net Framework, but it is risky to continue using Win7 just as a general point because you won't receive any new security updates for vulnerabilities discovered after January.
Hi,

The answer above is fine. However Windows 7 and *Windows* PowerShell are both legacy. MS have a newer version of PowerShell called PowerShell Core. It does NOT use .Net [correction] Framework (or "full" ) - it uses .Net Core.

Download the installer from github here:
https://github.com/PowerShell/PowerShell/releases/download/v7.0.3/PowerShell-7.0.3-win-x64.msi

If you are continuing to use W7 in a business, then using the newer PowerShell will at least be supported by Microsoft,

Mike
Yes and no.  PowerShell 7 (they dropped the "Core" from the name after PowerShell Core 6.x) runs on .NET Core (as opposed to the .NET Framework).  PS 7 is much closer to becoming a replacement for Windows PowerShell than 6 was, but there are still modules/cmdlets that require Windows PowerShell and won't run in PS 7.  It's fair to also say that there are fixes/capabilities in PS 7 that aren't in PS 5.1.
Avatar of donpick
donpick

ASKER

I'm glad I asked my question.   I did not know there was a Powershell core.
I know nothing about Powershell or Powershell  core.  Could you kindly recommend a tutorial book or site?  Thank you.

ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of donpick

ASKER

Thank you all for prompt answers and useful detailed information and links.