This script helped me configure an enterprise monitoring system. I created little events in the Windows event log and monitored the events using the syslog […]
Continue readingCategory: VBScript
Visual Basic Scripting Edition
Retrieve Model and Serial Number with VBScript
Simple script to retrieve information about a workstation or hardware. strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”) Set […]
Continue readingPass Parameters from a Windows Batch Script to VBScript
It can be very useful to pass parameters from a Windows Batch Script to VBScript. For this to work, a user will pass parameters to […]
Continue readingCall VBScript from a Windows Batch Script
This very easy bit of code will call a VBScript script from a Windows Batch Script: call script.vbs
Continue readingHow to Create a Shortcut with VBScript
This script came in handy when I needed to roll out a desktop shortcut to every employee at the company I work for. The script […]
Continue readingScheduling a Backup Job in Microsoft SQL 2005 Express Edition
SQL 2005 Express Edition does not offer a way to schedule jobs. The following steps outline a way to schedule jobs in SQL 2005 Express […]
Continue readingScript to Set a Proxy Server
This VBScript will set a user’s proxy on a Windows XP workstation. This is great for login scripts. The script will enable the proxy, set […]
Continue readingScript to Zip Log Files
This is a very simple VBScript that will zip all files and folders within a specified folder. This script is useful if you want to […]
Continue readingRead Each Line of a File with VBScript
A very useful script that will read each line of a text file and output the results. I use this for everything from reading log […]
Continue reading