Continued from part 2e:
So, my driver handling routine is probably looking pretty scary right now. There are a lot of scripts that need to be run, and I have not discussed where to put them, or in which order they should be executed. In part 6 of this series, I will provide playbook procedures for using the scripts. Here I will provide a sys admin’s overview of where the scripts should be stored, and how they work with each other.
Script location and customization:
- Copy ImportDrivers.ps1, Update-DriverInjectionTaskSequence.ps1, UVM-ConfigurationManager.psm1, Create-UDIInfoFiles.ps1, and Build-UDIImageList.ps1 (see part 3) to a local directory on your Management Point or Site Server. We use “c:localscripts”, with “CM-[Category]” subdirectories for each category of script. I keep dependencies such as the “UVM-ConfigurationManager.psm1 in the “Script Root” directory.
- Review the starting sections for each file for local references that you might need to customize for your site.
- Update the path to the “UVM-ConfigurationManager.psm1” PowerShell module in the Create-UDIInfoFiles script.
- Update the path to the “UVM-ConfigurationManager.psm1” file in the Update-DriverInjectionTaskSequence script.
- Update the path to your MDT Files package source in the Create-UDIInfoFiles script.
- Copy the ZUVMDetectDriverPackage.wsf file into the “Scripts” directory of your MDT Files package.
Script sequence and dependency chains:
- Run “ImportDrivers.ps1” – creates the Driver Packages and groups referenced by all future scripts and operations. Note that the script does not distribute the packages that get created. You must do this manually. Anyone want to share a tip on programmatic package distribution?
- The remaining server side scripts can be run in any order. After running the scripts, you must re-distribute your MDT Files to your distribution points or the UDI Task Sequence will fail with missing file or missing dependency errors.
I think that covers the procedure. I will work on streamlining the process to make it simpler to implement.
On to the handling of operating system images in UDI…
Next: Operating Systems – Update the OS Image List in the UDI Wizard:
- Drivers – Package Import:
- Drivers – Task Sequence Management:
- Drivers – Powershell Support Module:
- Drivers – Client-side driver package selection:
- Drivers – Providing SCCM database info to clients:
- Drivers – File Structure and Dependencies:
- Operating Systems – Update the OS Image List in the UDI Wizard:
- Operating Systems – Update the Task Sequence with new OS Image data:
- Applications – Update the Applications and App Groups in the UDI Wizard:
- UDI Quirks:
- UDI Operations – Updating Drivers:
- UDI Operations – Updating Operating Systems:
- UDI Operations – Updating Applications: