PowerShell: Get Motherboard Model
Need to check the model of the motherboard - for hardware inventory, driver lookups, or confirming compatibility? This one-liner pulls it straight from the system.
Prerequisites:
- Privileges: None
- Module: Built-in, no import needed
Quick Command:
Get-CimInstance -ClassName Win32_BaseBoard | Select-Object Model
Example Output:
Model
-----
0PXFT4
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
How It Works:
- Get-CimInstance -ClassName Win32_BaseBoard queries the baseboard (motherboard) class.
- Model returns the manufacturer's model number for the motherboard - useful for looking up drivers, chipset specs, or compatible components.
Pro Tip:
On virtual machines, this often comes back empty, since there's no physical motherboard with a manufacturer-assigned model number.