"Michel Claveau" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Re!
>
> This script run on my XP :
>
>
> import win32com.client
> WMIS = win32com.client.GetObject(r"winmgmts:root\cimv2")
> objs = WMIS.ExecQuery("select * from Win32_PhysicalMedia")
> for obj in objs:
>     print obj.SerialNumber
>     print obj.Tag
>     print
>
Thank you for the input. Strange that this does not return the serial number
reported by other hardware utilities (SIW for one) and on both of my
machines this number ends with 202020202020202020202020??? Thanks again.
Louis


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to