Fileaze banner

 

WSH Examples (P*)

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

 

WSH Examples
Download the ZIPped sources Name Description Language Last modified (DD/MM/YYYY) Also available as: Remarks
JS VBS DOS batch NT batch Kix Perl Power
Shell
Rexx
Download the ZIPped sources 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.
Download the ZIPped sources PingU Notifies when a computer gets on-line   V 03/01/2006             CheckEngine subroutine by James Lim.
Download the ZIPped sources 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.
Download the ZIPped sources Print Print any file   V 20/01/2008   NT         Uses the file's associated print command from the registry.
Download the ZIPped sources PrintDoc Print the specified MS Word document to the default printer   V 09/06/2008             Based on a script by Arnout van der Vorst.
Download the ZIPped sources 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.
Download the ZIPped sources 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.
Download the ZIPped sources ProdID Display Windows' product ID   V 30/11/2002   NT K        
Download the ZIPped sources ProgIDs Display all available ProgIDs   V 15/03/2007             Based on a PowerShell script on www.readify.net
Download the ZIPped sources PWGen Generate random complex passwords of a specified length   V 02/01/2008             Uses CAPICOM
Download the ZIPped sources 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.