Windows Management Framework v5–Application Deployment w/ ConfigMgr

Update 2/26/16 for Re-Release WMF 5
https://blogs.msdn.microsoft.com/powershell/2016/02/24/windows-management-framework-wmf-5-0-rtm-packages-has-been-republished/

Download the Updated MSU files here.

To use the new Re-Released version, update your Source Files with the new downloads, then update your Deployment types to use the updated Downloads.
Update the Content tab to point at the New Source if Downloaded to New Location
Update the Programs Tab "Installation Program" with the updated Names of the downloads & Uninstall KB Number
example Windows 7 & Server 2008R2 now = wusa.exe "Win7AndW2K8R2-KB3134760-x64.msu" /quiet /norestart
Update Detection Method, which is nearly identical, Just change the File Version from 5.0.10586.51 -> 5.0.10586.117

-----

Original Post:

In my example, I’m only deploying the x64 versions of the software, which will cover:
Windows 7x64, Windows 8.1 x64, Windows Server 2008R2, Windows Server 2012, and Windows Server 2012R2.

image

Download the MSU files to your Source Server:
image

Create a new Application, this will have 3 deployment types:
image imageimage

    1. W2K8R2-KB3094176-x64.msu (Server 2008R2 / Windows 7x64)image
      Name the Deployment Type, I just named it after the MSU File

      image
      Point to your Source Files

      image
      Install Command: wusa.exe "W2K8R2-KB3094176-x64.msu" /quiet /norestart
      Uninstall: wusa /uninstall /kb:3094176

      image
      Detection Method – Registry Key: HKLM\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine\
      PowerShellVersion – Equals 5.0.10586.51

      image
      Install for System

      image  image
      Requirements: All Windows 7 (64-bit) & All Windows Server 2008R2 (64-bit)

      image
      Return Codes: Change 0 & 1707 to Hard Reboot (This will prompt for a reboot after installing)

    2. W2K12-KB3094175-x64.msu (Server 2012 / Windows 8 x64)
      - Tip, copy the previous deployment and then just make the few changes (Name, Programs, Requirement)image
      Point to your Source Files

      image
      Install Command: wusa.exe "W2K12-KB3094175-x64.msu" /quiet /norestart
      Uninstall: wusa /uninstall /kb:3094175

image

      Detection Method (Same as before)– Registry Key: HKLM\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine\

 

      PowerShellVersion – Equals 5.0.10586.51

image

      Install for System

image

      Requirements: All Windows Server 2012 (64-bit)

image

      Return Codes: Change 0 & 1707 to Hard Reboot (This will prompt for a reboot after installing)

 

  1. W2K12R2-KB3094174-x64.msu (Server 2012R2 / Windows 8.1 x64)
    - Tip, copy the previous deployment and then just make the few changes (Name, Programs, Requirement)image
    Point to your Source Files

    image
    Install Command: wusa.exe "W2K12R2-KB3094174-x64.msu" /quiet /norestart
    Uninstall: wusa /uninstall /kb:3094174

    image
    Detection Method (Same as before)– Registry Key: HKLM\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine\
    PowerShellVersion – Equals 5.0.10586.51

    image
    Install for System

    image
    Requirements: Windows 8.1 (64-bit) / Windows Server 2012R2 (64-bit)

    image
    Return Codes: Change 0 & 1707 to Hard Reboot (This will prompt for a reboot after installing)

Tested This deployment on: Windows 7x64, Windows 8.1x64, Windows Server 2012 & 2012R2.  Sorry, didn’t have a 2008R2 server to test on.

 

 

Once done installing, it will then show this “Requires Restart” (Because we changed the Return Code Values)
image

After the restart, it will show Installed:
image

After the Reboot, your Powershell icon will also be updated (At least on Server 2012R2):
image

 

Happy Deploying WMF5!

One thought on “Windows Management Framework v5–Application Deployment w/ ConfigMgr

Leave a Reply

Your email address will not be published. Required fields are marked *