.NET Syntax Highlighter

My old website had an online syntax highlighter tool. I’ve since migrated to WordPress and I’m no longer able to host this tool. I’m posting the source code used instead - there are probably more sophisticated options available, but hopefully someone will find this useful! Use the FormatCode method …

Continue reading →

Update User Attributes from CSV File

Update active directory user attributes from a CSV File. (See Notes section for additional information and instructions) Notes This script can be used to update Active Directory User attributes from a CSV file. One column in the CSV file is used to match rows in the CSV file to user accounts in …

Continue reading →

SQL Server Database Restore Utility

This script is a simple utility to allow users to restore SQL Server databases. It’s easier to use for non-DBAs and it provides a method of restoring databases when the management tools are not installed. It’s a good demonstration of a HTA application, but it’s not a intended as a replacement for …

Continue reading →

Computer Information Tool - HTA Script

Collects WMI information about a specified computer and displays a formatted HTML report. Also allows you to monitor and terminate running processes, connect to shares on the remote computer and shutdown/reboot the remote computer. Don’t be put off by the amount of code - just save the script as a …

Continue reading →

Drive Space Report

Display a drive space report for multiple computers. This HTA can check the drives of multiple computers and produce a HTML report that will highlight any drives that are low on free space. The HTA also generates a CSV version of the report. The Drive Space Report is a GUI script that allows you to …

Continue reading →

Extract User Data To a CSV File

Extract user data from Active Directory to a CSV file. By default all users in the domain will be exported with attributes from the “General” page in ADU&C. The script is easy to modify if different criteria is required. See the “Setup” section to change criteria.

Continue reading →