<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules >





WMI module provides functions to handle Windows Management Instrumentation technology.


How to use this module


Inside your script, before calling any module specific keyword, add the following:




This directive will load the module and add the following new keywords.





Important notes about WMI module usage


1.WMI module is still highly experimental.

2.WMI is a complex technology. Not all functionalities will be handled by WMI module

3.for Win95/Win98 if module does not report any info, you need to install Windows Management Instrumentation (WMI) CORE 1.5 (Windows 95/98) or above: http://www.microsoft.com/downloads/details.aspx?FamilyID=98a4c5ba-337b-4e92-8c18-a63847760ea5&DisplayLang=en

4.WMI works also on network using RPC protocol. So before using WMI functionalities over a remote computer, be sure RPC protocol is active on remote side. In this case also security issues can prevent from getting back data.







For a list of WMI classes, please have a look at http://msdn2.microsoft.com/en-us/library/aa394554.aspx

Attention, it is a huge huge area so quite easy to get lost.


Other reference: http://www.dmtf.org/standards/wbem