Windows Administrative Scripting Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration

 

HTA & WSC Examples

Download the ZIPped sources Click the floppy disk icons to download the ZIPped sources

 

HTA & WSC Examples
Name Description Last modified
(DD/MM/YYYY)
Remarks View Source Go to download page
ADSITest.hta Test and debug ADSI queries 19/06/2007 This HTA combines several sample script from Don Jones' new book VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration. View the source file Download the ZIPped sources
CalDemo.hta Demonstration of Microsoft's Calendar HTML Component 09/02/2007 Automatically checks availability of control component. View the source file Download the ZIPped sources
GetDate.hta Calculate dates like "what date will Wednesday week 23 be in 2007?", or "what day of the week is the 30th of next month?" 06/11/2006   View the source file Download the ZIPped sources
Hardware.hta Display both basic and detailed hardware summaries for any WMI enabled computer on the network 15/02/2007 Created using Microsoft's Scriptomatic and HTA Helpomatic tools. View the source file Download the ZIPped sources
Holidays.hta Calculate the dates for future and past holidays 04/01/2007   View the source file Download the ZIPped sources
Random.wsc Retrieve true random numbers from random.org 15/08/2007   View the source file Download the ZIPped sources
Romans.hta Convert Roman numerals to decimal vv. 25/05/2007   View the source file Download the ZIPped sources
Software.hta List installed software on any WMI enabled computer 17/01/2007 Lists only the software installed by Windows Installer.
Created using the Microsoft Scripting Guys' Scriptomatic 2.0 and HTA Helpomatic tools.
View the source file Download the ZIPped sources
Whois.wsc Query domain registration for .com, .org & .net domains 14/06/2007   View the source file Download the ZIPped sources
WMIGen.hta Generate Batch, JScript, KiXtart, Object Rexx, Perl, PowerShell, Python and VBScript code for WMI queries 20/10/2006 Based on the example from the Microsoft TechNet ScriptCenter article Scripting Eye for the GUI Guy, with help from the Scripting Guys' Scriptomatic 2.0 and HTA Helpomatic tools and The Script Center Script Repository: Sample Windows PowerShell Scripts View the source file Download the ZIPped sources

 

Note: Unless stated otherwise, all HTAs automatically check for updates on startup.