0

On a fully patched Windows Server 2008 SP2, I've upgraded Powershell 2 to 3. Is there no way to upgrade powershell to v5 or even v4?

Notes: Powershell 2 to 3 installation done via: https://www.microsoft.com/en-us/download/details.aspx?id=34595

Powershell 3 to 4 installation - fails :https://www.microsoft.com/en-us/download/details.aspx?id=40855

  • Does installing Windows Management Framework 5.1 work? I'm not sure that you need to install all the intermediate versions. – Ben N Jul 9 '18 at 18:00
  • @BenN When it comes to upgrades, Windows 2008 Server R2 seems to be so much better off than Window 2008 Server. Upgrades meant for Windows 2008 Server R2 don't apply for Windows 2008 Server! Tried that, got "The update does not apply to your system." – Regmi Jul 9 '18 at 18:13
  • Ah, my mistake; I had SP2 and R2 conflated. According to this system requirements page, version 4.0 and higher need at least 2008 R2, as does PowerShell Core (version 6), unfortunately. – Ben N Jul 9 '18 at 18:19
3

Is there no way to upgrade PowerShell to v5 or even v4?

No

On a fully patched Windows Server 2008 SP2, I've upgraded Powershell 2 to 3.

In order to install PowerShell 4+, you must install Windows Management Framework 4.0, and neither Windows Management Framework 4.0 or Windows Management Framework 5.1 supports Windows Server 2008 SP2

enter image description here

Source: WMF 5.1 Operating System Compatibility

WMF 4.0 can only be installed on the following operating systems.

  • Windows 7 with Service Pack 1

  • Windows Server 2008 R2 with Service Pack 1

  • Windows Server 2012

As for PowerShell Core, since it includes Microsoft.PowerShell.Management, it also wouldn't support Windows Server 2008 SP2

PowerShell Core (aka PowerShell 6) is officially supported on the following platforms:

  • Windows Server 2008 R2, 2012 R2, 2016

Source: PowerShell Core 6.0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.