Category Archives: Microsoft

PSMetrics Part 2: PowerShell Collector

Welcome back for part 2 of the series. In this post, I’ll be putting together a simple collector script with PowerShell for gathering metrics on a Windows host, and sending the data to the ingestor.

Dump Database to Text Files

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. This project was actually part of a much larger project, which in reality was one of those “Let’s see if I can do it” type of projects. It turned out successful,… Read More »

Resolving hostnames and IP Addresses with VB6

Some time ago, I wrote an app that required the ability to resolve hostnames to IP Addresses, and vice versa.  After some searching around, I found this gem. I don’t recall exactly where I found it, but this little chunk of code has served me well, lo these many years.  It contains two functions: The functions do exactly… Read More »