ConfigMgr–Update Driver Source Paths Script
From the archive (2011). Written for the tools of the time, so some details may be out of date.
I was recently at a client and we were condensing down their hierarchy and retiring a few servers. After we had replicated all the packages between the sites, we needed to update the application source paths to reflect the new location. I already had a script to that and create a log that would identify all the changes. We also needed to update all the drivers in the database with the new source paths as well. I modified my package script to do the same for drivers and log the changes in a nice friendly log.
This script uses the MDT wsf format so that we can output a nice readable log.
Here is a sample output of what the log looks like.
![]()
Script is attached to this post. UpdateDriverSourcePaths