Skip to content

dell_command_update.ps1

Corey Watson edited this page Dec 1, 2025 · 2 revisions

dell_command_update.ps1

Run Dell Command Update silently for driver and firmware updates.

Overview

Installs Dell Command Update via Chocolatey and runs it to scan and apply driver/firmware updates silently. Designed for automated Dell system maintenance in RMM environments.

Purpose

Automates Dell driver and firmware updates on managed Dell workstations and laptops without user interaction.

Prerequisites

  • Chocolatey package manager installed
  • Dell system (script will fail on non-Dell hardware)
  • Admin privileges for installation and updates

Configuration

Required Inputs

  • DcuCliPath: Path to Dell Command Update CLI executable
  • DcuLogPath: Directory for DCU log files (default: C:\dell\logs)
  • PackageName: Chocolatey package name for Dell Command Update

Settings

  • Uses Chocolatey 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

Behavior

  1. Verifies Chocolatey is installed
  2. Installs Dell Command Update UWP package if not present
  3. Verifies DCU CLI exists
  4. Configures DCU for silent operation
  5. Scans for available updates
  6. Applies updates without rebooting

Security Notes

  • No secrets in logs
  • Only affects Dell driver/firmware components

Exit Codes

  • 0: Success
  • 1: Failure (Chocolatey not found, DCU not installed, etc.)

Example Output

[ INPUT VALIDATION ]
--------------------------------------------------------------
DCU CLI Path : C:\Program Files\Dell\CommandUpdate\dcu-cli.exe
DCU Log Path : C:\dell\logs
Package Name : DellCommandUpdate-UWP

[ OPERATION ]
--------------------------------------------------------------
Checking for Chocolatey...
Installing Dell Command Update...
Configuring Dell Command Update...
Scanning for updates...
Applying updates...

[ RESULT ]
--------------------------------------------------------------
Status : Success

[ SCRIPT COMPLETED ]
--------------------------------------------------------------

Version History

  • v1.0.0 (2025-11-29): Initial Style A implementation

Links

Clone this wiki locally