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 | |||||
| SAVVer | Display Symantec Antivirus program and definitions version for any computer on the network | V | 29/06/2006 | K | ||||||||
| SendClip | Send a full path or any text string to the clipboard | V | 19/11/2002 | |||||||||
| Services | Display all services for any WMI enabled computer on the network | V | 02/11/2002 | NT | K | Created using Microsoft's Scriptomatic tool. | ||||||
| ServicesTD | Display all services for any WMI enabled computer on the network in TAB delimited format | V | 02/11/2002 | Created using Microsoft's Scriptomatic tool. | ||||||||
| ShareMg2 | Migrate all non-printer shares from one server to another | V | 02/11/2005 | NT | Currently for Windows Server 2003, created migration script needs manual
modifications afterwards for Windows 2000. (For printer migration, use Microsoft's PrintMig; for Scheduled Tasks migration, copy the scheduled tasks -- %windir%\Tasks\*.job -- to the new server, and use JT.EXE to re-set the "Run as:" property for each migrated task.) |
|||||||
| ShowPRN | Display all installed printers and their properties for any WMI enabled computer on the network | V | 13/01/2004 | NT | PS | Created using Microsoft's Scriptomatic tool. | ||||||
| ShowPRNT | Display all installed printers and their properties for any WMI enabled computer on the network in TAB delimited format | V | 17/01/2004 | NT | Created using Microsoft's Scriptomatic tool. | |||||||
| Shutdown | Shut down any WMI enabled computer on the network | V | 21/11/2007 | NT | K | P | R | Based on a post by
Alex
K. Angelopoulos on
www.developersdex.com. See my Shutdown page for shutdown and reboot commands for "all" operating systems. |
||||
| SnagTest | Automated SnagIt screen capture | V | 28/01/2008 | Requires SnagIt | ||||||||
| SortDate | Display the date in YYYYMMDD format | J | V | 29/12/2002 | D | NT | K | P | PS | R | MS-DOS version uses BATCHMAN by Michael Mefford | |
| SortTime | Display the time in HHmmss format | J | V | 29/12/2002 | D | NT | K | P | R | MS-DOS version uses BATCHMAN by Michael Mefford | ||
| SrvInv | Show and log a server hardware and software inventory | V | 14/09/2005 | Created using Microsoft's Scriptomatic tool. | ||||||||
| StarDate | Convert current date & time to stardate | V | 03/02/2003 | NT | K | P | R | Based on an algorithm found on The StarTrek Gallery | ||||
| Startup | Display all startup commands (Startup folder and registry Run) for any WMI enabled computer on the network | V | 16/01/2003 | Created using Microsoft's Scriptomatic tool. | ||||||||