Since I keep forgetting that PowerShell is part of WMF (Windows Management Framework) and about the compatibility/installation matrix: [WayBack] Installing Windows PowerShell | Microsoft Docs:
The installation package for PowerShell comes inside a WMF installer. The version of the WMF installer matches the version of PowerShell; there’s no stand alone installer for Windows PowerShell.
If you need to update your existing version of PowerShell, in Windows, use the following table to locate the installer for the version of PowerShell you want to update to.
Windows PS 3.0 PS 4.0 PS 5.0 PS 5.1 Windows 10 (see Note1)
Windows Server 2016– – – installed Windows 8.1
Windows Server 2012 R2– installed [WayBack] WMF 5.0 [WayBack] WMF 5.1 Windows 8
Windows Server 2012installed [WayBack] WMF 4.0 [WayBack] WMF 5.0 [WayBack] WMF 5.1 Windows 7 SP1
Windows Server 2008 R2 SP1[WayBack] WMF 3.0 [WayBack] WMF 4.0 [WayBack] WMF 5.0 [WayBack] WMF 5.1
For historic reference:
- Windows 6.1 (Windows 7 and Server 2008 R2) come with PowerShell 2.0.
- Windows 6.0 (Windows Vista and Server 2008) came with PowerShell 1.0.
- [WayBack] Download and install Windows PowerShell 3.0 | Microsoft Docs
- [WayBack] How to Install Windows PowerShell 4.0 – TechNet Articles – United States (English) – TechNet Wiki
- [WayBack] Windows Management Framework (WMF) 5.0 RTM packages has been republished | PowerShell Team Blog
- List of Microsoft Windows versions – Wikipedia
Downloads
[WayBack] Windows Management Framework 5.1
- [WayBack] W2K12-KB3191565-x64.msu
- [WayBack] Win7AndW2K8R2-KB3191566-x64.zip
- [WayBack] Win7-KB3191566-x86.zip
- [WayBack] Win8.1AndW2K12R2-KB3191564-x64.msu
- [WayBack] Win8.1-KB3191564-x86.msu
[WayBack] Windows Management Framework 5.0
- [WayBack] github AdrianoCahete/Windows.Workspace/master/PowerShell/scripts/functions/UpdatePowerShell.ps1
- [WayBack] Win8.1AndW2K12R2-KB3134758-x64.msu
- [WayBack] W2K12-KB3134759-x64.msu
- [WayBack] Win7AndW2K8R2-KB3134760-x64.msu
- [WayBack] Win8.1-KB3134758-x86.msu
- [WayBack] Win7-KB3134760-x86.msu
- [WayBack] WMF_5_1_Redirect.txt https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/WMF_5_1_Redirect.txt
To upgrade to WMF 5.0 from 4.0 you need to install .net 4.5 or later on your machine first. Then install WMF 5.0 RTM.
[WayBack] Windows Management Framework 4.0
- [WayBack] Windows8-RT-KB2799888-x64.msu
- [WayBack] Windows6.1-KB2819745-x86-MultiPkg.msu
- [WayBack] Windows6.1-KB2819745-x64-MultiPkg.msu
- [WayBack] Windows PowerShell Desired State Configuration Quick Reference for Windows Management Framework 4.0.pptx
- [WayBack] Windows PowerShell Desired State Configuration Quick Reference for Windows Management Framework 4.0.pdf
- [WayBack] Windows Management Framework 4 0 Release Notes.docx
–jeroen