The latest version of PowerShell, version 5.1 was released for WS2012R2, WS2012, W8.1, W2008R2, W7 SP1 on 1/19/2017. The WMF 5.1 version of PowerShell is already running in WS2016 and W10 machines.
Release Notes
Install and Configure
WS2016 and W10:
1. Installation for WS2008R2 (and W7 SP1)
Overview:
Install .NET Framework 4.5.1 (if required) > Restart > Verify Installation
Install WMF 5.1 > Restart > Verify Installation
1. Have all current Windows updates installed on 2008R2 SP1 machine
2. Download the WMF5.1 Package and Prerequisites for W2008R2, choosing 32 or 64 bit options.
- x64:Win7AndW2K8R2-KB3191566-x64.ZIP
x86:Win7-KB3191566-x86.ZIP - NET Framework 4.5 exe setup file
- The zip file contains an MSU file and the PowerShell script file Install-WMF5.1.ps1
- Unblock the Install-WMF5.1.ps1:
3. Check for current version of .NET Framework installed in Control Panel > Programs and Features:
- NOTE: .NET Framework 4.5.X version is the minimum requirement. If .NET 4.6 is installed, it is not necessary to uninstall. .NET 4.5 will not install if .NET 4.6 is already installed.
- Install the .NET Framework 4.5 exe file and reboot the machine after installation complete.
- Verify that the updated .NET Framework 4.5 installed via Control Panel > Programs and Features
4. Open PowerShell as an Administrator and check that the Execution Policy will allow scripts to be run.
Get-ExecutionPolicy
- If it returns Restricted, then run:
Set-ExecutionPolicy RemoteSigned
- Check to find the current version of PowerShell installed:
$PSVersionTable
- Navigate to the folder of unzipped files (in this case it is the E:\Downloads folder):
Set-Location E:\Downloads
- Run the script:
.\InstallWmf5.1
- If the prerequisites are found, then the WMF5.1 upgrade installation will begin.
- Restart the machine at the end of the installation > Verify installation via Control Panel > Windows Updates > Update History
- Verify the successful WMF5.1 installation in an elevated PowerShell session:
2. Installation on WS2012R2 (and W8.1)
1. Have all current Windows updates installed on the WS2012R2 machine.
2. Download the WMF5.1 Package
3. Open PowerShell (PS) as an Administrator and check the current version of PS installed:
$PSVersionTable
4. Double click on the MSU file downloaded and the installation process will begin:
4. Restart the machine > verify successful installation of WMF 5.1 via Control Panel > Programs and Features > Installed Updates:
- Verify the successful WMF5.1 installation in an elevated PowerShell session:
do you know if it’s possible to install wmf 5.1 on server 2012R2 CORE with nogui
Hi jo
Yes you can install wmf 5.1 on server 2012R2 CORE.
This Microsoft Doc will help with the procedure: https://docs.microsoft.com/en-us/powershell/wmf/5.1/install-configure#install-wmf-51-for-windows-server-2012-r2-windows-server-2012-and-windows-81
it’s been five years, and the links on this page are obsolete; no longer available
CLRVersion 2.0.50727.8806
BuildVersion 6.1.7601.17514
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.1
so i have win 7 and need to update the powershell on it, and now with the broken links it’s become very difficult, as if it weren’t difficult enough. if you help me upgrade my ps, i will provide you with the screenshots to update this page
so i have the download to upgrade from 4.0 to 5.1, however, there isn’t a way to upgrade from 2.0 to 5.1, and there isn’t any way to upgrade from 2.0 to 4.0