Heine Hanevik

One of my Twitter followers, Heine Hanevik, sent me a list of 45 HP Models which I added to a CSV which I then used PowerShell to create an HpMultiPack to support these Comptuers

Import-Module OSDDrivers -Force
$HpModelImport = Import-Csv "D:\OSDDrivers\HeineHanevik.csv"
$HpModelPacks = Get-HpModelPack

$MyOSDDrivers = @()
foreach ($HpModelPack in $HpModelPacks) {
    foreach ($item in $HpModelImport) {
        if ($HpModelPack.Model -match "$($item.Model)") {$MyOSDDrivers += $HpModelPack}
    }
}

$MyOSDDrivers | Save-OSDMultiPack -Make HP -WorkspacePath D:\OSDDrivers -AppendName HeineHanevik

This script downloaded any needed Drivers and created an HpMultiPack that does not include any Audio or Video Drivers

This results in an 822MB MultiPack

Supporting 138 different Hp Models, although I don't believe that these are named properly. This is visible from the WmiQuery.txt

In fact, HP recommends that you use the SystemID and not the Model Name for your Wmi Query (page 13)

So use the auto-generated WmiQuerySystemId.txt instead

Last updated

Was this helpful?