Navigation:  ThinBASIC Modules >


Previous pageReturn to chapter overviewNext page




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:
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

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


Other reference: