MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
633 stars 282 forks source link

Invoke-CMApplyDriverPackage.ps1 and additional manufacturer (AZW) #213

Closed Stuart42 closed 4 years ago

Stuart42 commented 4 years ago

Hey,

I'm wondering how open you are to adding support for more (and more esoteric...) manufacturers.. we have an increasing number of super low-cost devices coming in from AZW, and I've found adding the following in the 'Determine manufacturer name and hardware information' section enables support for applying the custom driver packages we've made for them.

"*AZW*" { $ComputerManufacturer = "AZW" $ComputerModel = (Get-WmiObject -Class Win32_ComputerSystem | Select-Object -ExpandProperty Model).Trim() $SystemSKU = (Get-CIMInstance -ClassName MS_SystemInformation -NameSpace root\WMI).BaseBoardProduct.Trim() }

NickolajA commented 4 years ago

Absolutely, I'll add this to the new 3.0.0 version that's currently out in Preview. It'll be released soon.