importexportdrivers.ps1 - экспорт и импорт драйверов
Экспорт
$drivers = Export-WindowsDriver -Online -Destination .\drv $drivers | ft ProviderName, ClassName, Date, Version -auto | Out-File .\drivers.txt
Импорт
Get-ChildItem -File ".\" -Recurse -Filter "*.inf" | ForEach-Object { PNPUtil.exe -i -a $_.FullName}