Scripting Blog [archived]

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

How Can I Force All the Users in an OU to Change Their Password the Next Time They Log On?

(image) Hey, Scripting Guy! How can I write a script that will force all the users in an OU to change their password the next time they log on?-- TH(image) (image) (image) Hey, TH. You know, you picked a bad day to ask a question; the Scripting Guy who writes this column is in an even worse mood than usual (difficult as that might be to ...

Hey, Scripting Guy! How Can I Determine the Home Directory For All the Disabled User Accounts in Active Directory?

(image) Hey, Scripting Guy! How can I determine the home directory for all the disabled user accounts in Active Directory?-- DB(image) (image) (image) Hey, DB. You know, it’s not like the Scripting Guy who writes this column is addicted to TV or anything, but last night he was watching TV (as usual) when he saw a brief feature on a new ...

How Can I Tack a Prefix Onto the Telephone Numbers of All the Users in My Domain?

(image) Hey, Scripting Guy! How can I tack a prefix onto the telephone numbers of all the users in my domain?-- JB(image) (image) (image) Hey, JB. It’s Monday morning as this column is being written, and the Scripting Guy who actually writes this column is still a bit tired from driving across the state and back in order to attend his ...