Check whether it has a battery installed.
That's about all you can do (unless you're that good that you know all the laptop/desktop models off by heart).
If it has a battery installed, it's a laptop :). It's useful info we keep in inventory
LANDesK EMEA Technical Lead
Inventory - System - Chassis Type
I suggest you showing 2 columns:
"chassis type" and "battery" to compare them because, sometimes a laptop is displayed without battery
Full ack., because sometimes a laptop is displayed without "Chassis type"
We use naming convention. most likely can't be used in your situation though....
WSxxxxx = Desktop
LTxxxxxx = Laptop
Usually it's 100% (grin)
This works well for me.
"Computer"."System"."Chasis Type" = "Notebook"
OR "Computer"."System"."Chasis Type" = "Portable"
"Computer"."System"."Chasis Type" <> "Notebook"
OR "Computer"."System"."Chasis Type" <> "Portable"
Except when we miss it or don't pull complete info... I've found ours to be very good with Lenovo/IBM because of their SMBIOS interface, but only passable with Dell or HP. ldms_client has a battery section that dumps everything WMI has to say, which was necessary to handle all of those battery recalls last year.
There is also Managed Planet's that can be used to convert all these different ways of searching into a single field called Laptop, with a Yes or No. It is not free however.
I would use the like option in your query as it is less restrictive and will allow you to pick up chassis' that have notebook in them like sub notebook(example below)
"Computer"."System"."Chasis Type" Like "Notebook"
OR "Computer"."System"."Chasis Type" Like "Portable"
Here is my laptop query as i have Macs and they are not always identified properly.
Hope it helps
BTW - To dave's point below,Managed Planet's DTS rules make this much easier.
Thanks to all of you guys. You're help is very appreciated.
Thanks and Best Regards,