On Wed, Dec 5, 2012 at 11:36 AM, James Rankin <kz2...@googlemail.com> wrote:
>> http://blogs.technet.com/b/heyscriptingguy/archive/2004/09/21/how-can-i-determine-if-a-computer-is-a-laptop-or-a-desktop-machine.aspx
>
> Whoa, like WTF are half of those returned types? This could get
> interesting....

  And it gets better.  Per the comments:

"I have come across machines that DO have more than one chassis type
(Laptops on docking stations are Laptop/Notebook + Expansion Chassis)"

  We solved this problem by having the hostname reflect the type.  So
if the hostname begins with FOOLT, it's a laptop.  If it's FOOPC, it's
a desktop.  Works every time.  ;-)

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to