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

Perform a Forward and Reverse DNS Lookup in VBScript – DNSLookup – ReverseDNSLookup – IsIP

Necessity is the mother of invention as they say. Today I had to write a couple of scripts to translate DNS names into IP addresses and vice versa. Since there is no easy way to do this in VBScript, I whipped up two (well three) quick little functions that use the nslookup command to preform … Read morePerform a Forward and Reverse DNS Lookup in VBScript – DNSLookup – ReverseDNSLookup – IsIP