[python-win32] WMI script that shows general info about a computer (SOLVED)

python at bdurham.com python at bdurham.com
Thu Mar 4 07:30:10 CET 2010


OP here. When in doubt, read the (very well commented) wmi.py
source code :)

computerSystem = wmi.WMI().Win32_ComputerSystem()[0]

Sorry for the interuption.

Malcolm

----- Original message -----
From: python at bdurham.com
To: python-win32 at python.org
Date: Wed, 03 Mar 2010 21:01:19 -0500
Subject: [python-win32] WMI script that shows general info about
a computer
Apologies for the vague description. I'm looking for tips on a
WMI query that would allow me to show general info about a
computer.

We're going to use this data as part of a workstation inventory
project I'm working on.

I'm sure I've seen this type of query before but my google-mojo
is failing me.

Thank you,
Malcolm
_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100304/4f948727/attachment.html>


More information about the python-win32 mailing list