This script uses the  Client Management Script Library to download drivers with PowerShell

Note : Get ProductID with  Get-HPDeviceProductID

Example

  • HPLastDriverpack

Allows downloading the Driver Pack.

HPLastDriverpack -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\drivers"
  • HPLastBios

Allows downloading the latest BIOS available.

HPLastBios       -OS "Win10" -OSver "21h2" -Platform "8873"     -DestinationFolder "c:\BIOS"
  • HPLastDrivers

Allows downloading the latest drivers for a specific category.

HPLastDrivers    -NameDriver "Hotkey"       -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\drivers\Add"
  • HPLastThunderbolt

Allows downloading the latest available Thunderbolt drivers.

HPLastThunderbolt -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\drivers\add"

Here is an example of how to use the functions.

HPLastDriverpack -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64\DriversPack"
HPLastBios       -OS "Win10" -OSver "21h2" -Platform "8873"     -DestinationFolder "c:\Drivers\BIOSupdate\HP_ZBookStudioG8\BIOS"
DownloadScriptsBIOS -DestinationFolder "c:\Drivers\BIOSupdate\HP_ZBookStudioG8"
HPLastDrivers    -NameDriver "WLAN"         -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64\ADD"
HPLastThunderbolt                           -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64\ADD"
HPLastDrivers    -NameDriver "Synaptics"    -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64\ADD"
HPLastDrivers    -NameDriver "NVIDIA"       -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64\ADD"
HPLastDrivers    -NameDriver "Hotkey"       -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64\ADD"
HPGenerateDriverBat -DriverBatFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64" -DriverCVAFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64\ADD" -PrefixeFolderComputerDrivers "c:\pnpdrivers\ADD"
DownloadScriptsDrivers -DestinationFolder "c:\Drivers\HP_ZBookStudioG8\Win10\x64"

0 commentaire

Laisser un commentaire

Emplacement de l’avatar

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.