Skip to main content

Dell Command Update - InstallUpgrade + Command Handler

Summary

The Dell Command | Update application is used by this script to carry out commands on Dell Workstations. If the application isn't already installed, it will be installed. If a version older than 5 is already present, it will upgrade the application to the latest available version.

Supported OS: Windows 10, Windows 11

Supported commands/arguments reference:
Supported commands/arguments reference

Exit codes reference:
Exit codes reference

Note:

  1. The systems must be compatible with the installation of Dell Command Update. For further details on compatible systems, please visit the compatible systems section of the following link: Dell Command | Update Windows Universal Application | Driver Details | Dell US
  2. ProVal does not recommend performing BIOS updates remotely. ProVal is not responsible for any failed devices due to remote BIOS updates. BIOS updates are performed at the MSP's risk.

File Hash

File Path: C:\ProgramData\_automation\Script\Install-DCU\Install-DCU.ps1
File Hash (Sha256): F200FE6585BB95357268B260E4C6CB9B77D08B8BAFFD1FDC0A58122C41213410
File Hash (MD5): 46A1C970F0FAAAB7BA2E3D865F6EB51C

Sample Run

Example 1

Running the script with basic /scan command to return the available updates.
Command: /Scan
Image1

Example 2

Running the script to install available bios, firmaware, and driver updates.
This command will not update any active driver as we are not using the -forceupdate switch.
Command: /applyUpdates -updateType=bios,firmware,driver -silent -reboot=disable
Image2

Example 3

Running the script to forcefully install all available driver updates.
Caution: It is recommended to restart the computer at the earliest convenience after using the -forceupdate=enable switch, as this switch updates active drivers as well. An active driver that requires a restart for the update may malfunction if the update is installed without rebooting the computer.
Command: /applyUpdates -updateType=driver -silent -reboot=disable -forceupdate=enable
Image3

User Parameters

NameExampleRequiredDescription
Command
  • /version
  • /scan
  • /scan -updateType=bios,firmware,driver
  • /applyUpdates -updateType=bios,firmware -silent -reboot=disable
  • /applyUpdates -updateType=driver -silent -reboot=disable -forceupdate=enable
  • /driverInstall -silent -reboot=disable
FalseCommand to execute on the computer; the /scan command will be executed if this parameter is left blank.
Reference: Supported commands/arguments reference

Script States

NameDescription
DellCommandUpdateLastCommandPassedStores the command executed from the user parameter.
DellCommandUpdateScriptLastRunTimeStores the script run time.
DellCommandUpdateScriptLastResultOutput of the command executed from Dell Command | Update.
UpdatesNeededNumber of updates needed to install on the computer, returned by the /scan command.
LastRunStatusExit code returned by Dell Command | Update.
LastRunStatusReferenceTranslation of the exit code.

Output

  • Script State
  • Script Log