All VBScript Code

16 hits, 2 pages | Prev | Next | Advanced Search

Title Posted On Description
Convert an IP Address to an Integer 2017-09-14

This is a pretty basic function which allows you to convert an IP address, which a string, into a long integer. But where would this be useful?

Create 5000 AD Users with VBScript 2013-10-25

From time to time, it might be required that large number of generic user account objects be created in an Active Directory domain.  Here is how to do it, quickly.

Create a System Restore Point with VBscript 2013-10-25

This handy little VBscript to create a system restore point can be encapsulated in a function, and can save you from yourself.

Create an AD User with VBScript 2017-09-19

There are are about one hundred different ways to create an Active Directory user, via one hundred different scripting languages. Here is a way to do it with VBScript.

Dump Database to Text Files 2016-04-24

I recently had a need write records from a database to text files, with one file per record. This post covers how I did it, with VBScript.

Dumping from a database, revisited 2017-03-19

Some time ago, a user named VB6Boy posted a handy little VBScript that dumps out records from a database table to a series of text files. The method works fine, but takes an exorbitant amount of time for large datasets. Can we do better?

Get a list of installed software 2017-09-23

It's always good to perform an inventory of workstations you might be responsible for. This doesn't mean just writing down make, model and serial number. You need a list of software installed on those machines as well.

GetDigits 2012-10-13 Ever wanted to grab all the digits out of a string? This handy little function will do it. Not sure what purpose this would server, but someone requested it, so here it is.
IsPrime 2011-12-31 This handy little vbscript function checks to see if a number is a primary number.
Join a Computer to a domain with VBScript 2013-10-21

When deploying large numbers of computers, there are several methods of joining a machine to a domain.  Since I am a big fan of VBScript (shhh!), I use this method to join the machine.

16 hits, 2 pages | Prev | Next | Advanced Search

Code Links