Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/UsefulScripts01/HPDrivers
Update all HP device drivers with a single command - Get-HPDrivers
https://github.com/UsefulScripts01/HPDrivers
bios drivers hp powershell uefi
Last synced: 3 months ago
JSON representation
Update all HP device drivers with a single command - Get-HPDrivers
- Host: GitHub
- URL: https://github.com/UsefulScripts01/HPDrivers
- Owner: UsefulScripts01
- License: mit
- Created: 2023-09-07T14:54:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-25T13:49:54.000Z (10 months ago)
- Last Synced: 2024-05-12T03:32:55.601Z (6 months ago)
- Topics: bios, drivers, hp, powershell, uefi
- Language: PowerShell
- Homepage:
- Size: 365 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - UsefulScripts01/HPDrivers - Update all HP device drivers with a single command - Get-HPDrivers (PowerShell)
README
# HPDrivers
Update all HP device drivers with a single command: `Get-HPDrivers`
## Installation
Copy the code from the area below and paste it into PowerShell Admin (or Windows Terminal).
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
Install-Module -Name HPDrivers -Force
```
## How it's working?
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
## 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 the drivers even if the current driver version is the same
`-BIOS` [switch] - Update the BIOS to the latest version
`-DeleteInstallationFiles` [switch] - Delete the HP SoftPaq installation files stored in C:\Temp
`-SuspendBL` [switch] - Suspend BitLocker protection for one restart
## Examples
Example 1: Simple, just download and install all drivers.
```powershell
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.
```powershell
Get-HPDrivers -ShowSoftware -DeleteInstallationFiles -SuspendBL
```
Example 3: Download and install all drivers and BIOS, even if the current driver version is the same.
```powershell
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.
```powershell
Get-HPDrivers -OsVersion '22H2'
```
Example 5: Automatic driver installation. Can be part of a deployment script.
```powershell
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
```