Collect your drivers and export them to a share

Last week I saw a really interesting Tweet from Adam Eaddy mentioning his blog where he had published a automated way to build Configuration Manager Driver Packages automatically by collecting drivers from a remote PC. The script worked great, but I missed the nice folder structure to keep the drivers nice and ordered. I tweaked his script a bit, so it would fit my needs.

This PowerShell script collects the drivers (in a nice manufacturer\model\version\arch structure) and copies them to a network share. This makes it possible to use your own Configuration Manager driver import script (or import them manually) or even use them in your MDT configuration.

image

Note : you have to run the script as an Administrator.

Please let me know what you think!