Scripting Blog [archived]

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

How Can I Create a Logon Script That Will Open a User’s Mapped Drives?

(image) Hey, Scripting Guy! How can I create a logon script that will open a user’s mapped drives?-- KZ(image) (image) (image) Hey, KZ. You know, a lot of people think we decided to write this column because we wanted yet another way to tell people about scripting. That’s partially true; however, another reason there’s a Hey, ...

How Can I Map Network Drives Based on a Computer’s Site?

(image) Hey, Scripting Guy! How can I parse information in a text file, and then use that information to map network drives based on a computer’s site?-- BH(image) (image) (image) Hey, BH. We’ll be with you in a second - we’re still replaying last night’s baseball game, in which the Kirkland Fire dropped a tough 7-5 decision to a ...

How Can I Determine When a Removable Drive Gets Connected?

(image) Hey, Scripting Guy! How can I determine when a USB flash drive gets connected?-- PS(image) (image) (image) Hey, PS. OK, we admit it: the Scripting Guys are lazy. (Especially on a Friday, which is the day when we have to write our Monday column.) There might be a way to monitor specifically for the insertion of a USB flash drive; ...

How Can I Determine Which Users are Using the Most Disk Space on a Drive?

(image) Hey, Scripting Guy! How can I determine which users are using the most disk space on a drive?-- PW(image) (image) (image) Hey, PW. Interesting question. In theory, you could probably do this by retrieving a collection of all the files on a drive, checking the owner, determining the file size, and then keeping a running tally of the...