MSEndpointMgr / ModernDriverManagement

Official repo of Modern Driver Management from MSEndpointMgr.com
https://www.msendpointmgr.com
MIT License
132 stars 77 forks source link

Fujitsu model detetection #276

Open systxix opened 6 months ago

systxix commented 6 months ago
                    "*Fujitsu*" {
                            $ComputerDetails.Manufacturer = "Fujitsu"
                            $ComputerDetails.Model = (Get-WmiObject -Class "Win32_ComputerSystem" | Select-Object -ExpandProperty Model).Trim()
                            $ComputerDetails.SystemSKU = (Get-WmiObject -Class "Win32_BaseBoard" | Select-Object -ExpandProperty SKU).Trim()
                    }

Hi!

Anyone else having trouble detecting Fujitsu models? I have found 2 issues here:

  1. In SystemSKU detection, -ExpandProperty SKU outputs nothing (null) and the script fails with an error message (you cannot call a method on a null-valued expression). But if you use -ExpandProperty Product instead, the SystemSKU detection works and the script runs.
  2. In addition to the manufacturer name Fujitsu, they also use FUJITSU CLIENT COMPUTING LIMITED name (at least with Fujitsu Lifebook E5413-s here in Estonia :) ) which is missing from script and leads to no package detection (even with modified -ExpandProperty.