Scripting Blog [archived]

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

How Can I Configure an Active Directory Account So the Password Never Expires?

(image) Hey, Scripting Guy! How can I configure an Active Directory user account so that the account password never expires?-- BB(image) (image) (image) Hey, BB. Before we start we have a question for you: wouldn’t you agree that Catch-22 is one of the four greatest novels ever written? We ask that because, in his English class, the ...

How Can I Use Information in an Excel Spreadsheet to Rename a Set of Folders?

(image) Hey, Scripting Guy! How can I rename a bunch of folders using a script? The old folder names are in the first column of an Excel spreadsheet and the new folder names are in the second column of an Excel spreadsheet.-- SF(image) (image) (image) Hey, SF. Oh, and welcome to Hey, Scripting Guy!, your daily source for scripting ...

How Can I Delete Duplicate Items From an Array?

(image) Hey, Scripting Guy! How can I delete duplicate items from an array?-- WR(image) (image) (image) Hey, WR. You know, if Microsoft has a weakness – and we’re not saying that it does, we’re just saying if it does – it’s this: we never make mistakes. (What’s that? What about Windows ME? That’s a weird name; couldn’t ...