-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolved issues with Surface devices #26
base: master
Are you sure you want to change the base?
Conversation
Fixed an issue where a systemsku with : in it would break driver detection for that sku Fixed issue where space in the SystemSKU would cause $DriverPackageInputArray in Confirm-SystemSKU to have an empty array Fixed issue where falling back to Confirm-ComputerModel would cause the script to error out from to many matches. Disabled the Fallback
This reverts commit d317d9c.
…ction for that sku Fixed issue where space in the SystemSKU would cause $DriverPackageInputArray in Confirm-SystemSKU to have an empty array Fixed issue where falling back to Confirm-ComputerModel would cause the script to error out from to many matches. Disabled the Fallback
More information on Fixed issue where space in the SystemSKU would cause $DriverPackageInputArray in Confirm-SystemSKU to have an empty array. $DriverPackageInputArray = $DriverPackageInput.Replace(" ", ",").Split($SystemSKUDelimiter) | Select-Object -Unique was changed in an earlier commit to resolve an issue with spaces in the SystemSKU, but this fix also causes an empty array item to be added to $DriverPackageInputArray like so: if ($ComputerData.SystemSKU -match $SystemSKUItem) will match as true on an empty array and add in a driver that shouldn't have been added in which will end up causing the error:
Run the script without the above fix using the below command line: Below from log:
|
Guessing this is related to what I'm seeing in #31, where drivers for Surface devices are being download from Dell. |
I have resolved the issues with 4.0.2 and surface devices. I did have to disable fallback model detection to get it to work correctly.