Tag Archives: Powershell

Managing Windows Device Drivers with Powershell

Published by:

Exporting the third party device drivers from your running windows installation.

Export-WindowsDriver -online -Destination D:\path\folder

Exporting the third party device drivers from a windows image

Export-WindowsDriver -Path E:\ -Destination D:\path\folder

See Microsoft documentation

Add all device drivers from folder tree to a windows image

Add-WindowsDriver -Path "E:\offline" -Driver "D:\drivers" -Recurse

Add an unsigned device driver to a windows image

Add-WindowsDriver -Path "E:\offline" -Driver "D:\driver.inf" -ForceUnsigned

See Microsoft documentation