Show
Mar 14, 2016
IntroductionPowerShell continues to improve, many features are being added and now we have PowerShell 5 that is available for installation on Windows Server 2012 and Windows 8.1. The installation is simple and only requires a reboot. Windows Management Framework 5.0 (WMF 5) includes updates to Windows PowerShell, Windows PowerShell Desired State Configuration (DSC), Windows Remote Management (WinRM), Windows Management Instrumentation (WMI). Windows Management Framework (WMF) 5.0 RTM brings functionality that has been updated from WMF 4.0. WMF 5.0 RTM is available for installation only on Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows 8.1, and Windows 7 SP1 and contains updated versions or introduction of the following features:
WMF 5.0 RTM replaces the WMF 5.0 Production Preview. You can install WMF 5.0 RTM without uninstalling WMF 5.0 Production Preview, but you must uninstall all other older releases of WMF 5.0 previews before installing the WMF 5.0 RTM. ProcessDownload WMF 5 from https://www.microsoft.com/en-us/download/details.aspx?id=50395. There are several packages to choose from for installation. Since we are installing on Windows Server 2012 R2 in this example select Win8.1AndW2K12R2-KB3134758-x64.msu or W2K12-KB3134759-x64.msu. For my choice the winner was Win8.1AndW2K12R2-KB3134758-x64.msu. Once downloaded double-click to start the installation and reboot when prompted. Once the system is back up check the version. Open PowerShell and type $host.version. ConclusionThere you have it! Windows PowerShell 5 is now installed and available for you to explore the updated and new features like Windows PowerShell Desired State Configuration (DSC), which we will cover in future posts! Trackbacks/Pingbacks
--> Here’s the download link, release notes, and installation details. All your base are belong to us. As with WMF 5.0, I’m particularly excited about the new framework for those not already running Windows 10 (with the Anniversary update) or Windows Server 2016. With WMF 5.1 you can now gain access to PowerShell 5.1. Important WMF 5.0 is superseded by WMF 5.1. Users with WMF 5.0 must upgrade to WMF 5.1 to receive support.WMF 5.1 requires the .NET Framework 4.5.2 (or above). Installation will succeed, but keyfeatures will fail if .NET 4.5.2 (or above) is not installed. Download and install the WMF 5.1 packageDownload the WMF 5.1 package for the operating system and architecture you wish to install it on:
Install WMF 5.1 for Windows Server 2008 R2 and Windows 7Note Installation instructions for Windows Server 2008 R2 and Windows 7 have changed, and differ fromthe instructions for the other packages. Installation instructions for Windows Server 2012 R2,Windows Server 2012, and Windows 8.1 are below. WMF 5.1 Prerequisites for Windows Server 2008 R2 SP1 and Windows 7 SP1Installation of WMF 5.1 on either Windows Server 2008 R2 SP1 or Windows 7 SP1, requires thefollowing:
Installing WMF 5.1 on Windows Server 2008 R2 and Windows 7
WinRM DependencyWindows PowerShell Desired State Configuration (DSC) depends on WinRM. WinRM is not enabled bydefault on Windows Server 2008 R2 and Windows 7. Run
Install WMF 5.1 for Windows Server 2012 R2, Windows Server 2012, and Windows 8.1Install from Windows File Explorer
Windows Remote Management Framework 5.1 DownloadInstalling from the Command Prompt
Windows Management Framework Win 10Note Windows Management Framework Version 5.1 DownloadInstalling WMF 5.1 requires a reboot. Using the
Does upgrading PowerShell require a reboot?Does updating PowerShell require a reboot? To update the software installation Group Policy settings, you need to restart the computers. The new version of PowerShell will be installed on all computers at startup.
How to install WMF 5.1 on Windows 10?Before installing WMF 5.1, you must either un-install WMF 3.0, or save the PSModulePath and then restore it manually after WMF 5.1 installation is complete. WMF 5.1 requires at least . NET Framework 4.5. 2.
What version of .NET does PowerShell 5.1 use?Windows PowerShell 5.1 requires the full installation of Microsoft . NET Framework 4.5 or higher.
|