Does Windows Management Framework 5.1 require reboot?

Does Windows Management Framework 5.1 require reboot?

Mar 14, 2016

Does Windows Management Framework 5.1 require reboot?

Introduction

PowerShell 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:

  • Windows PowerShell
  • Just Enough Administration (JEA)
  • Windows PowerShell Desired State Configuration (DSC)
  • Windows PowerShell Integrated Scripting Environment (ISE)
  • Windows PowerShell Web Services (Management OData IIS Extension)
  • Windows Remote Management (WinRM)
  • Windows Management Instrumentation (WMI)

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.

Process

Download WMF 5 from https://www.microsoft.com/en-us/download/details.aspx?id=50395. There are several packages to choose from for installation.

Does Windows Management Framework 5.1 require reboot?

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.

Does Windows Management Framework 5.1 require reboot?

Conclusion

There 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

    Does Windows Management Framework 5.1 require reboot?

    1. Windows Management Framework 5.1 Server 2016 Download
    2. Windows Remote Management Framework 5.1 Download
    3. Windows Management Framework Win 10
    4. Windows Management Framework Version 5.1 Download

    -->

    Does Windows Management Framework 5.1 require reboot?

    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 package

    Download the WMF 5.1 package for the operating system and architecture you wish to install it on:

    Operating SystemPrerequisitesPackage Links
    Windows Server 2012 R2 Win8.1AndW2K12R2-KB3191564-x64.msu
    Windows Server 2012 W2K12-KB3191565-x64.msu
    Windows Server 2008 R2 .NET Framework 4.5.2 Win7AndW2K8R2-KB3191566-x64.ZIP
    Windows 8.1 x64:Win8.1AndW2K12R2-KB3191564-x64.msu
    x86:Win8.1-KB3191564-x86.msu
    Windows 7 SP1 .NET Framework 4.5.2 x64:Win7AndW2K8R2-KB3191566-x64.ZIP
    x86:Win7-KB3191566-x86.ZIP
    • WMF 5.1 Preview must be uninstalled before installing WMF 5.1 RTM.
    • WMF 5.1 may be installed directly over WMF 5.0 or WMF 4.0.
    • It is not required to install WMF 4.0 prior to installing WMF 5.1 on Windows 7 and WindowsServer 2008 R2.

    Does Windows Management Framework 5.1 require reboot?

    Install WMF 5.1 for Windows Server 2008 R2 and Windows 7

    Note

    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 SP1

    Installation of WMF 5.1 on either Windows Server 2008 R2 SP1 or Windows 7 SP1, requires thefollowing:

    • Latest service pack must be installed.
    • WMF 3.0 must not be installed. Installing WMF 5.1 over WMF 3.0 will result in the loss of thePSModulePath ($env:PSModulePath), which can cause other applications to fail. Beforeinstalling WMF 5.1, you must either un-install WMF 3.0, or save the PSModulePath and thenrestore it manually after WMF 5.1 installation is complete.
    • WMF 5.1 requires at least .NET Framework 4.5.2.You can install Microsoft .NET Framework 4.5.2 by following the instructions at the downloadlocation.

    Installing WMF 5.1 on Windows Server 2008 R2 and Windows 7

    1. Navigate to the folder into which you downloaded the ZIP file.

    2. Right-click on the ZIP file, and select Extract All... The ZIP file contains two files: anMSU and the Install-WMF5.1.ps1 script file. Once you have unpacked the ZIP file, you can copythe contents to any machine running Windows 7 or Windows Server 2008 R2.

    3. After extracting the ZIP file contents, open PowerShell as administrator, then navigate to thefolder containing the contents of the ZIP file.

    4. Run the Install-WMF5.1.ps1 script in that folder, and follow the instructions. Falcon bms download. This script willcheck the prerequisites on the local machine, and install WMF 5.1 if the prerequisites have beenmet. The prerequisites are listed below.

      Install-WMF5.1.ps1 takes the following parameters to ease automating the installation on WindowsServer 2008 R2 and Windows 7:

      • AcceptEula: When this parameter is included, the EULA is automatically accepted and will not bedisplayed.
      • AllowRestart: This parameter can only be used if AcceptEula is specified. If this parameter isincluded, and a restart is required after installing WMF 5.1, the restart will happen withoutprompting immediately after the installation is completed.

    WinRM Dependency

    Windows PowerShell Desired State Configuration (DSC) depends on WinRM. WinRM is not enabled bydefault on Windows Server 2008 R2 and Windows 7. Run Set-WSManQuickConfig, in a Windows PowerShellelevated session, to enable WinRM.

    Install WMF 5.1 for Windows Server 2012 R2, Windows Server 2012, and Windows 8.1

    Install from Windows File Explorer

    1. Navigate to the folder into which you downloaded the MSU file.
    2. Double-click the MSU to run it.

    Windows Remote Management Framework 5.1 Download

    Installing from the Command Prompt

    1. After downloading the correct package for your computer's architecture, open a Command Promptwindow with elevated user rights (Run as Administrator). On the Server Core installation optionsof Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2 SP1, Command Promptopens with elevated user rights by default.
    2. Change directories to the folder into which you have downloaded or copied the WMF 5.1installation package.
    3. Run one of the following commands:
      • On computers that are running Windows Server 2012 R2 or Windows 8.1 x64, runWin8.1AndW2K12R2-KB3191564-x64.msu /quiet.
      • On computers that are running Windows Server 2012, run W2K12-KB3191565-x64.msu /quiet.
      • On computers that are running Windows 8.1 x86, run Win8.1-KB3191564-x86.msu /quiet.

    Windows Management Framework Win 10

    Note

    Windows Management Framework Version 5.1 Download

    Installing WMF 5.1 requires a reboot. Using the /quiet option will reboot the system withoutwarning. Use the /norestart option to avoid rebooting. However, WMF 5.1 will not be installeduntil you have rebooted.

    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.