Dave Roth


Dave Roth is the author of several Win32 Perl extensions, including Win32::AdminMisc, Win32::ODBC, Win32::Daemon, and Win32::Perms. His most recent book is Win32 Perl Programming: The Standard Extensions, 2nd edition (New Riders Publishing/Macmillan Technical Publishing).

Find Email Accounts in AD
Keeping track of multiple email accounts for a single user can be tricky. Here's a script that leverages Perl and Active Directory to locate the Exchange users' addresses you want.
Validate File Extensions 1
Run this script to find orphaned file-extension mappings that might point to viruses, malware, or other file-deletion problems.
The 64-Bit Wildcard 1
If you run a 32-bit version of Perl.exe on an x64 machine, this article’s script will see only the 32-bit part of the registry and its output might be a bit misleading.
A Hassle-Free Way to Read Hex Dumps 1
If you've worked with hexadecimal dumps, you know that they're a strain on not only your eyes but also your time. Fortunately, you can use HexDump.pl to eliminate this tedious task.
Locating Email Accounts in AD 5
Administrators often create multiple email accounts for one user. How do you keep track of them? Here's a script that leverages Perl and AD to locate the addresses you want.
Capture the Clipboard’s Contents
With the Win32::Clipboard extension, you can eliminate the time-consuming task of copying and pasting data into input files for scripts.
Query IGD Port Maps
With Universal Plug and Play’s programmatic-configuration convenience comes an added burden of monitoring who or what might be changing your Internet Gateway Device (IGD) settings. QueryPortMap.pl makes the job easy.
Universal Plug and Play
Before tackling Universal Plug and Play (UPnP) programming, research how the architecture works.
Detect Directory Differences
Here’s a script that you can use to compare the files in two directories.
Event Response on the Cheap
You might not know it, but Windows offers system components that let you easily write code to enable event response. Check out this WMI solution.
“Not Enough Memory” Pop-Ups Plaguing Your PC?
Does your PC often pop up a window with a message that says you don’t have enough memory available on your hard disk? If so, here’s a Perl script that can help you avoid these irritating messages.
How to Script In-Your-Face Alerts 6
Here’s a script that you can use to monitor remote machines on a network. It also demonstrates how a Perl script can interact with the taskbar status area to provide an alert you can’t ignore.
Scripting Windows Media Services 101 4
With the recent revamping of WMS, more companies are beginning to take advantage of streaming media. Here’s an introduction to streaming media, WMS, and how to manage WMS with Perl scripts.
Rem: Running Software That’s Not Installed Locally
With DCOM, you can use applications that aren’t installed on your machine. However, this practice can be dangerous.
Prioritize Your Perl Scripts
Use this code to prevent CPU-intensive applications from bringing other processes to a crawl.
Azure Master Class

Azure Master Class with John Savill
Live Online Training: Thursdays August 10th to August 31st
Register by August 3rd and Save 20%!

Every organization is currently evaluating how they can utilize the public cloud, what it means, and how to actually get started. This 12 session Master Class will equip you with everything you need to understand, evaluate, deploy and maintain environments that utilize Microsoft Azure including hybrid scenarios.


Join the Conversation

Sponsored Introduction Continue on to (or wait seconds) ×