Category Archives: Microsoft

PowerShell Support Matrix

Do you have trouble remember which operating system supports what version of PowerShell? This little cheat sheet will give you hand with that.

Stop Service and Wait

Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on every reboot or can be run manually to reboot.

Download website html code with VB6

In ancient Greek religion and Greek mythology, Demeter is the goddess of the harvest. This code sample demonstrates how to harvest the headers and html code of a web site via VB6. The code presented here shows how to download the header information and html code from a web site, and save that data to text file. In… Read More »

String Functions Module

I’ve put together a few string handling functions in a module that I’ve found useful over of the years, and thought I would share them here so that others might find them useful. Attached to this post is a zip file containing the module, which you simple have to extract and attach to your VB6 project. Below is… Read More »

Speed Optimization Using Arrays

I was recently given a small programming challenge by a friend, which entailed splitting a text file into multiple text files, based on word length. I got run time down to 11 seconds. Can you do better? The text file in question is a listing of dictionary words, A through Z, containing a total of 234,936 words. The… Read More »

Retrieving System Uptime

As a part of monitoring your environment, you will need to watch the uptime of your systems. There are a couple different ways to do this. The first way, and my preferred way to monitor uptime, is to “watch” a server or workstation from another or many other locations. A simple ping to the device and storing the… Read More »

Get a list of installed software

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. Using VBScript, you can easily get a list of the installed software on a local or remote workstation, along with other… Read More »