HP Image Assistant - Install + Command Handler [DV,Param,Autofix]
Summary
The HP Image Assistant (HPIA) application is used by this script to manage and carry out updates on HP Workstations. If the application isn't already installed, it will be automatically installed from Winget. This script provides the feature to perform an HP Image Assistant scanning audit to list available updates if no arguments are passed, or it can execute specific update actions (such as installing drivers, software, or firmware) if arguments are passed.
Supported OS: Windows 10, Windows 11
Supported commands/arguments reference:
HP Image Assistant User Guide
Note:
- The systems must be compatible HP hardware. The script will automatically validate the manufacturer and product ID against HP's official platform compatibility list before proceeding.
- 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.
Dependencies
- PowerShell: Initialize-HPImageAssistant
- Custom Table: pvl_hpimageassistant_audit
- Script: OverFlowedVariable - SQL Insert - Execute
- Solution: HP Image Assistant Handler
Sample Run
Run the script with the SetEnvironment parameter set to 1 after import to get the required EDFs imported for the HP Image Assistant scanning and exclusions. It will also create the custom table pvl_hpimageassistant_audit.

Example 1:
Running the script without passing arguments to perform a default scan and return the available updates.
Arguments: <Blank>

Example 2:
Running the script to silently install recommended driver updates.
Arguments: /Operation:Analyze /Category:Drivers /Selection:Recommended /Action:Install /Silent /AutoCleanup /ReportFilePath:"C:\ProgramData\_Automation\App\HPImageAssistant\InstallReport"

Example 3:
Running the script to silently install recommended firmware updates.
Arguments: /Operation:Analyze /Category:Firmware /Selection:Recommended /Action:Install /Silent /AutoCleanup /ReportFilePath:"C:\ProgramData\_Automation\App\HPImageAssistant\InstallReport"

Example 4:
Running the script to silently install all available updates (drivers, firmware, and software) in one pass.
Arguments: /Operation:Analyze /Category:All /Selection:All /Action:Install /Silent /AutoCleanup /ReportFilePath:"C:\ProgramData\_Automation\App\HPImageAssistant\InstallReport"

User Parameters
| Name | Example | Required | Description |
|---|---|---|---|
SetEnvironment | 1 | First Run Only | If set to 1, it will import the required EDFs for the HP Image Assistant scanning and exclusions, and it will also create the custom table pvl_hpimageassistant_audit. |
Arguments |
| False | Command arguments to execute on the computer; a scan to list available updates will be executed if this parameter is left blank. Reference: HP Image Assistant User Guide |
Global Variables
| Name | Example | Required | Description |
|---|---|---|---|
Debug |
| False | When True, enables informational logging; when False (default), informational logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting. |
EDFs
| Name | Type | Level | Section | Required | Editable | Description |
|---|---|---|---|---|---|---|
| HP Image Assistant Update Audit | Checkbox | Client | HP | True | Yes | This EDF is required to be selected for the automated deployment of the HP Image Assistant scanning on the HP Windows machines. |
| Exclude HP Image Assistant Scan | Checkbox | Location | Exclusions | False | Yes | If this EDF is checked, the agents of the location will be excluded from the HP Image Assistant scanning. |
| Exclude HP Image Assistant Scan | Checkbox | Computer | Exclusions | False | Yes | If this EDF is checked, the agent will be excluded from the HP Image Assistant scanning. |
Output
Changelog
2026-04-30
- Initial version of the document.