manipulating the Windows Device Manager

Erick Bodine erick_bodine at comcast.net
Wed Nov 19 00:17:20 CET 2003


That is exactly what I have found out.  I was able to grab the status
of the SCSI controller easy enuf (many kudos to the wmi author) but
there appears to be no way to enable/disable it - no relevant methods
in the Win32_SCSIController class.

--ERick

"Colin Brown" <cbrown at metservice.com> wrote in message news:<3fba73e7$1 at news.iconz.co.nz>...
> "Erick Bodine" <erick_bodine at comcast.net> wrote in message
> news:8de75d53.0311171056.407ab6f0 at posting.google.com...
> > I want to be able to disable/enable a hardware device on a Windoze box
> > for testing purposes through Python.  Cursory searches of the the
> > win32all extensions, this group and google have not been too
> > fruitfull.  There appears to be a route through WMI but I was
> > wondering if anyone had done this already before I plumb the depths of
> > MSDN.
> >
> > Thanks,
> >
> > ERick
> 
> My experiences with WMI indicate that it is an excellent way of looking at
> hardware settings but has limited support for changing many of them. Search
> c.l.p for earlier discussions about WMI. It might be worth looking at other
> applications that provide COM support or can be driven via popen.
> 
> Colin Brown
> PyNZ




More information about the Python-list mailing list