WMIGen Changelog

What's new in WMIGen 10.0.15.6

Feb 25, 2023
  • Changed "MS Help" button caption to "Help online".
  • The associated search query is now limited to learn.microsoft.com and wutils.com.

New in WMIGen 10.0.15.5 (Feb 20, 2023)

  • Changed "MSDN Help" button caption to "MS Help".
  • The associated search query is now limited to learn.microsoft.com instead of msdn.microsoft.com.

New in WMIGen 10.0.15.4 (Apr 15, 2022)

  • Bug similar to the previous one: the program would return an error message when running a WMI query that returned arrays of Byte, UInt64 or Object values (e.g. the MS_SmBios class in the root/WMI namespace); this has been fixed.

New in WMIGen 10.0.15.3 (Apr 14, 2022)

  • Bug: the program would return an error message when running a WMI query that returned arrays of UInt32 values (e.g. the HigherLayerInterfaceIndices property of the MSFT_NetAdapter class in the root/StandardCimv2 namespace); this has been fixed.

New in WMIGen 10.0.15.2 (Feb 11, 2021)

  • Another maintenance release, in preparation for multiple query editors besides the current "pure WQL" query editor.
  • For the moment the Edit button below the generated code is disabled for PowerShell 7 and batch code, as neither of these adheres to "pure WQL".

New in WMIGen 10.0.15.1 (Feb 11, 2021)

  • Maintenance release, in preparation for multiple query editors besides the current WQL query editor.
  • The only difference on the "outside" is the popup message text you get to see when you try to start the WQL query editor for PowerShell 7.
  • No need to download if you are running the 10.0.15.0 version.

New in WMIGen 10.0.15 (Aug 26, 2020)

  • Added "PowerShell 7" to the language, and renamed the original "PowerShell" to "PowerShell 5".
  • The Query Editor is not yet available for PowerShell 7, this is planned for the next release.

New in WMIGen 10.0.14 (Jul 14, 2020)

  • Fixed an error in generated C++ code

New in WMIGen 10.0.13 (Aug 12, 2019)

  • New feature: integrated WQL editor to edit generated queries

New in WMIGen 10.0.12 (Aug 1, 2019)

  • Fixed an error in the MSDN search for methods

New in WMIGen 10.0.11 (Jul 23, 2019)

  • New feature: limit the generated code and executed WMI query to one or multiple selected properties only
  • Fixed an error in the title for executed query results

New in WMIGen 10.0.10 (Dec 6, 2018)

  • Improved search feature, now also in generated code and query result windows
  • Update and license checks now use a secure connection

New in WMIGen 10.0.9 (Nov 11, 2018)

  • Fixed a bug in the generated batch code

New in WMIGen 10.0.8 (Mar 9, 2018)

  • The namespaces dropdown will now resize with the program window to prevent long namespace paths from being truncated (provided the window and hence the screen is large enough)
  • Compiled with Visual Studio 2017 environment (so far Visual Studio 2010 was used)

New in WMIGen 10.0.6 (Sep 3, 2017)

  • The generated Batch, JScript, Lua, PHP, Python, Ruby, VB .NET code is now also capable of showing arrays of numbers as strings (/CHAIN command line switch)
  • Some display errors for arrays (prefixes, suffixes and separators) in the "Run" window's output have been corrected

New in WMIGen 10.0.5 (Aug 25, 2017)

  • generated Tcl code is now also capable of showing arrays of numbers as strings (/CHAIN command line switch)

New in WMIGen 10.0.4 (Aug 23, 2017)

  • The generated Tcl code now also accepts an optional remote computer name on the command line
  • The generated Tcl code now also shows the number of instances
  • And last but not least: error handling has been added to the generated Tcl code

New in WMIGen 10.0.3 (Aug 21, 2017)

  • Tcl was added to the list of supported languages
  • An error was fixed in the "Run" screen output

New in WMIGen 10.0.2 (Aug 18, 2017)

  • PHP was added to the list of supported languages
  • Python scripts can be generated as either Python 2 or Python 3 scripts

New in WMIGen 9.02 (Aug 21, 2014)

  • Improved update feature.
  • New black and white setting.

New in WMIGen 9.01 (Jan 3, 2014)

  • Corrected some HTML errors in the Help screen.
  • Added the WMIGen Help page to this website.

New in WMIGen 9.00 (Jan 3, 2014)

  • A reshuffle of the user interface, plus some code optimization:
  • All permanent settings are displayed in their own window when the "Settings" button is clicked.
  • All permanent settings can be changed interactively.
  • The configuration file can be edited in Notepad by clicking the "Edit" button.
  • The settings can be restored to "factory defaults" by clicking the "Reset" button.
  • The Settings, Help and Credits screens are all opened in the main program window, thus minimizing the chance of stray Internet Explorer leftover sessions after closing the HTA.
  • Pressing the Escape key returns you to the main program window.
  • In the Help and Credits screens, pressing the Backspace key will do the same.
  • CSS code has been added to allow the Help screen to be printed properly (open Help and press Ctrl+P to print).
  • Some switches got new names, some can no longer be used in the configuration file, but are now commandline-only; see the program's Help screen for details.
  • Unattended use has been improved by the addition of a new optional switch /SAVE:"filename" to save the code or result to a file; see the program's Help screen for details.
  • Fixed ambiguity issue with MSDN Help function.
  • The HTA checks if it is running with elevated privileges, and displays an error message if not.

New in WMIGen 8.20 (Dec 18, 2013)

  • Added Lua to the list of supported languages

New in WMIGen 8.10 (Nov 13, 2013)

  • Update notification is now a MsgBox dialog instead of an inserted HTML block in the main window.
  • Each command line argument can now be saved in a configuration file "WMIGen.cfg"; just write the settings you wish to persist on a single line (e.g. /WIN32 /NOPERF /LANGUAGE:BATCH), and it will be appended to the actual command line; "real" command line arguments prevail over saved settings.
  • A checkbox "Remember these settings" has been added in the "Configure" block to allow creating a basic "WMIGen.cfg" file.

New in WMIGen 8.01 (May 24, 2013)

  • Bug fixed in generated VBScript code.

New in WMIGen 8.00 (Nov 15, 2012)

  • Added Delphi and Object Pascal to the list of supported languages.
  • Replaced (most of) the "legacy" HTML code by HTML/CSS code, fixed some HTML/CSS errors, and include a document type, to make the HTA work in Internet Explorer 10/Windows 8.

New in WMIGen 7.03 (Aug 17, 2011)

  • Added Java to the list of supported languages.
  • Fixed a bug that would sometimes disable the "Generate Code" and/or "Run Code" buttons.

New in WMIGen 7.02 (Aug 17, 2011)

  • Added a command line switch /CLASS:"class" to select the class the HTA opens with.
  • Added a command line switch /LANGUAGE:"language" to select the language the HTA opens with.
  • Added a command line switch /GENRATE to immediately generate the code for the selected namespace and class in the language of choice (requires /NAMESPACE, /CLASS and /LANGUAGE).
  • Added a command line switch /RUN to immediately run the generated (VBScript) code for the selected namespace and class (requires /NAMESPACE and /CLASS).
  • Added a command line switch /FAST to skip the queries to populate the namespaces and classes lists, and populate these lists with the selected values only (requires /NAMESPACE; /CLASS is optional, if not used, the list will still be populated using a WMI query).
  • Added a command line switch /COPY to copy the generated code or query results to the clipboard and close the HTA (requires /NAMESPACE, /CLASS and either /LANGUAGE and /GENERATE or /RUN). This allows the HTA to be run without interaction; use Paste.exe to read the results from the clipboard.
  • To prevent incorrect update notices, the update check now clears the Internet Explorer cache and rereads the latest version from the web if it does not match the current version.
  • Some command line examples were added to the help text.
  • The help text has been moved to an Internet Explorer window, because it no longer fits in a message dialog box.

New in WMIGen 7.01 (Aug 17, 2011)

  • Fixed a bug in the MSDN Help function.

New in WMIGen 7.00 (Aug 17, 2011)

  • Added a dropdown list to select alternative WMI namespaces, besides the default root/CIMV2
  • Added a command line switch /NAMESPACE:"namespace" to select the default namespace the HTA opens with.
  • Added a checkbox in the settings to hide the update notification.
  • "Generate resource-friendly code" now affects more script languages (all but batch and the "true .NET languages").
  • Fixed a bug that could disable the "Generate Code" button after changing the "Generate resource-friendly code" setting.
  • Fixed, optimized and rewrote the routine that inserts spaces in property names.

New in WMIGen 6.24 (Aug 17, 2011)

  • Fixed a bug in the handling of the /WRAP switch.

New in WMIGen 6.23 (Aug 17, 2011)

  • Added an option (settings and command line switch /RESOURCEFRIENDLY) to restore the previously removed WQL and wbemFlagReturnImmediately + wbemFlagForwardOnly parameters in the generated ExecQuery statements for JScript, KiXtart, Perl and VBScript.
  • Using these parameters makes the WMI query results "read-once" and renders the .Count property useless, but the generated code will use less resources.
  • Added a choice to enable or disable (soft) word wrap in the code screen (settings and command line switch /WRAP).

New in WMIGen 6.22 (Jul 25, 2011)

  • Improved generated code for JScript, KiXtart, Perl and VBScript: the second and third parameter ("WQL" and "wbemFlagReturnImmediately + wbemFlagForwardOnly") are removed in the generated "ExecQuery" statements.

New in WMIGen 6.21 (Jun 15, 2011)

  • Generated Ruby code will now accept an optional remote computer name
  • as command line argument.

New in WMIGen 6.20 (Jun 14, 2011)

  • Improved Python code, it now works with Python 3.1 and handles properties of every type.
  • Improved VB .NET code, it now complies to Visual basic 2010.
  • Generated C#, Python and VB .NET code now accepts a remote computer name as command line argument.
  • The configuration settings are now hidden behind the new "Configure" button.
  • Spaces in property names (in the generated source code) are no longer inserted by default.
  • Added the following switches:
  • /SPACES insert spaces in property names (in generated source code)
  • /SIZE:widthxheight specify window size
  • /HELP and /? display command line help, also available by pressing F1
  • /NOUPDCHK skip check for updates at startup

New in WMIGen 6.11 (May 20, 2011)

  • Improved F# code, it will now handle properties of every type.

New in WMIGen 6.10 (May 20, 2011)

  • Added /NOSPACES and /Q switches, and interactive settings.
  • With /NOSPACES the original property names will be used for descriptions, otherwise the descriptions will contain spaces to improve readability.
  • If no command line switch is used, a settings block will appear at the top of the page, allowing to interactively change the settings otherwise controlled by the command line switches.
  • With /Q the settings section will remain hidden.

New in WMIGen 6.00 (May 20, 2011)

  • Added F# to the list of supported languages.

New in WMIGen 5.10 (Oct 8, 2010)

  • Added /ALL and /NOPERF switches.
  • By default, all classes in the ROOT\CIMV2 namespace are listed at startup.
  • With /WIN32 only Win32_classes are listed.
  • With /NOPERF Win32_Perf classes are excluded from the list.

New in WMIGen 5.00 (Jul 2, 2010)

  • Added C# and VB .NET to the list of supported languages.

New in WMIGen 4.10 (Jul 2, 2010)

  • Added Ruby to the list of supported scripting languages.

New in WMIGen 4.01 (Jul 2, 2010)

  • Corrected the URLs to my own site.

New in WMIGen 4.00 (Jul 2, 2010)

  • Added a "Run WMI Code" button to test the selected WMI query.

New in WMIGen 3.00 (Jul 2, 2010)

  • Replaced "Create ... Code" buttons by a drop-down list.
  • Optimized screen layout for large and small screens.

New in WMIGen 2.02 (Jul 2, 2010)

  • Added doublequotes for the "node" name in the generated batch code, to prevent error messages if the computer name contains dahes

New in WMIGen 2.01 (Dec 9, 2009)

  • Corrected the URL to WMIGen.hta in the generated code.
  • Added alternating background colors in the dropdown list boxes.