Lenovo LSUClient - Deploy - [User Prompt]
Summary
This script uses the PowerShell module LSUClient to install available BIOS updates for Lenovo machines. The -All parameter can be used to install all available vendor updates, including BIOS, firmware, Applications and drivers.
NOTE:
The script prompts for variables during runtime, where we can pass arguments to either all, or install only firmware, only Lenovo updates, only drivers, or any specific driver as needed.If an argument contains double quotes ("), they must be escaped by using them twice (""silent""). Otherwise, the command will not execute correctly.
Dependencies
Sample Run


Parameters
Valid parameters: The valid values are 'All', 'Application', 'BIOS', 'Driver', 'Firmware'. We can use them as per below examples.
| Parameter | Required | Excample | Type | Description |
|---|---|---|---|---|
Argument | false | --- | Leave scan and and it will give the available updates details. | |
Argument | True | -Type All | String | Installs ALL updates. |
Examples
-
Default scan operation: If executing the script without any arguments, it will only scan.

-
Apply driver updates silently: To perform an update action (for example, silent install of recommended driver updates):
-Type Drivers
-
Apply Firmware updates silently:To perform an update action (for example, silent install of recommended firmware updates):
-Type Firmware
-
Apply All updates silently :To perform an update action (for example, silent install of all available updates):
-Type All -
Apply BIOS,Driver,application,firmware updates silently :To perform an update action (for example, silent install of BIOS,Driver,application,firmware -NoRebootavailable updates):
-Type BIOS,Driver,application,firmware -NoReboot
-
Apply BIOS updates silently :To perform an update action (for example, silent install BIOS available updates):
-Type BIOS
-
Apply Application updates silently :To perform an update action (for example, silent install of Application available updates):
-Type Application
-
Apply BIOS, Driver updates silently :To perform an update action (for example, silent install BIOS, Driver available updates):
-Type BIOS, Driver -NoReboot
-
Apply specific updates silently :
-Type 'n3ch101w_bisbnk919kse', 'pcieeth06w_w11'
Output
- Script Logs
C:\ProgramData\_automation\AgentProcedure\DellCommandUpdate\Install-LenovoUpdates-log.txtC:\ProgramData\_automation\AgentProcedure\DellCommandUpdate\Install-LenovoUpdates-error.txt