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.
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?!?!
Hi Steve,
You need to install Windows Management Framework 3.0 (which includes PowerShell 3.0) for the tool to work.
Regards,
Nickolaj
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!
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
[…] System Center Config MGR Prereq Tool […]