Run Dell Command (Driver updates) - Windows

This worklet will run Dell Command on a users machine to update to latest drivers, it also does firmware updates if found.

This is possibly a two part worklet, depending on the version of Dell Command installed. If you have the normal executable application version you can run the Run Update script below. However if running the UWP version for Win10, you need to uninstall that and install the non UWP version using the uninstall/reinstall script below (Make sure to include all needed files like the DCU executable, MUP and Package files. Those are currently available at: https://www.dell.com/support/article/en-us/sln311129/dell-command-update?lang=en

Dell Command Uninstall/Reinstall:

$dellc = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match "Dell Command" }
$dellc.Uninstall()

Start-Process -FilePath "DCU_Setup_3_1_3.exe" -ArgumentList "/S /v/qn"

The run update command itself is:

Start-Process -FilePath "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" -ArgumentList "/applyUpdates -silent -outputLog=C:\Temp\DellCommandUpdate.log"

This creates a log file at c:\temp\DellCommandUpdate.log for review as well.

1 Like

Awesome. Using Dell Command to manage drivers is a great solution with Automox.

If you do need to pass additional arguments to the embedded msi through the command, here is a way to get double quotes around your second set of arguments:

"/S /v`"/norestart /qn`""

The back ticks will pass the double quote properly in a Worklet.

3 Likes