Winscripter
  WSH
  Forums
  Downloads
  Books
  Links
  Amazon





© winscripter.com
1998-2004







System

Script: Defrag your Hard Drive
Posted by Daren on Friday, December 24, 2004 (PST)
Script: Dan Casier sent me this script to automate defragging your hard drive. Good example of using WSH to control another application through AppActivate and SendKeys.

(Read More...   1 comments)

Script: Determines Current Service Pack by Reading the Registry
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Reads registry to determine the current installed service pack.

(Read More...   0 comments)

Script: Removes "I Love You Virus" From a Machine
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Removes I love your virus. Submitted by Nathan Hartley

(Read More...   1 comments)

Script: Create HTML Page of Free Space on Each Drive
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Creates an HTML page which shows the total drive space, free space, and used space.

(Read More...   6 comments)

Script: Find the Path of Winzip
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Determines the path of Winzip on a system by reading the registry. Example of using WSH to read the registry.

(Read More...   0 comments)

Script: Create HTML Page of Environment Variables
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Creates an HTML file that displays the SYSTEM, USER, and PROCESS environment variables. Creates a table for each collection.

(Read More...   0 comments)

Script: Execute a DOS Program
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Demonstrates how to execute a shell command from WSH. Uses the WScript.Shell Object and the Run Method.

(Read More...   2 comments)

Script: Change CPU Identifier in Registry
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Changes CPU Identifier value stored in the system registry. Primarily used to fool certain software into loading on non Intel based systems.

(Read More...   0 comments)

Script: Display CPU Identifier
Posted by Daren on Monday, January 19, 2004 (PST)
Script: Reads registry key of the CPU identifier and displays it.

(Read More...   0 comments)

Script: Get the version of the installed script engine
Posted by Daren on Friday, January 16, 2004 (PST)
Prints out the major, minor, and build versions of the installed script engines.

(Read More...   0 comments)



WSH and ADSI Administrative Scripting

New Articles
  • List installed COM objects and associated ProgIDs
    Script: Lists all COM Objects and their associated ProgIDs (If available). Win32_ClassicCOMClassSetting

  • Script: File Rotator
    Script: Rotate files where the most current file has the lowest number in the archive. When files exceed the retention period, they are deleted. Typically used for log files, backups, etc..

  • Script: Create IIS Website and DNS record
    Script: Dan Casier sent me this script that will create a website and appropriate DNS record. The script is intended for Windows 2000 Server with local DNS and necessary DNS mof installed.


  • Winscripter   |  WSH   |  Forums   |  Downloads   |  Books   |  Links   |  Amazon