-
Notifications
You must be signed in to change notification settings - Fork 5
dell_command_update.ps1
Corey Watson edited this page Dec 1, 2025
·
2 revisions
Run Dell Command Update silently for driver and firmware updates.
Installs Dell Command Update via winget and runs it to scan and apply driver/firmware updates silently. Designed for automated Dell system maintenance in RMM environments.
Automates Dell driver and firmware updates on managed Dell workstations and laptops without user interaction.
- Windows 10 1809+ or Windows 11 with winget
- Dell system (script will fail on non-Dell hardware)
- Admin privileges for installation and updates
- DcuCliPath: Path to Dell Command Update CLI executable
- DcuLogPath: Directory for DCU log files (default: C:\dell\logs)
- WingetId: winget package ID for Dell Command Update (default: Dell.CommandUpdate)
- Uses winget for package management
- Configures DCU to auto-suspend BitLocker and disable user consent prompts
- Applies updates without rebooting (reboot=disable)
- Logs scan and apply operations to C:\dell\logs
- Verifies winget is available
- Installs Dell Command Update if not present
- Upgrades DCU to latest version if already installed
- Verifies DCU CLI exists
- Configures DCU for silent operation
- Scans for available updates
- Applies updates without rebooting
- No secrets in logs
- Only affects Dell driver/firmware components
- 0: Success
- 1: Failure (winget not found, DCU not installed, etc.)
[ INPUT VALIDATION ]
--------------------------------------------------------------
DCU CLI Path : C:\Program Files\Dell\CommandUpdate\dcu-cli.exe
DCU Log Path : C:\dell\logs
Winget ID : Dell.CommandUpdate
[ OPERATION ]
--------------------------------------------------------------
Checking for winget...
winget found
Checking for Dell Command Update...
Installing Dell.CommandUpdate...
Installation complete
Configuring Dell Command Update...
Configuration complete
Scanning for updates...
Scan complete (log: C:\dell\logs\scan.log)
Applying updates...
Updates applied (log: C:\dell\logs\applyUpdates.log)
[ RESULT ]
--------------------------------------------------------------
Status : Success
[ FINAL STATUS ]
--------------------------------------------------------------
Dell Command Update completed successfully.
Reboot may be required for some updates to take effect.
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
- v2.0.0 (2025-12-01): Switched from Chocolatey to winget for package management
- v1.0.0 (2025-11-29): Initial Style A implementation
- View Script Source
- Scripts - Back to script index