MSEndpointMgr/Intune

Invoke-MSIntuneDriverUpdate.ps1 - Script stopped working for Dell Devices, Dell switched the driver source package from CAB to EXE.

Opened this issue · 4 comments

Invoke-MSIntuneDriverUpdate.ps1 - Script stopped working for Dell Devices, Dell switched the driver source package from CAB to EXE.

the new extraction for the EXE should be like this:
dup.exe /s /e=

How can we integrate this in the script?

maybe something like this to extract the exe:

                $DellSilentSwitches = "/s " + " /e=$DriverExtractDest"
                Start-Process -FilePath "$("$DriverSourceCab")" -ArgumentList $DellSilentSwitches -Verb RunAs

I was able to fix the script by commenting the line below and adding the following, also replace all "Driver Files" with "Driver_Files"

#Expand "$DriverSourceCab" -F:* "$DriverExtractDest"
$DellSilentSwitches = "/s " + " /e=$DriverExtractDest"
Start-Process -FilePath "$("$DriverSourceCab")" -ArgumentList $DellSilentSwitches -Verb RunAs -Wait