WMI
Commands related to Windows Management Instrumentation
package require
twapi_wmi
This package provides commands related to the Windows Management
Instrumentation component. Support for using WMI functionality is
provided through the general COM interface provided by the twapi_com module. For a detailed
guide for accessing WMI objects through TWAPI's COM interface, see
Tcl Programming
for Windows. This page only describes the commands for
installing a WMI MOF (Managed Object Format) class definition in
the system's WMI database.
- IMofCompilerProxy
new
- Returns an MOFCOMPILER object that can be
used compile and install MOF definitions. The returned object must
be released when no longer needed by calling its Release method.
- MOFCOMPILER CompileBuffer MOF ?parameter ...?
- Compiles and installs the MOF definition MOF. For more details and description of the optional
parameters, see
CompileBuffer in the Microsoft SDK.
- MOFCOMPILER CompileFile MOFFILE ?parameter ...?
- Compiles and installs the MOF definition from the file
MOFFILE. For more details and description of the
optional parameters, see
CompileFile in the Microsoft SDK.
- MOFCOMPILER CreateBMOF MOFFILE OUTFILE ?parameter ...?
- Compiles the MOF definition from the file MOFFILE and writes the compiled binary form to the file
OUTFILE. For more details and description of the
optional parameters, see
https://docs.microsoft.com/en-us/windows/win32/api/wbemcli/nf-wbemcli-imofcompiler-createbmof
in the Microsoft SDK.
- MOFCOMPILER
Release
- Releases a MOF compiler object.
Copyright © 2022 Ashok P. Nadkarni