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.
1 | HPLastDriverpack -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\drivers" |
- HPLastBios
Allows downloading the latest BIOS available.
1 | HPLastBios -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\BIOS" |
- HPLastDrivers
Allows downloading the latest drivers for a specific category.
1 | HPLastDrivers -NameDriver "Hotkey" -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\drivers\Add" |
- HPLastThunderbolt
Allows downloading the latest available Thunderbolt drivers.
1 | HPLastThunderbolt -OS "Win10" -OSver "21h2" -Platform "8873" -DestinationFolder "c:\drivers\add" |
Here is an example of how to use the functions.
1 2 3 4 5 6 7 8 9 10 | 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 Comments