{"action":"created","issue":{"url":"https://api.github.com/repos/SCConfigMgr/ConfigMgr/issues/68","repository_url":"https://api.github.com/repos/SCConfigMgr/ConfigMgr","labels_url":"https://api.github.com/repos/SCConfigMgr/ConfigMgr/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/SCConfigMgr/ConfigMgr/issues/68/comments","events_url":"https://api.github.com/repos/SCConfigMgr/ConfigMgr/issues/68/events","html_url":"https://github.com/SCConfigMgr/ConfigMgr/issues/68","id":355877121,"node_id":"MDU6SXNzdWUzNTU4NzcxMjE=","number":68,"title":"Invoke-CMApplyDriverPackage.ps1 v2.1.2 not detecting (dell) Driver package","user":{"login":"MaartenPauchet","id":12744314,"node_id":"MDQ6VXNlcjEyNzQ0MzE0","avatar_url":"https://avatars1.githubusercontent.com/u/12744314?v=4","gravatar_id":"","url":"https://api.github.com/users/MaartenPauchet","html_url":"https://github.com/MaartenPauchet","followers_url":"https://api.github.com/users/MaartenPauchet/followers","following_url":"https://api.github.com/users/MaartenPauchet/following{/other_user}","gists_url":"https://api.github.com/users/MaartenPauchet/gists{/gist_id}","starred_url":"https://api.github.com/users/MaartenPauchet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaartenPauchet/subscriptions","organizations_url":"https://api.github.com/users/MaartenPauchet/orgs","repos_url":"https://api.github.com/users/MaartenPauchet/repos","events_url":"https://api.github.com/users/MaartenPauchet/events{/privacy}","received_events_url":"https://api.github.com/users/MaartenPauchet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-31T07:54:30Z","updated_at":"2018-08-31T08:56:00Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nupdated my setup yesterday, new Driver Download 6.1, used the action to rename my HP driver packages for the short name version. \r\nUpdated the CMApplyDriverPackage to v2.1.2.\r\nI tried to load a Dell Precision 7520 today and it's driver pack is not detected. \r\nI checked the ApplyDriverPackage.log:\r\n``===== SCConfigMgr Invoke-CMApplyDriverPackage Version 2.1.2 ====\r\nDriver download package process initiated\r\nManufacturer determined as: Dell\r\nComputer model determined as: Precision 7520\r\nComputer SKU determined as: 07B0\r\nFallback SKU determined as: 07B0\r\nRetrieved a total of 84 driver packages from web service\r\nAttempting to detect OS Image data from task sequence, running in DeploymentType: BareMetal\r\nTranslated OSName from OSImageVersion: Windows 10\r\nTranslated OSImageArchitecture: x64\r\nTranslated OS image version from '10.0.16299.431' to: \r\nUsing computer detection method: SystemSKU\r\n<skipping a lot of mismatching driver packs here>\r\nAttempting to find a match for driver package: Drivers - Dell Precision 7520 - Windows 10 x64 (xxx001C3)\r\nUnable to match computer model using detection method: SystemSKU (07B0)\r\nFallback from SystemSKU match found for computer model instead using detection method: SystemSKU (Precision 7520)\r\nDriver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Dell Precision 7520 - Windows 10 x64 (MOW001C3)\r\nComputer model detection logic failed for all detected driver packages\r\n``\r\nso it looks like it's no longer finding my driver packages for a Dell device which was working fine with the v2.1.0 I had before (exact same test machine). My bet would be on the line: \r\nTranslated OS image version from '10.0.16299.431' to:\r\n \r\nwhich doesn't seem to know what short version to choose (should 1709) because the hash table in your source only appears to have entries for : \r\n# Windows Version Hash Table\r\n\t$WindowsBuildHashTable = @{\r\n\t\t\"1803\"  = \"10.0.17134.1\"\r\n\t\t\"1709\"  = \"10.0.16299.15\"\r\n\t\t\"1703\"  = \"10.0.15063.0\"\r\n                \"1607\" = \"10.0.14393.0\"\r\n\r\nhope this helps to figure out what went wrong and make the driver management solution even better!"},"comment":{"url":"https://api.github.com/repos/SCConfigMgr/ConfigMgr/issues/comments/417599736","html_url":"https://github.com/SCConfigMgr/ConfigMgr/issues/68#issuecomment-417599736","issue_url":"https://api.github.com/repos/SCConfigMgr/ConfigMgr/issues/68","id":417599736,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzU5OTczNg==","user":{"login":"MaartenPauchet","id":12744314,"node_id":"MDQ6VXNlcjEyNzQ0MzE0","avatar_url":"https://avatars1.githubusercontent.com/u/12744314?v=4","gravatar_id":"","url":"https://api.github.com/users/MaartenPauchet","html_url":"https://github.com/MaartenPauchet","followers_url":"https://api.github.com/users/MaartenPauchet/followers","following_url":"https://api.github.com/users/MaartenPauchet/following{/other_user}","gists_url":"https://api.github.com/users/MaartenPauchet/gists{/gist_id}","starred_url":"https://api.github.com/users/MaartenPauchet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaartenPauchet/subscriptions","organizations_url":"https://api.github.com/users/MaartenPauchet/orgs","repos_url":"https://api.github.com/users/MaartenPauchet/repos","events_url":"https://api.github.com/users/MaartenPauchet/events{/privacy}","received_events_url":"https://api.github.com/users/MaartenPauchet/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T08:56:00Z","updated_at":"2018-08-31T08:56:00Z","author_association":"NONE","body":"just reverted my Invoke-CMApplyDriverPackage.ps1 back to 2.1.1 > still fails.\r\nreverted it back to 2.1.0 and it works again..."}}
{"actor":{"display_login":"MaartenPauchet"}}