Create a Strong Random Password with VBScript

I had been using a simple script to create an alpha numeric password that was all lower case for quite some time. Recently though I decided to give the old password creation function an overhaul since the old password creation function was very weak. This new function will create a new string that is alpha … Read moreCreate a Strong Random Password with VBScript

IISChangeIP.vbs – Mass IP Address Change and Configuration Tool For IIS

I was recently tasked with changing the IP address for the host headers of an IIS 5 machine. This is a pretty common task as machines are physically relocated; sites are moved from IP to IP address or network to network. Although this task is simplistic and pretty straight forward to do through the IIS … Read moreIISChangeIP.vbs – Mass IP Address Change and Configuration Tool For IIS

Local User and Group Management with VBScript and ADSI

User management for Windows machines can be complicated and convoluted sometimes. Because pretty much everything I do is to make life easier for me, I decided to write some basic functions that can reliably add, delete, change passwords and simply check to see if a particular user exists. I had a couple of requirements when … Read moreLocal User and Group Management with VBScript and ADSI

Check Which VBScript Interpreter You Are Executing Your Script With

VBScript is a great language for management of Windows servers and desktops. The fact that Windows has built in interpreters for it makes it a really handy language for everything from gathering data to managing users to installing applications. One cool feature about VBScript is that Windows has 2 built in interpreters. One is called … Read moreCheck Which VBScript Interpreter You Are Executing Your Script With

MSSQL 2005 Database Mirroring With Certificates

For the last week or so I have struggled to get database mirroring with failover (failover being a witness machine) working as advertised from Microsoft. After struggling with error messages like this for the past few days:

I finally broke down and called Microsoft and opened up a new case. After 10 hours (yes … Read moreMSSQL 2005 Database Mirroring With Certificates

GetXML Function – Send and Retrieve XML in ASP or VBScript

XML data sources are more and more important today. From RSS feeds to SOAP to eCommerce based applications. The ability to send and retrieve XML from a web application can be critical. Thankfully ASP has the ability to read from an HTTP data stream via a COM object from Microsoft called “ServerXMLHTTP” which facilitates the … Read moreGetXML Function – Send and Retrieve XML in ASP or VBScript

VBScript Includes – How to Add an Existing Script with a Simple Include Statement

In ASP there is a really easy way to include existing files in your scripts. There is a simple “include file” or “include virtual” statement you can use to add functionality that is in other files that you have written. Well there was really no equivalent functionality in VBScript until VBScript 5.0 was released. When … Read moreVBScript Includes – How to Add an Existing Script with a Simple Include Statement

Counting and Sorting Occurrences of a String in SQL

This particular function will count the number of occurrences of a string within a SQL column. I can’t really take credit for this particular SQL function, I actually found it in an obscure post on SQL-Server-Performance.com. But I thought the usefulness of it so great that I’d post and share it. The advantage of this … Read moreCounting and Sorting Occurrences of a String in SQL