It's be easier to use CIM to get that information.
$c=Get-CimInstance -ComputerName localhost -Class CIM_Processor
$c.manufacturer
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hope someone can help.
I'm trying to query two specific CPU manufacturers "GenuineIntel" and "AuthenticAMD" on Windows 10 devices and apply add different sets of registry values when there's a positive match.
Example:
It's be easier to use CIM to get that information.
$c=Get-CimInstance -ComputerName localhost -Class CIM_Processor
$c.manufacturer