Category Archives: Microsoft

Use VB6 to ping a remote computer

When your application makes connections to remote computers, it is usually a good idea to check to see if the remote machine is up and responding prior to attempting a connection to it. Pinging a machine is one way to do it. Visual Basic 6 doesn’t have a built in method to perform an ICMP echo request (ie,… Read More »

Joining Files with PowerShell

As a server administrator, one of my duties is to review log files for anomolous behavior, errors, or other issues. For me, combining all the daily logs into one big file is much easier to review.

PSMetrics Part 4: Basic Metrics Display in ASP

Welcome to the final piece of the puzzle: displaying our metrics. We now have a pile of bits in our database, and now it needs to be displayed in a meaningful way. As you may recall from the previous parts of this series, we first built a PowerShell script which gathers information from the local machine. Using the… Read More »

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.