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:
- 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
- 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
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
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
User Parameters
Name | Example | Required | Description |
---|---|---|---|
Command |
| False | Command to execute on the computer; the /scan command will be executed if this parameter is left blank. Reference: Supported commands/arguments reference |
Script States
Name | Description |
---|---|
DellCommandUpdateLastCommandPassed | Stores the command executed from the user parameter. |
DellCommandUpdateScriptLastRunTime | Stores the script run time. |
DellCommandUpdateScriptLastResult | Output of the command executed from Dell Command | Update. |
UpdatesNeeded | Number of updates needed to install on the computer, returned by the /scan command. |
LastRunStatus | Exit code returned by Dell Command | Update. |
LastRunStatusReference | Translation of the exit code. |
Output
- Script State
- Script Log