1

Why does Win32_BaseBoard return no instances in PowerShell?

wmic path "Win32_BaseBoard" get "Model"
2
  • That's not a PowerShell command - did you mean gwmi Win32_BaseBoard -Property Model? Also, what is your OS? Is this a virtual machine?
    – Ben N
    Apr 10, 2016 at 19:11
  • I am sure I can run this command in PowerShell and I am sure this it's wmic. I am running it on a physical machine which is a Surface Pro 3.
    – xtu
    Apr 11, 2016 at 21:14

1 Answer 1

0

Why Does Win32_BaseBoard returns no instances in PowerShell?

wmic path "Win32_BaseBoard" get "Model"

The above is not a PowerShell command, it is a wmic command.

It returns no instances (an empty string) because the value Model has not been set by the manufacturer of your motherboard.

I have the same behaviour on my Sony laptop.

F:\test>wmic baseboard get product, manufacturer, version, serialnumber, model
Manufacturer      Model  Product  SerialNumber  Version
Sony Corporation         VAIO     N/A           N/A
4
  • 1
    Wait, isn't there a difference between a lack of instances and an instance with a blank value for a particular field?
    – Ben N
    Apr 10, 2016 at 20:49
  • @BenN I suppose there could be.
    – DavidPostill
    Apr 10, 2016 at 21:14
  • I am getting 'no instance available' rather than blank value. It's different. The command just returns fine the other day. What could be the cause of getting 'no instance'?
    – xtu
    Apr 11, 2016 at 21:13
  • @xtu No idea :/
    – DavidPostill
    Apr 11, 2016 at 21:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .