I'm trying to figure out how to push out BIOS updates for Dell machines remotely using PowerShell. I've spent a couple of hours on this issue without much success. My script works well for everything else, but the part with Invoke-Command isn't cooperating. Here's what I'm trying to run:
`Invoke-Command -ComputerName $PC -Scriptblock {Start-Process C:TempBIOSupdate.exe -ArgumentList '/s /r /p="$password"'}`
When I RDP into the system and run the command directly, it works perfectly, but it fails when I use PSSession or Invoke-Command. Can anyone help shed some light on this?
2 Answers
We typically use endpoint management software for this task, but you might want to check out Dell Command Update. It's pretty effective for BIOS management.
Do you have other management tools available, like SCCM or Intune? Or even PSADT? Those can simplify the process significantly with built-in cmdlets.

Unfortunately, I don't have access to those. The network I'm working on is running a 2012R2 domain controller. It's a bit outdated, and I'm trying to manage updates, but it's a slow process.