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 Overflowintune - How to initiate Dell Command updates remotely with a Powershell script - Stack Overflow
Automated Download + Install of Dell Command | Update
Dell Command update
Help with Dell BIOS updates
Videos
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"
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
You have to provide the whole path. Then it will work...
Start-Process "dcu-cli.exe <<<< here whole path of the dcu-cli application>>>...
I am attempting to create a set of PowerShell scripts/automations, intended to be used in the NinjaRRM console. I am trying to achieve the following:
-
a script to download and install DCU if it is not already installed
-
a script that scans for and logs any pending/needed updates/installs to custom fields
-
a final script to install all the updates and reboot
However I have yet to find a way to download and install Dell Command | Update as part of an automation, and ninja flags both the .exe file and the download URL as suspicious. I am relatively new to automation and ninja as this is my first position at an msp. Any suggestions or advice welcome
EDIT: I have no successfully gotten this to work. In addition I have created a GitHub repository that contains a few useful scripts for DCU, I have also numbered them in the order they were intended to be run in. https://github.com/nolannash/dcu-scipting
trying to put together a batch file or powershell i can deploy to remotely set up dell command update settings to download drivers automatically and prompt for install any suggestions?
Do any of you fine folks have experience pushing out Dell BIOS updates remotely using powershell? I banged my head against my keyboard for a couple hours yesterday trying to get this to work.
All the other parts of my script worked just fine, but the invoke-command part doesn't seem to work.
Invoke-Command -ComputerName $PC -Scriptblock {Start-Process C:\Temp\BIOSupdate.exe -ArgumentList '/s /r /p="$password"'}
I can RDP to the system and run this exact command in powershell and it works, but doing it via PSSession or using Invoke-Command fails and I can't seem to get why. Anybody have any insight to what I'm doing wrong?
*Edited for formatting*
XPS 15 9500
DCU v. 5.2.0.66
Windows 11 CoPilot Preview
Last successful update 3/19/2024. Don't know what was actually updated.
From the 19th on, DCU shows two updates. When I try to download and install, I get a message that installation failed. No other information on screen. I've tried downloading from the Dell support site. Had to use a private tab, but that says driver detection not available. The list of drivers for my service tag show different versions. I.e. the audio driver on the website is A71.
In the Activity log after Update.Operations.UpdateOperation.Download entries I have:
Failed, deleting Package 'Realtek High Definition Audio Driver' [FOLDER10969327M/2/Realtek-High-Definition-Audio-Driver_7HX49_WIN_6.0.9597.1_A80_01.EXE] Failed, deleting Package 'Intel Management Engine Components Installer' [FOLDER10938937M/2/Intel-Management-Engine-Components-Installer_7FHFF_WIN64_2345.5.42.0_A13.EXE]
Another relevant (?) activity says:
Package 'Realtek High Definition Audio Driver' has invalid check sum.
I've rebooted a few times and retried w/o success.
I'll try reaching Dell support, but any suggestions would be welcome.