Skip to content

Update all HP device drivers with a single command - Get-HPDrivers

License

Notifications You must be signed in to change notification settings

UsefulScripts01/HPDrivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 24, 2025
8a57d65 · Feb 24, 2025

History

19 Commits
Feb 24, 2025
Jan 25, 2024
Oct 30, 2023
Sep 9, 2024
Sep 9, 2024
Jan 25, 2024
Sep 9, 2024

Repository files navigation

HPDrivers

Update all HP device drivers with a single command: Get-HPDrivers


Table of Contents


Release Notes

v1.4.3

  • Added search for latest drivers even if available driver version on HP servers is older than current Windows version (for older computers)
  • Added HP software (e.g. dock firmware, manageability, diagnostic) to -ShowSoftware parameter
  • Added max 5 driver download attempts in case of failure
  • Fixed minor bugs

v1.4.0

  • First standalone version that does not use the HP CMSL module.

Installation

Copy the code from the area below and paste it into PowerShell Admin (or Windows Terminal).

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
Install-Module -Name HPDrivers -Force

How it works

The HPDrivers module downloads and installs HP SoftPaqs that match to the operating system version and hardware configuration.

  • Open PowerShell or Windows Terminal as an administrator

  • Run Get-HPDrivers

  • Select the drivers to install


Select Drivers


Installation Process


Parameters

-NoPrompt [switch] - Download and install all drivers

-OsVersion [string] - Specify the operating system version (e.g. 22H2, 23H2)

-ShowSoftware [switch] - Show additional HP software in the driver list

-Overwrite [switch] - Install drivers even if the current driver version is the same

-BIOS [switch] - Update BIOS to the latest version

-DeleteInstallationFiles [switch] - Delete the HP SoftPaq installation files stored in C:\Temp\HPDrivers

-SuspendBL [switch] - Suspend BitLocker protection for one restart


Examples

Example 1: Simple, just download and install all drivers.

Get-HPDrivers -NoPrompt

Example 2: Show a list of available drivers and additional software. The selected drivers will be installed automatically. Do not keep installation files. Suspend the BitLocker pin on next reboot.

Get-HPDrivers -ShowSoftware -DeleteInstallationFiles -SuspendBL

Example 3: Download and install all drivers and BIOS, even if the current driver version is the same.

Get-HPDrivers -NoPrompt -BIOS -Overwrite

Example 4: Show a list of available drivers that match the current platform and Windows 22H2. The selected drivers will be installed automatically.

Get-HPDrivers -OsVersion '22H2'

Example 5: Automatic driver installation. Can be part of a deployment script.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
Install-Module -Name HPDrivers -Force
Get-HPDrivers -NoPrompt -BIOS -DeleteInstallationFiles

About

Update all HP device drivers with a single command - Get-HPDrivers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published