mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Merge pull request #119 from HedgeComp/HP-Versions-Fix
Fix HP Driver Windows Version case sensitivity
This commit is contained in:
@@ -1003,7 +1003,9 @@ function Get-HPDrivers {
|
|||||||
$Arch = $WindowsArch -replace "^x", ""
|
$Arch = $WindowsArch -replace "^x", ""
|
||||||
|
|
||||||
# Construct the URL to download the driver XML cab for the model
|
# Construct the URL to download the driver XML cab for the model
|
||||||
$ModelRelease = $SystemID + "_$Arch" + "_$WindowsRelease" + ".0.$WindowsVersion"
|
# The HPcloud reference site is case sensitve so we must convert the Windowsversion to lower 'h' first
|
||||||
|
$WindowsVersionHP = $WindowsVersion -replace 'H', 'h'
|
||||||
|
$ModelRelease = $SystemID + "_$Arch" + "_$WindowsRelease" + ".0.$WindowsVersionHP"
|
||||||
$DriverCabUrl = "https://hpia.hpcloud.hp.com/ref/$SystemID/$ModelRelease.cab"
|
$DriverCabUrl = "https://hpia.hpcloud.hp.com/ref/$SystemID/$ModelRelease.cab"
|
||||||
$DriverCabFile = "$DriversFolder\$ModelRelease.cab"
|
$DriverCabFile = "$DriversFolder\$ModelRelease.cab"
|
||||||
$DriverXmlFile = "$DriversFolder\$ModelRelease.xml"
|
$DriverXmlFile = "$DriversFolder\$ModelRelease.xml"
|
||||||
|
|||||||
Reference in New Issue
Block a user