Hi, we are having some issues where not all the drivers are being installed during the hii provisioning process - whilst we investigate further, we have a script that will tidy up any missing hardware drivers. Issue we have is that the script will not work as part of a distrubuted package or as a provisioning task. Do any powershell or provisioning ninjas out there have a clean method to get the script running as required when part of an Ivanti automated task ? or have a working method to install missing drivers ?
Thanks in advance.
client os
all devices are win10 x64
script
Get-childitem -recurse -include *.inf | foreach-object{C:\Windows\System32\PNPUtil.exe /add-driver $_.fullname /install}
logs
attached.