ConfigMgr Prerequisites Tool – Version 1.4.1 has been released

156_1

Now that Windows ADK 10 has been released for managing deployment for Windows 10, I’ve updated the ConfigMgr Prerequisites Tool with capabilities of downloading the latest version of Windows ADK.

Release notes

This minor update to the tool includes the following:

  • Support for Windows ADK 10 and previous version Windows ADK 8.1. A new ComboBox has been added giving you the option to choose what version to install.
  • Minor fixes in the code.

I plan to add more options to this tool in the future, like installing prerequisites for a Distribution Point on Windows 7 or Windows 8.1

Download the ConfigMgr Prerequisites Tool

As with previous realeses, you can download the tool from the TechNet Gallery.

I hope you enjoy this new version, and please report any issues that you may have with it.

5 Comments

  1. Pingback: My Community PowerShell Jewels session on PowerShell Summit (links) | vNiklas Virtualization blog

  2. Herman van Drie

    First: great site and scripts.

    Though, found an issue in the script.
    You enumerate string values like integers. As they are evaluated by position, your script incorrectly handles ie buildnumbers wrong when it comes to Windows 10 / Server 2016.

    I used your script on Windows Server 2016 build 10514 and it would say that OS is not supported. Culprit is here:

    line 469:
    if (($OSProductType -eq 3) -and ($OSBuildNumber -ge 9200)) {

    Changing it to following solves it:
    [int]$OSBuildNumber -ge 9200

    Perhaps you could change your script to change datatypes accordingly before evaluation.

    Cheers, keep up the good work!

    Reply
    1. NickolajNickolaj (Post author)

      Hi Herman,

      Great find, huge mistake when you’re testing the code on Windows Server 2012 R2 where it actually works, but for Windows 10/Windows Server 2016 TP it doesn’t as you’re showing. I’ll update this, thanks for pointing it out. I think I’d have to do a thorough code review, as much of it are still pretty old that I wrote when I was a newbie at PowerShell.

      Regards,
      Nickolaj

      Reply
  3. Steve

    I am having major problems running this on a Server2008R2 box. I keep getting the error:

    You must provide a value expression on the right-hand side of the ‘-‘ operator.

    My command is “powershell -file .\filename.ps1
    It is also being ran under Unrestricted execution policy

    Help?!?!

    Reply
    1. NickolajNickolaj (Post author)

      Hi Steve,

      You need to install Windows Management Framework 3.0 (which includes PowerShell 3.0) for the tool to work.

      Regards,
      Nickolaj

      Reply

Leave a Comment

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