I'm surprised this isn't built in.. I had the hardest time finding how to convert ATOM time (found in many RSS feeds) to something human-readable. The cleanest solution I have found thus far is this: 1<?php 2$atomdate = "2006-04-22T10:00:00.000Z"; 3echo date("m.d.y", strtotime($atomdate)); 4?> …
Read MoreI have another blog that mentions random words like "daughter","school", "dirty", "bad", "dog", "herself", "year", "nasty" and "old." Until I started reviewing my HTTP referers, it never even occurred to me that nasty perverts …
Read MoreI released my first Wordpress plugin last night! It's a script that hides/unhides and slightly formats blocks of code. I use it heavily on this site. Here's an example: a.quickcode { padding-left: 20px; background: url('/wp-includes/images/quickcode.gif') no-repeat; } You can read more about the plugin here: QuickCode. …
Read MoreRecently my Exchange server got pounded by spammers that were attacking my NDR (non delivery report) capabilities. Turning off NDRs helped 75% and I explored Exchange quite a bit along the way to figure out that last 25%. It seems that I had 180 emails stuck in my queue. I was looking at my logs and ethereal and it …
Read MoreThis may only be useful for wscript.exe so it may not have universal appeal but I'll list it anyway. The first script is to be inserted at the top of the wscript file you'd like to monitor. The second file is to be run as a scheduled task. SQL Server is used to keep track of the PIDs. SQL Server Express is free so you …
Read MoreUpdate (2025): This post reflects a 2006-era approach using VBScript, WMI event subscriptions, and SQL Server for centralized logging. For modern environments, consider Windows Event Forwarding (WEF) to a Windows Event Collector, or forwarding to centralized platforms (e.g., Azure Monitor/Log Analytics, Splunk, …
Read MoreWindows, like Unix, has an "at" command. It's basically a command-line interface for Task Scheduler. I use it rather often but haven't memorized the syntax so I've decided to put it here in my blog. Note: The at command has been deprecated. For modern systems, it is recommended to use schtasks.exe or the …
Read MoreNote (2025): This post is from 2006 and references legacy macOS components like the Internet Connect app and cron. On modern macOS, Internet Connect is discontinued and launchd/LaunchAgents are the preferred way to schedule tasks. The original content is preserved for historical reference. This bandaid is mighty handy …
Read MoreThis code is part of a bigger project I'm working on. It checks the disk space for each logical drive and, if the space is below one gigabyte, reports it to Event Viewer at a max of once per day. '**************************************************************************** ' This script created by Chrissy LeMaire …
Read MoreFind IIS Servers on your domain (or with modifications, your subnet) using this script Note (2025): This is an archival VBScript from 2006 that relies on legacy technologies (ADSI and MSXML HTTP) and domain browsing via the WinNT provider. VBScript and these approaches are considered legacy on modern Windows and may be …
Read More