Scripting Blog [archived]

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

Hey, Scripting Guy! Can I Format a Portable Drive When It Is Inserted Into a Computer?

(image)   (image) Hey, Scripting Guy! I work with portable USB drives all the time. These are used for backup purposes, for temporary storage, for Sneakernet, and as a means to work with extremely large files that I do not want cluttering up the small hard disk drive on my corporate standard desktop. The problem is that I now have ...

Hey, Scripting Guy! Can I Be Informed When a Portable Drive Is Added by My Computer?

(image)   (image) Hey, Scripting Guy! I would love to be able to write a Windows PowerShell script that will inform me when a portable drive is added to my computer. Do you have ideas you could suggest? -- RC (image) Hello RC, Microsoft Scripting Guy Ed Wilson here. Well it has already been a rather interesting week. I bought a ...

Hey, Scripting Guy! How Can I Write an Event-Driven Script?

(image)   (image) Hey, Scripting Guy! I have a problem at work. It is not with the pointy-headed boss, but I believe the problem is probably related to him anyway. There is this application that runs on a workstation in our computer room. It is not a client server application, and of course the workstation is not really a ...