Click the floppy disk icons to download the ZIPped sources
| WSH Examples | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Description | Language | Last modified (DD/MM/YYYY) | Also available as: | Remarks | |||||||
| JS | VBS | DOS batch | NT batch | Kix | Perl | Power Shell |
Rexx | |||||
| PhysMem | Display a physical memory summary for any WMI enabled computer on the network | V | 10/11/2002 | D | PS | Created using Microsoft's Scriptomatic tool. | ||||||
| PingU | Notifies when a computer gets on-line | V | 03/01/2006 | CheckEngine subroutine by James Lim. | ||||||||
| PingSite | Check if a web site is up and running | V | 21/06/2007 | See my Check Websites page in the VBScript Scripting Techniques section. | ||||||||
| Print any file | V | 20/01/2008 | NT | Uses the file's associated print command from the registry. | ||||||||
| PrintDoc | Print the specified MS Word document to the default printer | V | 09/06/2008 | Based on a script by Arnout van der Vorst. | ||||||||
| PrintPDF | Print the specified PDF files | V | 30/03/2003 | NT | K | P | R | Based on a script written by Charles Hicks, and published on the PlanetPDF Developers Forum. The updated script by Charles Hicks will close Acrobat Reader afterwards, unless it was active already. | ||||
| Processes | Display running processes on any WMI enabled computer on the network | V | 17/10/2002 | R | Created using Microsoft's
Scriptomatic
tool. Rexx script for OS/2 only. |
|||||||
| ProdID | Display Windows' product ID | V | 30/11/2002 | NT | K | |||||||
| ProgIDs | Display all available ProgIDs | V | 15/03/2007 | Based on a PowerShell script on www.readify.net | ||||||||
| PWGen | Generate random complex passwords of a specified length | V | 02/01/2008 | Uses CAPICOM | ||||||||
| PwdNoExp | Set "password never expires" for a local account | V | 01/10/2007 | XP | VBScript version based on a
Microsoft
TechNet Script Center sample. Batch file uses WMIC. |
|||||||