Had this issue with deployment with Dell command update. I use PDQ Deploy. After much online reading found that a bach file is easyer to work with.

my code looks like this

cd C:\Program Files\Dell\CommandUpdate

dcu-cli /version

dcu-cli /scan

dcu-cli /applyUpdates -encryptedPasswordFile="???" -encryptionKey="???"

Also not sure if you are trying to run the scan and the apply in the same code. I found that it is more stable to run them in diffrent steps.

hope this helps

Answer from Killing-me-MicroSoftly on Stack Overflow
🌐
Blogger
mickitblog.blogspot.com › 2016 › 04 › using-powershell-to-control-dell.html
Mick's IT Blogs: Using PowerShell to control Dell Command | Update for drivers and BIOS updates
-NoNewline 200: If ((Test-Path $EXE) -eq $true) { 201: $ErrCode = (Start-Process -FilePath $EXE -ArgumentList $Argument -Wait -Passthru).ExitCode 202: } else { 203: $ErrCode = 1 204: } 205: If (($ErrCode -eq 0) -or ($ErrCode -eq 240) -or ($ErrCode -eq 241)) { 206: Write-Host "Success" -ForegroundColor Yellow 207: } elseIf ($ErrCode -eq 119) { 208: Write-Host "Unavailable" -ForegroundColor Green 209: } else { 210: Write-Host "Failed with error code "$ErrCode -ForegroundColor Red 211: } 212: } 213: 214: cls 215: Set-ConsoleTitle -Title $ConsoleTitle 216: $Architecture = Get-Architecture 217: If
🌐
GARYTOWN
garytown.com › dell-command-update-install-manage-via-powershell
Dell Command Update – Install & Manage via PowerShell – GARYTOWN ConfigMgr Blog
I think I fixed the issue by changing “If ($DCUVersionInstalled -ne $false){[Version]$CurrentVersion = $DCUVersionInstalled.Version}” to “If ($DCUVersionInstalled -ne $false){[Version]$CurrentVersion = [Version]$DCUVersionInstalled}” Now the function does not attempt to install DCU since the currently installed version if greater than the script detected available version from Dell. The CurrentVersion variable was now set to version value 5.4.0 after the fix. I was running the functions inside of PowerShell ISE if that makes any difference.
Discussions

intune - How to initiate Dell Command updates remotely with a Powershell script - Stack Overflow
I've tested a few scripts by changing to the Dell Command directory and then executing "dcu-cli.exe" with arguments to bypass prompts but haven't had much luck. Is there a way to initiate these updates on Dell Command (or Support Assist( 4.8.0 remotely with a Powershell script? More on stackoverflow.com
🌐 stackoverflow.com
How to run command line or PowerShell script if file could exist in two locations? - Stack Overflow
Could someone help me convert this to a command line or PowerShell script so that it would correctly from whichever location exists? It should only exist in one of the two locations and only needs to be run once. ... "%ProgramFiles%\Dell\CommandUpdate\dcu-cli.exe" /configure -updatetype=bi... More on stackoverflow.com
🌐 stackoverflow.com
cmd - Using dcu-cli.exe to Install Dell Updates on Remote System - Stack Overflow
I found that I like the command line "Dell Command | Update" tool called dcu-cli.exe. I can run it in a remote session, run CMD as admin, pushd to the directory with it and its dependencies, and it runs great. But, but want to be able to do this with psexec.exe, since PowerShell remoting is ... More on stackoverflow.com
🌐 stackoverflow.com
dell command update
Is that the full script? Where is the command when you actually run it? More on reddit.com
🌐 r/PowerShell
14
3
March 14, 2024
🌐
Stack Overflow
stackoverflow.com › questions › 60304551 › how-to-manage-dcu-cli-gui-in-powershell-remote-job
driver - How to manage dcu-cli GUI in powershell remote job - Stack Overflow
$Trigger = New-ScheduledTaskTrigger -Once -At $(Get-Date).AddMinutes(1) $User = "SYSTEM" $Actions = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "Start-Process 'C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe' -ArgumentList '/scan -report=`"C:\Temp\`"'" $Settings = New-ScheduledTaskSettingsSet -ExecutionTimeLimit "01:00" -AllowStartIfOnBatteries $Task = New-ScheduledTask -Action $Actions -Trigger $Trigger -Settings $Settings -Description 'Update process' Register-ScheduledTask -TaskName "DCU Updates Scan" -InputObject $Task -User $User -Force
🌐
Cyberdrain
cyberdrain.com › monitoring-with-powershell-monitoring-dell-driver-updates-dcu-3-1
Monitoring with PowerShell: Monitoring Dell Driver Updates (DCU 3.1)
$DownloadLocation = "C:\Program Files\Dell\CommandUpdate" start-process "$($DownloadLocation)\dcu-cli.exe" -ArgumentList "/applyUpdates -autoSuspendBitLocker=enable -reboot=enable -updateType=bios" -Wait · And this one installs only the BIOS updates. I think with these examples and the manual I’ve posted above you can figure out your exact preferred settings. So that’s it! As always, Happy PowerShelling!
🌐
Automox
community.automox.com › community hub › forum › automox worklets › find & share worklets › basic dell command update worklet
Basic Dell Command Update Worklet | Community
November 29, 2023 - $software = & "$env:SystemRoot\sysnative\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -WindowStyle Hidden -NoProfile -NonInteractive -Command $scriptblock ... $results = Start-Process -FilePath "C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" -ArgumentList "/configure -$Arg" -Wait | Out-Null
🌐
Stack Overflow
stackoverflow.com › questions › 71876484 › how-to-run-command-line-or-powershell-script-if-file-could-exist-in-two-location
How to run command line or PowerShell script if file could exist in two locations? - Stack Overflow
$possiblePaths = "$env:ProgramFiles\Dell\CommandUpdate\dcu-cli.exe", "${env:ProgramFiles(x86)}\Dell\CommandUpdate\dcu-cli.exe" $correctPath = foreach( $path in $possiblePaths ) { if( Test-Path -PathType Leaf $path ) { $path break } } if( !$correctPath ) { throw "Could not find dcu-cli.exe at any of the following paths: $(@( $possiblePaths ) -join ', ')" } # Execute found binary & $correctPath /configure -updatetype='bios,firmware,driver,application,utility,others'
🌐
GitHub
github.com › MicksITBlogs › PowerShell › blob › master › DellCommandUpdate.ps1
PowerShell/DellCommandUpdate.ps1 at master · MicksITBlogs/PowerShell
Uses Dell Command | Update to update all drivers, BIOS, and Dell applications. Everything can be entered through the parameters without the need to modify the code. ... If no BIOS Password is submitted, then the script will skip over clearing disabling the BIOS Password. ... powershell.exe -file Update.ps1 -ConsoleTitle "Dell Command | Update" -Policy "BIOS.xml" -BIOSPassword "Pwd"
Author   MicksITBlogs
Find elsewhere
🌐
GitHub
github.com › ajh0912 › Useful-PowerShell › blob › main › Get-DellUpdates.ps1
Useful-PowerShell/Get-DellUpdates.ps1 at main · ajh0912/Useful-PowerShell
https://www.dell.com/support/manuals/en-uk/command-update/dellcommandupdate_rg/dell-command-%7C-update-command-line-interface?guid=guid-c8d5aee8-5523-4d55-a421-1781d3da6f08&lang=en-us ... # So unfortunately $env:TEMP does not work when running as NT AUTHORITY\SYSTEM, instead we'll use this directory ... Start-Process -FilePath $dcuExePath -ArgumentList "/scan -report=`"$dcuReportDirectory`"" -Verbose -Wait
Author   ajh0912
🌐
Blue929
blog.blue929.com › 2026 › 02 › 13 › powershell-script-dell-command-update
Powershell Script – Dell Command Update
February 13, 2026 - ############ Silent update ############ # Execute DCU-CLI.exe with the following parameters to trigger system update # Machine must be connected to AC power due perform BIOS update $DCU_Classic = Test-path "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" $DCU_Universal = Test-path "C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" $command = "/applyupdates -updatetype=bios,firmware,driver,application -reboot=disable -forceUpdate=enable -outputlog=c:\temp\DCULog-EXE-BIOS.log " if($DCU_Classic){ Write-Output "#### Executing Dell command update classic.....
🌐
Aaronjstevenson
scripts.aaronjstevenson.com › device-management › updates › dell-command-update
Dell Command Update | Shared Script Library
July 11, 2025 - installation attempt" Remove-Item $Installer -Force -ErrorAction Ignore exit 1 } } elseif ($null -eq $LatestDotNet.Version) { Write-Output "`nUnable to retrieve latest .NET 8.0 Desktop Runtime version - skipping installation / upgrade" } else { Write-Output "`n.NET 8.0 Desktop Runtime ($Arch) installation / upgrade not needed" } } function Invoke-DellCommandUpdate { # Check for DCU CLI $DCU = (Resolve-Path "$env:SystemDrive\Program Files*\Dell\CommandUpdate\dcu-cli.exe").Path if ($null -eq $DCU) { Write-Warning 'Dell Command Update CLI was not detected.' exit 1 } try { # Configure DCU automati
🌐
Adam the Automator
adamtheautomator.com › dell-command-update
Master Dell Command Update and Keep Your Dell Apps Current
February 16, 2024 - dcu-cli.exe/<command> -option1=value1 -option2=value2 -option3=value3... To utilize the Dell Command Update CLI effectively: 1. Open the command prompt or PowerShell as an administrator.
🌐
LinkedIn
linkedin.com › pulse › powershell-automation-install-configure-execute-dell-command-webber
PowerShell Automation: Install, Configure, and Execute Dell Command Update
April 15, 2023 - Here the call operator, &, is used to run the dcu-cli.exe executable, which is used to run DCU commands.
🌐
GitHub
github.com › PowershellBacon › Dell-Driver-Updates › blob › master › Update-Dell-Drivers.ps1
Dell-Driver-Updates/Update-Dell-Drivers.ps1 at master · PowershellBacon/Dell-Driver-Updates
Start-Process -FilePath .\cctk.exe -ArgumentList "--setuppwd= --valsetuppwd=YOURCURRENTPASSWORD" -Wait -WindowStyle Hidden ... Start-process -FilePath ".\dcu-cli.exe" -ArgumentList "/forceupdate $release" -Wait -WindowStyle Hidden
Author   PowershellBacon
🌐
Cyberdrain
cyberdrain.com › monitoring-with-powershell-monitoring-dell-device-updates
Monitoring with PowerShell: Monitoring Dell device updates
$DownloadLocation = "$($Env:ProgramFiles)\DCU" Start-Process "$($DownloadLocation)\DCU-CLI.exe" -ArgumentList "/import /policy `"$($DownloadLocation)\MySettings.xml`"" -Wait Suspend-BitLocker -MountPoint 'C:' -RebootCount 1 Start-Process "$($DownloadLocation)\DCU-CLI.exe" -Wait · the AMP file can be found here. As always, Happy PowerShelling!
🌐
Reddit
reddit.com › r/powershell › dell command update
r/PowerShell on Reddit: dell command update
March 14, 2024 -

Good evening everyone.

So, I created a powershell script to update a number of pc's (same model-dell). The issue is that when the script runs dell command update, a black cmd screen pops up on the user's display. Is there a way to prevent this popup from appearing?

This is the code I'm using atm:

# Dell Command Update

# Define paths and options for Dell Command Update

$dellCommandUpdatePath = "C:\Program Files\Dell\CommandUpdate\dcu-cli.exe"

$logFolderPathDCU = "C:\Logs\DellCommandUpdate"

🌐
Reddit
reddit.com › r/powershell › [deleted by user]
[deleted by user] : r/PowerShell
September 4, 2020 - I seem to recall some occasional ... line executables... ... Following up to this - I did correct the space at the end with no effect. ... So I use this to update drivers FROM sccm as a package, you can see it here https://github.com/PowershellBacon/Dell-Driver-Updates-PSADTK. What you might want to try is this. Start-Process "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" -ArgumentList ...
🌐
Stack Overflow
stackoverflow.com › questions › 60307898 › using-psremoting-to-install-dell-updates-using-dcu-cli-exe
powershell - Using PSRemoting to Install Dell Updates using dcu-cli.exe - Stack Overflow
the problem I had was figuring out how to pass "/applyUpdates" to dcu-cli instead of having it interpreted by powershell · Breaking the dcu-cli invocation into two separate steps works (cd ..., then .\dcu-cli) I am logged in to my workstation as a user with local admin rights on the remote computer. $pcname="ss-frontdesk" $exePath="\program files\dell\commandupdate" invoke-command -computername $pcname {cd "$using:exePath"; .\dcu-cli /applyUpdates -reboot=enable}
🌐
Automox
community.automox.com › community hub › forum › automox worklets › find & share worklets › worklet - dell command update with output showing what updates installed
Worklet - Dell Command Update with Output Showing What Updates Installed | Community
May 12, 2021 - & 'C:\Program Files\Dell\CommandUpdate\dcu-cli.exe' /configure -exportSettings=C:\temp ... Sorry i am very new to powershell and am working through your script, so i apologize.