Fileaze banner

 

WSH Examples (S*)

 

0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

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

Checksums for the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources

 

WSH Examples
Click the floppy disk icons to dowload the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources Name Description Language Last
modified
(DD/MM/YYYY)
Also available as: Remarks
JScript VBScript DOS batch NT batch KiXtart Perl Power
Shell
Rexx
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SAVVer Display Symantec Antivirus program and definitions version for any computer on the network   V 29/06/2006     K        
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SecStat Display a SecurityCenter and Windows Update status overview   V 29/09/2009   NT K       Requires Windows XP SP2 or later.
Use WBEMTEST.EXE to find all properties for a specific AntiVirus or Firewall product.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SelFile Displays a "Select File" dialog and returns the selected file name   V 31/05/2010             Known issue: though the returned file name is correct, the returned path is not
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SendClip Send a full path or any text string to the clipboard   V 19/11/2002              
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Services Display all services for any WMI enabled computer on the network   V 02/11/2002   NT K       Created using Microsoft's Scriptomatic tool.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SetDate Set today's day, month, year, week and quarter in environment variables   V 25/07/2009             When scheduled every midnight and at system startup, your batch files can read the day, month, year, week, quarter, weekday and day of the year directly from environment variables. This can be very useful in backup directory names, log file names, etc.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SFaR Simple Find and Replace   V 14/07/2010             Can be used to replace text in ASCII files or strings.
Limited testing on XML files suggests UTF-8 is handled correctly as long as no Unicode characters need to be found or replaced.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.)
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SID2User Return DOMAIN\UserID for the specified SID   V 25/09/2009   XP         Based on an article by the Microsoft Scripting Guys.
Batch version uses WMIC.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SkypeVer Display installed Skype software version   V 16/09/2009              
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SnagTest Automated SnagIt screen capture   V 28/01/2008             Requires SnagIt
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source SrvInv Show and log a server hardware and software inventory   V 14/09/2005             Created using Microsoft's Scriptomatic tool.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source StarDate Convert current date & time to stardate   V 03/02/2003   NT K P   R Based on an algorithm found on The StarTrek Gallery
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source 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.

 

0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

QR Code for http://www.robvanderwoude.com/wshexamples_s.php

visitors must be on to something...

page last uploaded: 27 July 2010, 21:40