Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Get a List of User Accounts Created On Or Between Two Dates?

(image) Hey, Scripting Guy! How can I query Active Directory for a list of all the accounts that were created on or between two dates?-- PG (image) (image) (image) Hey, PG. You know, August is a propitious month for the Scripting Guys and this column: after all, today’s edition marks the beginning of the fourth year of Hey, Scripting Guy...

How Can I Play a Sound Each Time a Message Box is Displayed?

(image) Hey, Scripting Guy! I was using a script written by one of my colleagues, and I noticed that any time this script displayed a message box a sound was played as well. How can I play a sound each time I display a message box?-- KI (image) (image) (image) Hey, KI. You’ll have to give us a second here; the Scripting Guy who writes ...

How Can I Create a New Outlook Distribution List Based On the Membership of an Active Directory Group?

(image) Hey, Scripting Guy! How can I create a new Outlook distribution list based on the membership of an Active Directory group?-- HKM (image) (image) (image) Hey, HKM. Before we launch into today’s column we’d like to make a nomination for the Most Courageous Scripting Performance of the Year. With all due modesty, that would be ...