Scripting Blog [archived]

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

How Can I Count the Number of Users in a Group?

(image) Hey, Scripting Guy! How can I count the number of users in an Active Directory group?-- TP(image) (image) (image) Hey, TP. You know, it’s our sad duty to confirm that the reports currently sweeping the Internet are true. Without wishing to alarm anyone, we must admit that one of the Around the World With Dr. Scripto Bobblehead ...

How Can I Get the GUID for a User Account If All I Have is the User’s Logon Name and Domain?

(image) Hey, Scripting Guy! How can I get the GUID for a user account if all I know is the user’s logon name and domain?-- IU (image) (image) (image) Hey, IU. You know, one of the great things about the Scripting Guy who writes this column is – well, OK, right off the top of our head we can’t think of any great things about the ...

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 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 ...

How Can I Change the Local Administrator Password on All My Computers?

(image) Hey, Scripting Guy! How can I change the local Administrator password on all the computers in my domain?-- AO (image) (image) (image) Hey, AO. You know, according to the now-classic cartoon punch-line, “on the Internet, no one knows if you’re a dog.” To be perfectly honest, the Scripting Guy who writes this column doesn’t ...